DXGKDDI_DESTROYPROCESS callback function

DxgkDdiDestroyProcess destroys a kernel mode driver process object.

Syntax

DXGKDDI_DESTROYPROCESS DxgkddiDestroyprocess;

NTSTATUS DxgkddiDestroyprocess(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_HANDLE hKmdProcess
)
{...}

Parameters

hAdapter

A handle to the display adapter.

hKmdProcess

A handle to the kernel mode driver process.

Return Value

Returns STATUS_SUCCESS if it succeeds. Otherwise, it returns one of the error codes defined in Ntstatus.h.

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Desktop
Header d3dkmddi.h