PDXGK_REMOVAL_NOTIFICATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmthk.h

PDXGK_REMOVAL_NOTIFICATION PdxgkRemovalNotification;

VOID PdxgkRemovalNotification(
  PVOID GraphicsDeviceHandle,
  PVOID PrivateHandle
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmthk-pdxgk_removal_notification)

PDXGK_REMOVAL_NOTIFICATION callback

Description

A callback indicating that the graphics device is being removed.

Parameters

GraphicsDeviceHandle

An opaque handle which should be provided when making callbacks to the graphics device.

PrivateHandle

An 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.

Remarks

Removal can occur on driver uninstall, device disable, device fault, and surprise removal. This callback is made at PASSIVE_LEVEL.