Share via


DDHAL Structures (Windows CE 5.0)

Send Feedback

Initialize the memory for all Microsoft DirectX® structures to 0 before using the structure. In addition, set the member to the size of the structure, in bytes, before using any structure that contains a dwSize member. The following code example shows how to performs these tasks on a common structure, DDCORECAPS.

DDCORECAPS ddcorecaps; // Can't use this yet.
ZeroMemory(&ddcorecaps, sizeof(ddcorecaps));
ddcorecaps.dwSize = sizeof(ddcorecaps);
// Now the structure can be used.

This section contains link to the Microsoft® DirectDraw® hardware abstraction layer (DDHAL) structures.

In This Section

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.