Rediger

Del via


DXGK_CREATEPROCESSFLAGS structure (d3dkmddi.h)

DXGK_CREATEPROCESSFLAGS are Dxgkrnl-provided flags that describe the characteristics of Dxgkrnl's process that DxgkDdiCreateProcess is to create a kernel-mode driver (KMD) process object for.

Syntax

typedef struct _DXGK_CREATEPROCESSFLAGS {
  union {
    struct {
      UINT SystemProcess : 1;
      UINT GdiProcess : 1;
      UINT VirtualMachineProcess : 1;
      UINT VirtualMachineWorkerProcess : 1;
      UINT SessionIsolatedContainer : 1;
#if ...
      UINT Reserved : 27;
#elif
      UINT Reserved : 28;
#elif
      UINT Reserved : 29;
#else
      UINT Reserved : 30;
#endif
    };
    UINT Value;
  };
} DXGK_CREATEPROCESSFLAGS;

Members

SystemProcess

Indicates that the process referenced by hDxgkProcess is a system process.

GdiProcess

Indicates that the process referenced by hDxgkProcess is a GDI process.

VirtualMachineProcess

Indicates that the Dxgkrnl process being created during a call to DxgkDdiCreateProcess is associated with a virtual machine. Each virtual machine Dxgkrnl process will belong to the same EPROCESS as the same virtual machine worker process. Introduced in WDDM 2.2.

VirtualMachineWorkerProcess

Indicates that the process being created during a call to DxgkDdiCreateProcess is the worker process for a virtual machine. Because no rendering or driver resource is created in this process context, the driver might skip allocating certain resources. Introduced in WDDM 2.4.

SessionIsolatedContainer

Indicates whether the process is running within a session-isolated container. Introduced in WDDM 2.5.

Reserved

This member is reserved and should be set to zero.

Value

The consolidated value of the bitfield members of the structure.

Requirements

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

See also

DXGKARG_CREATEPROCESS

DxgkDdiCreateProcess