DDHAL_DDMISCELLANEOUSCALLBACKS (Windows CE 5.0)

Send Feedback

This structure contains miscellaneous callback functions used by the driver.

typedef struct _DDHAL_DDMISCELLANEOUSCALLBACKS {DWORDdwSize;DWORDdwFlags;LPDDHAL_GETAVAILDRIVERMEMORYGetAvailDriverMemory;LPDDHAL_UPDATENONLOCALHEAPUpdateNonLocalHeap;LPDDHAL_GETHEAPALIGNMENTGetHeapAlignment;LPDDHALSURFCB_GETBLTSTATUSGetSysmemBltStatus;} 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_GETSYSMEMBLTSTATUS Indicates whether the GetSysmemBltStatus callback function is implemented.
    DDHAL_MISCCB32_GETAVAILDRIVERMEMORY Indicates whether the GetAvailDriverMemory callback function is implemented.
    DDHAL_MISCCB32_GETHEAPALIGNMENT Indicates whether the GetHeapAlignment callback function is implemented.
    DDHAL_MISCCB32_UPDATENONLOCALHEAP Indicates whether the UpdateNonLocalHeap callback function is implemented.
  • GetAvailDriverMemory**
    Pointer to the driver's implementation of the GetAvailDriverMemory callback function.

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

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

  • GetSysmemBltStatus**
    Pointer to the driver's implementation of the GetSysmemBltStatus callback function. The GetSysmemBltStatus callback uses the same prototype as GetBltStatus. It is legal to point both pointers to the same driver routine.

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

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

See Also

DDHAL Callback Structures | GetSysmemBltStatus | GetAvailDriverMemory | GetHeapAlignment | UpdateNonLocalHeap

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.