Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting the windows 2000 process priority
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00601173
Message ID:
00602025
Vues:
29
>>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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform