다음을 통해 공유


IDirectDrawVideo::GetDirectDraw

 
Microsoft DirectShow 9.0

IDirectDrawVideo::GetDirectDraw

The GetDirectDraw method retrieves the IDirectDraw interface.

Syntax

  HRESULT GetDirectDraw(
  LPDIRECTDRAW *ppDirectDraw
);

Parameters

ppDirectDraw

Address of a pointer to the IDirectDraw interface.

Return Values

Returns an HRESULT value.

Remarks

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.

Requirements

Header: Declared in Amvideo.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also