so, this looks nicer...
http://www.wiredprairie.us/journal/2005/12/set_process_priority_utility.html

just wonder, why doesn't windows provide a way to control the basePriority via a regvalue or so.
or in other words, why that function is not documented.