D3DKMTSetProcessSchedulingPriorityClass function (d3dkmthk.h)

The D3DKMTSetProcessSchedulingPriorityClass function sets the scheduling priority for a process.

Syntax

NTSTATUS D3DKMTSetProcessSchedulingPriorityClass(
  [in] HANDLE                         unnamedParam1,
  [in] D3DKMT_SCHEDULINGPRIORITYCLASS unnamedParam2
);

Parameters

[in] unnamedParam1

A handle to the process that scheduling priority is set for.

[in] unnamedParam2

A D3DKMT_SCHEDULINGPRIORITYCLASS enum value that indicates the priority level to set for the process.

Return value

D3DKMTSetProcessSchedulingPriorityClass returns one of the following values:

Return code Description
STATUS_SUCCESS The scheduling priority was successfully set.
STATUS_INVALID_PARAMETER Parameters were validated and determined to be incorrect.

This function might also return other NTSTATUS values.

Requirements

Requirement Value
Minimum supported client Windows Vista
Target Platform Universal
Header d3dkmthk.h (include D3dkmthk.h)
Library Gdi32.lib
DLL Gdi32.dll

See also

D3DKMTGetProcessSchedulingPriorityClass

D3DKMT_SCHEDULINGPRIORITYCLASS