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 you use the structure. The following example performs those tasks on an object of type DDCAPS_DX3:
DDCAPS_DX3 ddcaps; // You can't use this yet.
ZeroMemory(&ddcaps, sizeof(DDCAPS_DX3));
ddcaps.dwSize = sizeof(DDCAPS_DX3);
// Now you can use the structure.
...
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla