IDirectDraw (Windows Embedded CE 6.0)

1/6/2010

Applications use the methods of the IDirectDraw interface to create DirectDraw objects and work with system-level variables. For a conceptual overview, see DirectDraw in the Graphics and Multimedia guide.

The methods of the IDirectDraw interface are organized into the following groups:

Cooperative levels

IDirectDraw::SetCooperativeLevel

 

IDirectDraw::TestCooperativeLevel

Creating objects

IDirectDraw::CreateClipper

 

IDirectDraw::CreateSurface

Device capabilities

IDirectDraw::GetCaps

 

IDirectDraw::GetDeviceIdentifier

Display modes

IDirectDraw::EnumDisplayModes

 

IDirectDraw::GetDisplayMode

 

IDirectDraw::GetMonitorFrequency

 

IDirectDraw::RestoreDisplayMode

 

IDirectDraw::SetDisplayMode

 

IDirectDraw::WaitForVerticalBlank

Display status

IDirectDraw::GetScanLine

 

IDirectDraw::GetVerticalBlankStatus

Miscellaneous

IDirectDraw::GetAvailableVidMem

 

IDirectDraw::GetFourCCCodes

Surface management

IDirectDraw::EnumSurfaces

 

IDirectDraw::FlipToGDISurface

 

IDirectDraw::GetGDISurface

 

IDirectDraw::GetSurfaceFromDC

 

IDirectDraw::RestoreAllSurfaces

The IDirectDraw interface, like all COM interfaces, inherits the IUnknown interface methods.

The IUnknown interface supports the following three methods:

IUnknown

IUnknown::AddRef

 

IUnknown::QueryInterface

 

IUnknown::Release

The IDirectDraw::Initialize method is not supported in Windows Embedded CE.

You can use the LPDIRECTDRAW to declare a variable that contains a pointer to an IDirectDraw interface. The Ddraw.h header file declares this data type with the following code.

typedef struct IDirectDraw*LPDIRECTDRAW;

Requirements

Header ddraw.h
Library ddraw.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

DirectDraw Interfaces