Microsoft DirectX 9.0

IVMRSurface9 Interface

The IVMRSurface9 interface is implemented on the media samples used by the Video Mixing Renderer Filter 9. Filters can use this interface to access the underlying DirectDraw surface on which the media sample is based. Filters must always lock and unlock the surface using the methods available on this interface. Filters must never call lock or unlock directly on the DirectDraw surface interface returned from the GetSurface method. Applications do not use this interface.

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

Method Description
GetSurface Retrieves the attached Direct3D surface interface.
IsSurfaceLocked Indicates whether the Direct3D surface attached to this media sample is locked.
LockSurface Locks the attached Direct3D surface.
UnlockSurface Unlocks the attached Direct3D surface.

Requirements

Include D3d9.h, Vmr9.h.