// d3dkmthk.h
PDXGK_REMOVAL_NOTIFICATION PdxgkRemovalNotification;
VOID PdxgkRemovalNotification(
PVOID GraphicsDeviceHandle,
PVOID PrivateHandle
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
A callback indicating that the graphics device is being removed.
GraphicsDeviceHandleAn opaque handle which should be provided when making callbacks to the graphics device.
PrivateHandleAn opaque handle which will be provided in any callbacks. This handle must be globally unique, therefore, a pointer to the calling driver's PDO or FDO should be used.
Removal can occur on driver uninstall, device disable, device fault, and surprise removal. This callback is made at PASSIVE_LEVEL.