win32process.SetProcessPriorityBoost

SetProcessPriorityBoost(Process, DisablePriorityBoost)

Enables or disables dynamic priority adjustment for a process

Parameters

Process : PyHANDLE

Handle to a process

DisablePriorityBoost : boolean

True to disable or False to enable