DirectDraw Structures
This section contains information about the following structures used with DirectDraw:
- DDBLTBATCH
- DDBLTFX
- DDCAPS
- DDCOLORCONTROL
- DDCOLORKEY
- DDDEVICEIDENTIFIER2
- DDGAMMARAMP
- DDOVERLAYFX
- DDPIXELFORMAT
- DDSCAPS
- DDSCAPS2
- DDSURFACEDESC
- DDSURFACEDESC2
Note You should initialize the memory for each DirectX structure to 0 before you use the structure. In addition, for all structures that contain a dwSize member, you should set the member to the size of the structure, in bytes, before the structure is used. The following example performs these tasks on a common structure, DDCAPS:
DDCAPS ddcaps; // You cannot use this yet. ZeroMemory(&ddcaps, sizeof(DDCAPS)); ddcaps.dwSize = sizeof(DDCAPS); // Now you can use the structure. . .
Show: