Microsoft DirectX 8.1 (C++)

IVMRSurfaceAllocatorNotify::NotifyEvent

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The NotifyEvent method is called by the allocator-presenter to inform the VMR of any significant events during the allocation or presentation processes.

Syntax

HRESULT NotifyEvent(
  LONG  EventCode,
  LONG_PTR  Param1,
  LONG_PTR  Param2
);

Parameters

EventCode

[in]  Specifies the event code.

Param1

[in]  Specifies Param1 of the event code.

Param2

[in]  Specifies Param2 of the event code.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

The VMR provides the allocator-presenter with a pointer to this interface in a call to IVMRSurfaceAllocator::AdviseNotify.

See Also