DD_MISCELLANEOUSCALLBACKS structure

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

Header

Ddrawint.h (include Winddi.h)

See also

DD_COLORCONTROLCALLBACKS
DD_KERNELCALLBACKS
DD_MOTIONCOMPCALLBACKS
DD_NTCALLBACKS
DD_PALETTECALLBACKS
DD_SURFACECALLBACKS
DD_VIDEOPORTCALLBACKS
DdGetAvailDriverMemory
DdGetDriverInfo

 

 

Send comments about this topic to Microsoft

Show: