PDXGK_REMOVAL_NOTIFICATION callback function

A callback indicating that the graphics device is being removed.

Syntax

PDXGK_REMOVAL_NOTIFICATION PdxgkRemovalNotification;

void PdxgkRemovalNotification(
  PVOID GraphicsDeviceHandle,
  PVOID PrivateHandle
)
{...}

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.

Return Value

This callback function does not return a value.

-remarks

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

Requirements

   
Target Platform Windows
Header d3dkmthk.h