Microsoft DirectX 8.1 (C++)

IVMRSurfaceAllocator::AdviseNotify

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

The AdviseNotify method is called by the VMR to provide the allocator-presenter with an interface pointer for notification callbacks.

Syntax

HRESULT AdviseNotify(
  IVMRSurfaceAllocatorNotify*  lpIVMRSurfAllocNotify
);

Parameters

lpIVMRSurfAllocNotify

[in]  Specifies the IVMRSurfaceAllocatorNotify interface pointer that the allocator-presenter will use to pass notifications back to the VMR.

Return Values

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

See Also