DXGKDDI_CREATEPROCESS callback function (d3dkmddi.h)

DxgkDdiCreateProcess creates a graphics kernel process object.

Syntax

DXGKDDI_CREATEPROCESS DxgkddiCreateprocess;

NTSTATUS DxgkddiCreateprocess(
  IN_CONST_HANDLE hAdapter,
  INOUT_PDXGKARG_CREATEPROCESS pArgs
)
{...}

Parameters

hAdapter

A handle to the display adapter.

pArgs

The DXGKARG_CREATEPROCESS structure that describes the operation.

Return value

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

Remarks

During process creation the kernel mode driver is allowed to call the DxgkCbReserveVirtualAddressRange callback. At this point the graphics processing unit (GPU) virtual address space for the process is free and the driver has the opportunity to reserve virtual address space for its needs.

Requirements

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

See also

DXGKARG_CREATEPROCESS