HANDLE hd = ::GetCurrentProcess(); ::SetPriorityClass(hd, REALTIME_PRIORITY_CLASS);
::SetPriorityClass(hd, NORMAL_PRIORITY_CLASS);