Export (0) Print
Expand All
Expand Minimize

DxgkDdiRemoveDevice routine

The DxgkDdiRemoveDevice function frees any resources allocated during DxgkDdiAddDevice.

Syntax


PDXGKDDI_REMOVE_DEVICE DxgkDdiRemoveDevice;

NTSTATUS DxgkDdiRemoveDevice(
  _In_  const PVOID MiniportDeviceContext
)
{ ... }

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.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

Dispmprt.h (include Dispmprt.h)

IRQL

PASSIVE_LEVEL

See also

DxgkDdiAddDevice

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft