怎么设置线程优先级

如何设置线程优先级?如题!![解决办法]BOOL SetThreadPriority(HANDLE hThread,// handle to the threadint

如何设置线程优先级?
如题!!

[解决办法]
BOOL SetThreadPriority(
HANDLE hThread,// handle to the thread
int nPriority // thread priority level
);