Process priority
-
i am stuck like chuck..... i can change from low to normal and high but how do i get priority belownormal and abovenormal?
locoone wrote:
i can change from low to normal and high
How are you doing that, chuck? :)
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
locoone wrote:
i can change from low to normal and high
How are you doing that, chuck? :)
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
SetPriorityClass(hHandle, HIGH_PRIORITY_CLASS); //high SetPriorityClass(hHandle, NORMAL_PRIORITY_CLASS); //normal SetPriorityClass(hHandle, IDLE_PRIORITY_CLASS); //low its the belownormal and abovenormal i cant figure out
ABOVE_NORMAL_PRIORITY_CLASS 0x00008000
BELOW_NORMAL_PRIORITY_CLASS 0x00004000
HIGH_PRIORITY_CLASS 0x00000080
IDLE_PRIORITY_CLASS 0x00000040
NORMAL_PRIORITY_CLASS 0x00000020
REALTIME_PRIORITY_CLASS 0x00000100There're some values for priority like above, you can try it!
-
ABOVE_NORMAL_PRIORITY_CLASS 0x00008000
BELOW_NORMAL_PRIORITY_CLASS 0x00004000
HIGH_PRIORITY_CLASS 0x00000080
IDLE_PRIORITY_CLASS 0x00000040
NORMAL_PRIORITY_CLASS 0x00000020
REALTIME_PRIORITY_CLASS 0x00000100There're some values for priority like above, you can try it!