// d3dkmthk.h
typedef struct _D3DKMT_REGISTERTRIMNOTIFICATION {
[in] LUID AdapterLuid;
[in] D3DKMT_HANDLE hDevice;
[in] PFND3DKMT_TRIMNOTIFICATIONCALLBACK Callback;
[in] VOID *Context;
[out] VOID *Handle;
} D3DKMT_REGISTERTRIMNOTIFICATION;
View the official Windows Driver Kit DDI referenceNo description available.
D3DKMT_REGISTERTRIMNOTIFICATION is used with D3DKMTRegisterTrimNotification to register a callback for a kernel mode device for notifications from a graphics framework (such as OpenGL).
AdapterLuid [in]Luid of the adapter which the device created.
hDevice [in]Device to trim the residency list for.
Callback [in]Pointer to the callback function.
Context [in]Caller-supplied context for callback.
Handle [out]Handle that will be used to unregister the callback with D3DKMTUnregisterTrimNotification.
D3DKMTRegisterTrimNotification
D3DKMTUnregisterTrimNotification