Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting the windows 2000 process priority
Message
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00601173
Message ID:
00602025
Views:
34
>>Take a look at faq #7593. I think following quote applies to your code also: "Under NT and Win2K, the process issuing the SetPriorityClass call must have a process handle with the PROCESS_SET_INFORMATION access right, which may require calling AdjustTokenPrivileges, a non-trivial issue."
>>
>>See mskb #Q251310 for how the process token security can be ajusted.
>
>Sergey,
>What FAQ is that supposed to be because Michel F. FAQ on Language Reference is not it.


Sorry, it's API #12682.

>
>IAC, I don't think this applies in this case. If security is in effect, then the OpenThread function would fail if the permissions weren't valid. Since the thread handle was received, it worked.


I guess, you're right.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform