Microsoft DirectX 9.0

Access to DirectDraw Surfaces

The Media Sample objects provided by the VMR to upstream filters support the IVMRSurface interface. To obtain the interface, call QueryInterface on the IMediaSample interface and specify IID_IVMRSurface. Upstream filters can then use the IVMRSurface methods to access and manipulate the surface that has been created by the VMR.