Rediger

Del via


DXGKARG_CREATEPROCESS structure (d3dkmddi.h)

DXGKARG_CREATEPROCESS is used with DxgkDdiCreateProcess to create a kernel-mode driver (KMD) process object for a Dxgkrnl process object.

Syntax

typedef struct _DXGKARG_CREATEPROCESS {
  [in]  HANDLE                  hDxgkProcess;
  [out] HANDLE                  hKmdProcess;
  [in]  DXGK_CREATEPROCESSFLAGS Flags;
  [in]  UINT                    NumPasid;
  [in]  ULONG                   *pPasid;
  [in]  HANDLE                  hKmdVmWorkerProcess;
  [in]  UINT                    ProcessNameLength;
  [in]  WCHAR                   *pProcessName;
} DXGKARG_CREATEPROCESS;

Members

[in] hDxgkProcess

The handle to the Dxgkrnl process (DXGPROCESS).

[out] hKmdProcess

Output handle to the process object created by the KMD.

[in] Flags

A DXGK_CREATEPROCESSFLAGS structure describing the process creation operation.

[in] NumPasid

The number of elements in the process address space identifier array located in the pPasid member.

[in] pPasid

A pointer to an array of process address identifiers. There is one identifier for each of the physical GPUs.

[in] hKmdVmWorkerProcess

Handle of the driver VM worker process returned by the system when you create a process with VirtualMachineWorkerProcess set. This value is valid only when VirtualMachineProcess is set.

[in] ProcessNameLength

The number of Unicode characters in the array that pProcessName points to, not including the terminating NULL.

[in] pProcessName

Pointer to a NULL-terminated Unicode string that contains the process name. When VirtualMachineProcess is set, this string is the name of the process inside a virtual machine. Can be NULL.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header d3dkmddi.h (include D3dkmddi.h)

See also

DXGK_CREATEPROCESSFLAGS

DxgkDdiCreateProcess