Microsoft Windows CE 3.0  

DDHAL_DDMISCELLANEOUSCALLBACKS

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The DDHAL_DDMISCELLANEOUSCALLBACKSstructure contains miscellaneous callback functions used by the driver.

typedef struct _DDHAL_DDMISCELLANEOUSCALLBACKS { DWORD
dwSize
;
DWORD
dwFlags
;
LPDDHAL_GETAVAILDRIVERMEMORY
GetAvailDriverMemory
;
LPDDHAL_UPDATENONLOCALHEAP
UpdateNonLocalHeap
;
LPDDHAL_GETHEAPALIGNMENT
GetHeapAlignment
;
LPDDHALSURFCB_GETBLTSTATUS
GetSysmemBltStatus
;
} DDHAL_DDMISCELLANEOUSCALLBACKS,
*LPDDHAL_DDMISCELLANEOUSCALLBACKS;

Members

dwSize
Size of the structure. This parameter must be initialized before the structure is used.
dwFlags
Indicates which of the miscellaneous functions are implemented in 32-bit code. One or more of the following flags:
Flag Usage
DDHAL_GETSYSMEMBLTSTATUS Indicates that the GetSysmemBltStatuscallback is implemented in 32-bit code.
DDHAL_MISCCB32_GETAVAILDRIVERMEMORY Indicates that the GetAvailDriverMemorycallback is implemented in 32-bit code.
DDHAL_MISCCB32_GETHEAPALIGNMENT Indicates that the GetHeapAlignmentcallback is implemented in 32-bit code.
DDHAL_MISCCB32_UPDATENONLOCALHEAP Indicates that the UpdateNonLocalHeapcallback is implemented in 32-bit code.
GetAvailDriverMemory
Pointer to the driver's implementation of the GetAvailDriverMemorycallback.
UpdateNonLocalHeap
Pointer to the driver's implementation of the UpdateNonLocalHeapcallback.
GetHeapAlignment
Pointer to the driver's implementation of the GetHeapAlignmentcallback.
GetSysmemBltStatus
Pointer to the driver's implementation of the GetSysmemBltStatuscallback. The GetSysmemBltStatuscallback uses the same prototype as GetBltStatus. It is legal to point both pointers to the same driver routine.

Remarks

This structure can be queried from the driver using GetDriverInfowith 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.



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.