Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following topics contain information about the following structures used with DirectDraw.
Programming element | Description |
---|---|
DDALPHABLTFX | This structure passed details about blit operations to the IDirectDrawSurface5::AlphaBlt method. |
DDBLTFX | This structure passes raster operations, effects, and override information to the IDirectDrawSurface5::Blt method. |
DDCAPS | This structure represents the capabilities of the hardware exposed through the DirectDraw object. |
DDCOLORCONTROL | This structure defines the color controls associated with a DirectDrawVideoPort object, an overlay surface, or a primary surface. |
DDCOLORKEY | This structure describes a source color key, destination color key, or color space. |
DDOVERLAYFX | This structure passes override information to the IDirectDrawSurface5::UpdateOverlay method. |
DDPIXELFORMAT | This structure describes the pixel format of a DirectDrawSurface object for the IDirectDrawSurface5::GetPixelFormat method. |
DDSCAPS | This structure defines the capabilities of a DirectDrawSurface object. |
DDSCAPS2 | This structure defines the capabilities of a DirectDrawSurface object. |
DDSCAPSEX | This structure contains the extended surface capabilities as defined by the application. |
DDSURFACEDESC | This structure contains a description of a surface. This structure is passed to the IDirectDraw2::CreateSurface method. |
DDSURFACEDESC2 | This structure contains a description of a surface. This structure is used to pass surface parameters to the IDirectDraw4::CreateSurface and IDirectDrawSurface5::SetSurfaceDesc methods. |
DDVIDEOPORTBANDWIDTH | This structure describes the bandwidth characteristics of an overlay surface when used with a particular video port and pixel format configuration. |
DDVIDEOPORTCAPS | This structure describes the capabilities and alignment restrictions of a video port. |
DDVIDEOPORTCONNECT | This structure describes a video port connection. |
DDVIDEOPORTDESC | This structure describes a video-port object to be created. |
DDVIDEOPORTINFO | This structure describes the transfer of video data to a surface. |
DDVIDEOPORTSTATUS | This structure describes the status of a video-port object. |
**Note **The memory for all DirectX structures should be initialized to zero before use. In addition, all structures that contain a dwSize member should set the member to the size of the structure, in bytes, before use.
DDCAPS ddcaps; // Cannot use this yet.
ZeroMemory(&ddcaps, sizeof(DDCAPS));
ddcaps.dwSize = sizeof(DDCAPS);
// Now the structure can be used.
See Also
Send Feedback on this topic to the authors