DXGKDDI_REMOVE_DEVICE - NtDoc

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

DXGKDDI_REMOVE_DEVICE DxgkddiRemoveDevice;

NTSTATUS DxgkddiRemoveDevice(
  [in] IN_CONST_PVOID MiniportDeviceContext
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-dispmprt-dxgkddi_remove_device)

DXGKDDI_REMOVE_DEVICE callback function

Description

The DxgkDdiRemoveDevice function frees any resources allocated during DxgkDdiAddDevice.

Parameters

MiniportDeviceContext [in]

A handle to a context block associated with a display adapter. The display miniport driver's DxgkDdiAddDevice function previously provided this handle to the DirectX graphics kernel subsystem.

Return value

DxgkDdiRemoveDevice returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.

Remarks

DxgkDdiRemoveDevice must free the context block represented by MiniportDeviceContext.

DxgkDdiRemoveDevice should be made pageable.

See also

DxgkDdiAddDevice