![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Aug 2005
Posts: 6
Rep Power: 0
![]() |
Get base priority of a program
Hi all:
DOes anybody know how to determine the base priority of a program, something like this WinID does http://www.dennisbabkin.com/php/download.php?what=WinID It's an interesting piece of software, I ran it on my WinXP and it shows that task bar has base priority higher than normal programs, as well as task manager -- I didn't know that. Also is it possible to set this base priority? Any help will be appreciated! PS. Search in MSDN did not yeild any ways to do it.... |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Jun 2005
Location: New Mexico
Posts: 228
Rep Power: 4
![]() |
Look inot these API's to start with:
These work at the thread level -- GetThreadPriority SetThreadPriority Process level: GetPriorityClass SetPriorityClass |
|
|
|
|
|
#3 | |
|
Newbie
Join Date: Aug 2005
Posts: 6
Rep Power: 0
![]() |
Quote:
|
|
|
|
|
|
|
#4 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Please do not cross post. It is against the forum's rules. If you think you made an initial mistake in placement, ask a mod to move it.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|