Partager via


DDHAL_DDMISCELLANEOUSCALLBACKS (Windows Embedded CE 6.0)

1/6/2010

This structure contains miscellaneous callback functions used by the driver.

Syntax

typedef struct _DDHAL_DDMISCELLANEOUSCALLBACKS {
  DWORD dwSize;
  DWORD dwFlags;
  LPDDHAL_GETAVAILDRIVERMEMORY GetAvailDriverMemory;
  LPDDHAL_GETDEVICEIDENTIFIER  GetDeviceIdentifier;
} DDHAL_DDMISCELLANEOUSCALLBACKS, *LPDDHAL_DDMISCELLANEOUSCALLBACKS;

Members

  • dwSize
    Size of the structure. This parameter must be initialized before the structure is used.
  • dwFlags
    Indicates whether the miscellaneous functions are implemented.

    The following table shows the possible flags.

    Flag Description

    DDHAL_MISCCB32_GETAVAILDRIVERMEMORY

    Indicates whether the GetAvailDriverMemory callback function is implemented.

    DDHAL_MISCCB32_GETDEVICEIDENTIFIER

    Indicates whether the LPDDHAL_GETDEVICEIDENTIFIER callback function is implemented.

  • GetAvailDriverMemory
    Pointer to the driver's implementation of the GetAvailDriverMemory callback function.

Remarks

You can query this structure from the driver using GetDriverInfo with GUID_MiscellaneousCallbacks.

This structure contains the entry points in the display driver that DirectDraw calls. Entries that the display driver does not use should be set to NULL.

Requirements

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

See Also

Reference

LPDDHAL_GETAVAILDRIVERMEMORY

Concepts

DDHAL Callback Structures