 |
ProcessHelperGetPriorityClass Method |
Retrieves the priority class for the specified process. This value, together with the
priority value of each thread of the process, determines each thread's base priority level.
GetPriorityClass function Namespace: Xcalibur.NativeMethods.V2.ProcessesAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax[DllImportAttribute("kernel32.dll")]
public static uint GetPriorityClass(
IntPtr processHandle
)<DllImportAttribute("kernel32.dll">]
Public Shared Function GetPriorityClass (
processHandle As IntPtr
) As UIntegerpublic:
[DllImportAttribute(L"kernel32.dll")]
static unsigned int GetPriorityClass(
IntPtr processHandle
)
[<DllImportAttribute("kernel32.dll")>]
static member GetPriorityClass :
processHandle : IntPtr -> uint32 Parameters
- processHandle IntPtr
- A handle to the process.
Return Value
UInt32
See Also