Поделиться через


DDHALINFO (Windows Embedded CE 6.0)

1/6/2010

This structure collects all the information needed to create an instance of your driver. It is filled out in buildDDHALInfo16 and buildDDHALInfo32 and contains all the unchanging function names and capabilities of this hardware and driver.

Syntax

typedef struct _DDHALINFO {
  DWORD dwSize;
  DWORD dwFlags;
  LPDDHAL_DDCALLBACKS lpDDCallbacks;
  LPDDHAL_DDSURFACECALLBACKS lpDDSurfaceCallbacks;
  LPDDHAL_DDPALETTECALLBACKS lpDDPaletteCallbacks;
    LPDDHAL_GETDRIVERINFO GetDriverInfo;
    DDCAPS ddCaps;
  DDCAPS ddHelCaps;
  LPDWORD lpdwFourCC;
} DDHALINFO;

Members

  • dwSize
    Size of the structure. This member must be initialized before the structure is used.
  • dwFlags
    Reserved. Set to 0 for future compatibility.
  • lpDDPaletteCallbacks
    Unsupported. Must be set to NULL.
  • GetDriverInfo
    Pointer to a GetDriverInfo callback function that will be used to get further DirectDraw hardware abstraction layer (DDHAL) information.
  • ddCaps
    A DDCAPS structure that specifies the capabilities that are supported in the display hardware.
  • ddHelCaps
    A DDCAPS structure that specifies the capabilities supported in software emulation by the driver.
  • lpdwFourCC
    Indicates the FourCC codes supported in this mode only, and are listed in the order of preference of use.

Requirements

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

See Also

Reference

DDHAL_DDCALLBACKS
DDHAL_DDSURFACECALLBACKS
LPDDHAL_GETDRIVERINFO
Display Driver Structures

Concepts

DirectDraw Display Driver Structures