IDirectDraw

Windows Mobile 6.5
A version of this page is also available for
4/8/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;

Headerddraw.h
Libraryddraw.lib
Windows Embedded CEWindows Embedded CE 6.0 and later
Windows MobilePocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

Community Additions

Show: