Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IMediaSample2Config::GetSurface method

The GetSurface method returns a pointer to the Direct3D surface managed by this media sample.

Syntax


HRESULT GetSurface(
  [out]  IUnknown **ppDirect3DSurface9
);

Parameters

ppDirect3DSurface9 [out]

Receives a pointer to the IUnknown interface of the Direct3D surface. The caller must release the interface.

Return value

Returns an HRESULT value. Possible values include the following.

Return codeDescription
S_OK

Success.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IMediaSample2Config Interface

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.