CODE:#define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000
external(INT, "SetPriorityClass", "SetPriorityClass", "Kernel32.dll");
external(INT, "GetCurrentProcess", "GetCurrentProcess", "Kernel32.dll");
SetPriorityClass(GetCurrentProcess(), ABOVE_NORMAL_PRIORITY_CLASS);
Класс приоритета смотрите тут: https://docs.microsoft.com/en-us...setpriorityclass |