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