Share via


CLoadDirectDraw::GetDirectDraw (Compact 2013)

3/26/2014

Retrieves the DirectDraw interface.

Syntax

LPDIRECTDRAW GetDirectDraw(void);

Parameters

None.

Return Value

Returns a pointer to the IDirectDraw interface.

Remarks

Call CLoadDirectDraw::LoadDirectDraw before calling this member function and call the CLoadDirectDraw::ReleaseDirectDraw member function to release the interface when you are done.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CLoadDirectDraw Class