IVMRSurface9 Interface
Microsoft DirectShow 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 Direct3D 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 Direct3D 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
Header: Include D3d9.h, Vmr9.h.
Library: Use Strmiids.lib.