C language function:GetThreadPriorityBoost sample codes

Search sample code in the internet.It is the result.

TITLE : Learn how-to hack the Windows system through Windows OS processes and threads tutorials with C and Win32 functions program examples
When the wait conditions for a blocked thread are satisfied, the scheduler boosts the priority of the thread. For example, when a wait operation associated with disk or keyboard I/O finishes, the thread receives a priority boost. You can disable the priority-boosting feature by calling the SetProcessPriorityBoost() or SetThreadPriorityBoost() function. To determine whether this feature has been disabled, call the GetProcessPriorityBoost() or GetThreadPriorityBoost() function........

search Google