Is it possible to change the priority of a process to either:

HIGH_PRIORITY_CLASS, IDLE_PRIORITY_CLASS,

NORMAL_PRIORITY_CLASS or REALTIME_PRIORITY_CLASS

when you are not using CreateProcess()?


I have SDI and Dialog based applications created by the Class

Wizard.


Is there anyway to dynamically change the priority of my process?