IDirectDrawMediaSampleAllocator::GetDirectDraw
Microsoft DirectShow 9.0 |
IDirectDrawMediaSampleAllocator::GetDirectDraw
The GetDirectDraw method retrieves a pointer to the DirectDraw instance used to allocate surfaces.
Syntax
HRESULT GetDirectDraw( IDirectDraw **ppDirectDraw );
Parameters
ppDirectDraw
[out] Address of a pointer that receives the DirectDraw object's IDirectDraw interface.
Return Values
Returns an HRESULT value.
Remarks
The caller should release the returned IDirectDraw pointer, except when calling the Overlay Mixerfilter's implementation of this interface.
Requirements
Header: Include Amstream.h.
Library: Use Strmiids.lib.
See Also