Microsoft DirectX 9.0

IVMRSurfaceAllocatorNotify9 Interface

The IVMRSurfaceAllocatorNotify9 interface is implemented by the Video Mixing Renderer Filter 9 (VMR-9). Applications use this interface to set a custom allocator-presenter and the allocator-presenter uses this interface to inform the VMR of changes to the system environment that affect the Direct3D surfaces.

In addition to the methods inherited from IUnknown, the IVMRSurfaceAllocatorNotify9 interface exposes the following methods.

Method Description
AdviseSurfaceAllocator Called by an application to instruct the VMR to use a custom allocator-presenter.
AllocateSurfaceHelper Allocates a Direct3D surface based on specified parameters.
ChangeD3DDevice Notifies the VMR that the Direct3D playback device has changed.
NotifyEvent Called by the allocator-presenter to inform the VMR of any significant DirectShow events during the allocation or presentation processes.
SetD3DDevice Sets the initial Direct3D device and monitor to be used for video playback.

Requirements

Include D3d9.h, Vmr9.h.