Share via


DDHAL_DDMISCELLANEOUSCALLBACKS (Compact 2013)

3/26/2014

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 LPDDHAL_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

See Also

Reference

DDHAL Callback Structures
LPDDHAL_GETAVAILDRIVERMEMORY