Compartilhar via


CLoadDirectDraw::IsDirectDrawVersion1 (Compact 2013)

3/26/2014

Checks the version of DirectDraw installed on the current system.

Syntax

BOOL IsDirectDrawVersion1(void);

Parameters

None.

Return Value

Returns TRUE if the installed version of DirectDraw does not 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.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CLoadDirectDraw Class