Microsoft DirectX 9.0

IVMRSurfaceAllocator9::AdviseNotify

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

Syntax

HRESULT AdviseNotify(
  IVMRSurfaceAllocatorNotify9*  lpIVMRSurfAllocNotify
);

Parameters

lpIVMRSurfAllocNotify

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

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Value Description
S_OK The method succeeded.

Requirements

Include D3d9.h, Vmr9.h.

See Also