Set priority level of running application (process)
Using SetPriorityClass function, you can set priority level of your running application. Same functionality is in the Task Manager (just rightclick the process in the list and select priority level).