Share via


CLoadDirectDraw Class

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Aa919596.72396b4c-e1e6-4fe2-9387-5b5a105da3df(en-us,MSDN.10).gif

DirectShow must work on multiple platforms. The filters therefore cannot link statically to the Microsoft DirectDraw® library.

To make the platform dependencies easier to handle, this class manages loading and unloading the library and creating the initial IDirectDraw interface.

Member Functions

Member function Description

CLoadDirectDraw

Constructs a CLoadDirectDraw object.

GetDirectDraw

Retrieves a pointer to the IDirectDraw interface.

IsDirectDrawLoaded

Verifies that DirectDraw is loaded.

IsDirectDrawVersion1

Checks the version of DirectDraw installed on the current system.

LoadDirectDraw

Loads and initializes the DirectDraw library.

ReleaseDirectDraw

Releases the IDirectDraw interface.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment