Partager via


buildDDHALInfo (Windows Embedded CE 6.0)

1/6/2010

This function sets up the global variables that DDGPE requires. The buildDDHALInfo function then populates the specified DDHALINFO structure with the appropriate DirectDraw callbacks, caps, and other driver-specific parameters. These are filled out both at initialization time and during mode changes.

Syntax

EXTERN_C BOOL buildDDHALInfo(
  LPDDHALINFO lpddhi,
  DWORD modeIndex 
);

Parameters

  • lpddhi
    A pointer to a DDHALINFO structure that should be populated with the appropriate settings.
  • modeIndex
    A DWORD indicating the current mode.

Return Value

None.

Remarks

For more information on buildDDHALInfo and setting up the DDHALINFO structure, see the DirectDraw hardware abstraction layer (DDHAL) specification in the DirectDraw driver documentation.

Requirements

Header ddraw.h, ddrawi.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

DDHALINFO

Concepts

Required Functions