[DllImport("Kernel32.dll")][return: MarshalAs(UnmanagedType.U4)] public static extern int GetThreadPriority( IntPtr hThread );
Microsoft documentation: Link
Last updated 2 months ago