D3DKMTGetProcessSchedulingPriorityClass function (d3dkmthk.h)

The D3DKMTGetProcessSchedulingPriorityClass function retrieves the scheduling priority for a process.

Syntax

NTSTATUS D3DKMTGetProcessSchedulingPriorityClass(
  [in]  HANDLE                         unnamedParam1,
  [out] D3DKMT_SCHEDULINGPRIORITYCLASS *unnamedParam2
);

Parameters

[in] unnamedParam1

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

[out] unnamedParam2

A pointer to a variable that receives a D3DKMT_SCHEDULINGPRIORITYCLASS enum value that indicates the priority level for the process.

Return value

D3DKMTGetProcessSchedulingPriorityClass returns one of the following values:

Return code Description
STATUS_SUCCESS The scheduling priority was successfully retrieved.
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

D3DKMTSetProcessSchedulingPriorityClass

D3DKMT_SCHEDULINGPRIORITYCLASS