Expand Minimize

D3DKMTGetProcessSchedulingPriorityClass function

The D3DKMTGetProcessSchedulingPriorityClass function retrieves the scheduling priority for a process.

Syntax


NTSTATUS D3DKMTGetProcessSchedulingPriorityClass(
  _In_   HANDLE hProcess,
  _Out_  D3DKMT_SCHEDULINGPRIORITYCLASS *pPriority
);

Parameters

hProcess [in]

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

pPriority [out]

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

Return value

D3DKMTGetProcessSchedulingPriorityClass returns one of the following values:

Return codeDescription
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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmthk.h (include D3dkmthk.h)

Library

Gdi32.lib

See also

D3DKMT_SCHEDULINGPRIORITYCLASS
D3DKMTSetProcessSchedulingPriorityClass

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft