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:
00602019
Vues:
31
>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.

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.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform