Compartir a través de


IVMRSurface Interface

 
Microsoft DirectShow 9.0

IVMRSurface Interface

The IVMRSurface interface is implemented on the media samples used by the Video Mixing Renderer Filter 7 (VMR-7). 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 IVMRSurface interface exposes the following methods:

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

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.