Compartir a través de


IMediaSample2Config Interface

 
Microsoft DirectShow 9.0

IMediaSample2Config Interface

This topic applies to Windows Vista.

The IMediaSample2Config interface returns a pointer to a Direct3D surface representing a VRAM capture buffer.

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

Method Description
GetSurface Returns a pointer to the Direct3D surface manages by this media sample.

Requirements

If a display driver supports VRAM capture, the KsProxy filter allocates samples that expose this interface. Downstream filters can use this interface to access the video data in video memory, without requiring the data to be copied into system memory. The display driver must support the Windows Vista Display Driver Model (WDDM).

Requirements

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

Library: Use Strmiids.lib.

See Also