Bewerken

Delen via


PDXGK_REMOVAL_NOTIFICATION callback function (d3dkmthk.h)

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

None

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header d3dkmthk.h
IRQL <= PASSIVE_LEVEL