// d3dkmthk.h
NTSTATUS D3DKMTGetProcessSchedulingPriorityClass(
[in] HANDLE unnamedParam1,
[out] D3DKMT_SCHEDULINGPRIORITYCLASS *unnamedParam2
);
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMTGetProcessSchedulingPriorityClass function retrieves the scheduling priority for a process.
unnamedParam1 [in]A handle to the process for which scheduling priority is set.
unnamedParam2 [out]A pointer to a variable that receives a D3DKMT_SCHEDULINGPRIORITYCLASS enum value that indicates the priority level for the process.
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.
D3DKMTSetProcessSchedulingPriorityClass
D3DKMT_SCHEDULINGPRIORITYCLASS