Bewerken

Delen via


DXGKDDI_DESTROYPROCESS callback function (d3dkmddi.h)

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

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