DD_MISCELLANEOUSCALLBACKS structure (ddrawint.h)
The DD_MISCELLANEOUSCALLBACKS structure contains an entry pointer to the memory query callback that a device driver supports.
Syntax
typedef struct _DD_MISCELLANEOUSCALLBACKS {
DWORD dwSize;
DWORD dwFlags;
PDD_GETAVAILDRIVERMEMORY GetAvailDriverMemory;
} DD_MISCELLANEOUSCALLBACKS, *PDD_MISCELLANEOUSCALLBACKS;
Members
dwSize
Specifies the size in bytes of this DD_MISCELLANEOUSCALLBACKS structure.
dwFlags
Indicates whether the device supports the DdGetAvailDriverMemory callback. The driver sets this member to DDHAL_MISCCB32_GETAVAILDRIVERMEMORY when it implements the callback.
GetAvailDriverMemory
Points to the driver-supplied DdGetAvailDriverMemory callback.
Remarks
Entries that the display driver does not use should be set to NULL. The driver should initialize this structure when its DdGetDriverInfo function is called with the GUID_MiscellaneousCallbacks GUID.
Requirements
Requirement | Value |
---|---|
Header | ddrawint.h (include Winddi.h) |