// d3dkmddi.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
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.
SystemProcessIndicates that the process referenced by hDxgkProcess is a system process.
GdiProcessIndicates that the process referenced by hDxgkProcess is a GDI process.
VirtualMachineProcessIndicates 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.
VirtualMachineWorkerProcessIndicates 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.
SessionIsolatedContainerIndicates whether the process is running within a session-isolated container. Introduced in WDDM 2.5.
ReservedThis member is reserved and should be set to zero.
ValueThe consolidated value of the bitfield members of the structure.