Share via


DDHALINFO (Compact 2013)

3/26/2014

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.
  • lpDDPaletteCallbacks
    Unsupported. Must be set to NULL.
  • GetDriverInfo
    Pointer to a LPDDHAL_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

See Also

Reference

DirectDraw Display Driver Structures
DDHAL_DDCALLBACKS
DDHAL_DDSURFACECALLBACKS
LPDDHAL_GETDRIVERINFO
Display Driver Structures