Bewerken

Delen via


D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY structure (d3dkmthk.h)

Describes parameters for an in-process (in-proc) Microsoft Direct3D composition device to set the scheduling priority for a device context that is in the same process as other device contexts.

Syntax

typedef struct _D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY {
  [in] D3DKMT_HANDLE hContext;
  [in] INT           Priority;
} D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY;

Members

[in] hContext

A D3DKMT_HANDLE data type that represents the kernel-mode handle to the device context that scheduling priority is set on.

[in] Priority

The priority level to set for the device context relative to other device contexts within the same process.

A value of zero indicates that the context is scheduled with the same priority as other contexts within the same process.

A value of 1 indicates that the context is scheduled ahead of other contexts within the same process.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header d3dkmthk.h (include D3dkmthk.h)