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.
Methods
The IVMRSurface9 interface has these methods.
| Method | Description |
|---|---|
| IVMRSurface9::GetSurface | The GetSurface method retrieves the attached Direct3D surface. |
| IVMRSurface9::IsSurfaceLocked | The IsSurfaceLocked method indicates whether the Direct3D surface attached to this media sample is locked. |
| IVMRSurface9::LockSurface | The LockSurface method locks the attached Direct3D surface. |
| IVMRSurface9::UnlockSurface | The UnlockSurface method unlocks the attached Direct3D surface. |
Remarks
Include DShow.h and D3d9.h before Vmr9.h.
Requirements
| Minimum supported client | Windows XP with SP2 [desktop apps only] |
| Minimum supported server | Windows Server 2003 R2 [desktop apps only] |
| Target Platform | Windows |
| Header | vmr9.h |