Compartir a través de


CLoadDirectDraw Class (Compact 2013)

3/26/2014

CLoadDirectDraw Class

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

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

DirectShow Classes