Microsoft DirectX 9.0

IVMRSurfaceAllocator::AdviseNotify

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