IDirectDrawMediaStream::GetDirectDraw
Microsoft DirectShow 9.0 |
IDirectDrawMediaStream::GetDirectDraw
- Note This interface is deprecated. New applications should not use it.
Retrieves a pointer to the DirectDraw object used by the current media stream.
Syntax
HRESULT GetDirectDraw( IDirectDraw **ppDirectDraw );
Parameters
ppDirectDraw
[out] Address of a pointer to an IDirectDraw interface that will contain the current media stream's associated DirectDraw object.
Return Values
Returns S_OK if successful or E_POINTER if the parameter is invalid.
Remarks
If you haven't initialized the stream yet, the retrieved pointer will be NULL and the method will return S_OK. If you have initialized the stream, this method increments the retrieved pointer's reference count.
See Also