Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| Microsoft DirectShow 9.0 | 
IMediaSample2Config::GetSurface
The GetSurface method returns a pointer to the Direct3D surface managed by this media sample.
Syntax
HRESULT GetSurface( IUnknown **ppDirect3DSurface9 );
Parameters
ppDirect3DSurface9
[out] Receives a pointer to the IUnknown interface of the Direct3D surface. The caller must release the interface.
Return Values
Returns an HRESULT value. Possible values include the following.
| Return code | Description | 
| S_OK | Success. | 
Requirements
Header: Declared in Strmif.h; include Dshow.h.
Library: Use Strmiids.lib.
See Also