https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-setthreadpriority?redirectedfrom=MSDN
SetThreadPriority function (processthreadsapi.h) - Win32 apps | Microsoft Learn
Sets the priority value for the specified thread. This value, together with the priority class of the thread's process, determines the thread's base priority...
functionhappsmicrosoftlearn