Microsoft DirectX 8.1 (C++)

CLoadDirectDraw Class

Microsoft® DirectShow® must work on multiple platforms; in particular, it also runs on Microsoft Windows NT® 3.51, which does not have DirectDraw® capabilities. The filters therefore cannot link statically to the 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

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.