DDHALINFO (Windows CE 5.0)

Send Feedback

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.

typedef struct _DDHALINFO {DWORDdwSize;LPDDHAL_DDCALLBACKSlpDDCallbacks;LPDDHAL_DDSURFACECALLBACKSlpDDSurfaceCallbacks;LPDDHAL_DDPALETTECALLBACKSlpDDPaletteCallbacks;VIDMEMINFOvmiData;DDCORECAPSddCaps;DWORDdwMonitorFrequency;LPDDHAL_GETDRIVERINFOGetDriverInfo;DWORDdwModeIndex;LPDWORDlpdwFourCC;DWORDdwNumModes;LPDDHALMODEINFOlpModeInfo;DWORDdwFlags;LPVOIDlpPDevice;DWORDhInstance;ULONG_PTRlpD3DGlobalDriverData;ULONG_PTRlpD3DHALCallbacks;LPDDHAL_DDEXEBUFCALLBACKSlpDDExeBufCallbacks;} DDHALINFO;typedef DDHALINFO FAR *LPDDHALINFO;

Members

  • dwSize**
    Size of the structure. This member must be initialized before the structure is used.

  • lpDDCallbacks**
    Pointer to the DirectDraw object callbacks (DDHAL_DDCALLBACKS).

  • lpDDSurfaceCallbacks**
    Pointer to the DirectDrawSurface object callbacks (DDHAL_DDSURFACECALLBACKS).

  • lpDDPaletteCallbacks**
    Pointer to the DirectDrawPalette object callbacks (DDHAL_DDPALETTECALLBACKS).

  • vmiData**
    Pointer to a VIDMEMINFO structure where you put the display memory information.

  • ddCaps**
    The DDCORECAPS structure that specifies the capabilities the hardware can set.

  • dwMonitorFrequency**
    Indicates the monitor frequency in the current mode.

  • GetDriverInfo**
    Pointer to a GetDriverInfo callback function that will be used to get further DirectDraw hardware abstraction layer (DDHAL) information.

  • dwModeIndex**
    Index into a mode array that indicates the current mode.

  • lpdwFourCC**
    Indicates the FourCC codes supported in this mode only, and are listed in the order of preference of use.

  • dwNumModes**
    Indicates the number of modes supported.

  • lpModeInfo
    Pointer to a DDHALMODEINFO structure that contains the mode information.

  • dwFlags**
    Display driver create flags.

    The following table shows the possible flags.

    Flag Description
    DDHALINFO_GETDRIVERINFOSET Indicates GetDriverInfo is set.
    DDHALINFO_ISPRIMARYDISPLAY Indicates the driver is the primary display driver.
    DDHALINFO_MODEXILLEGAL Indicates this hardware does not support ModeX modes.
  • lpPDevice**
    Pointer to the physical device pointer (pdevice) in the display minidriver.

  • hInstance**
    Instance handle to the base display driver.

  • lpD3DGlobalDriverData**
    Not used on Windows CE.

  • lpD3DHALCallbacks**
    Not used on Windows CE.

  • lpDDExeBufCallbacks**
    This member is reserved for future use.

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddrawi.h.

See Also

DDHAL_DDCALLBACKS | DDHAL_DDSURFACECALLBACKS | DDHAL_DDPALETTECALLBACKS | VIDMEMINFO | DDCORECAPS | GetDriverInfo | DDHALMODEINFO | Display Driver Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.