|Microsoft DirectShow 9.0|
The GetDirectDraw method retrieves the IDirectDraw interface.
HRESULT GetDirectDraw( LPDIRECTDRAW *ppDirectDraw );
Address of a pointer to the IDirectDraw interface.
Returns an HRESULT value.
If an application wants to load DirectDraw but allow the renderer to also allocate surfaces, it can let the renderer load DirectDraw and then obtain a reference-incremented interface to it through this method. The interface returned should be released by the application when it is finished with it.
Header: Declared in Amvideo.h; include Dshow.h.
Library: Use Strmiids.lib.