Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Applications use the methods of the IDirectDrawinterface to create DirectDrawobjects and work with system-level variables. For a conceptual overview, see DirectDraw in the Graphics and Multimedia guide.
The methods of the IDirectDrawinterface are organized into the following groups:
Cooperative levels |
|
|
|
Creating objects |
|
|
|
Device capabilities |
|
|
|
Display modes |
|
|
|
|
|
|
|
|
|
|
|
Display status |
|
|
|
Miscellaneous |
|
|
|
Surface management |
|
|
|
|
|
|
|
|
The IDirectDrawinterface, like all COM interfaces, inherits the IUnknowninterface methods.
The IUnknowninterface supports the following three methods:
IUnknown |
|
|
|
|
The IDirectDraw::Initializemethod is not supported in Windows Embedded CE.
You can use the LPDIRECTDRAWto declare a variable that contains a pointer to an IDirectDrawinterface. The Ddraw.h header file declares this data type with the following code.
Copy Code | |
---|---|
typedef struct IDirectDraw*LPDIRECTDRAW; |
Requirements
Header | ddraw.h |
Library | ddraw.lib |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later |