Microsoft DirectX 8.1 (C++)

CLoadDirectDraw::IsDirectDrawVersion1

Checks the version of DirectDraw installed on the current system.

Syntax

BOOL IsDirectDrawVersion1(void);

Return Value

Returns TRUE if the installed version of DirectDraw doesn't support the IDirectDraw2 interface, or FALSE if the m_pDirectDraw data member is NULL or the installed version of DirectDraw supports IDirectDraw2.

Remarks

The video renderer must know what the installed version of DirectDraw is to perform certain tasks, such as full-screen playback, which the IDirectDraw2 interface supports.

See Also