Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Processes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00706360
Message ID:
00706382
Vues:
27
Thanks Ed...
I dont understand ... how can i do to differentiate teh owner with GetThreadDesktop, im intrested in this one becauser its easy with application.ThreadId to get the current threadid but the GetThreadDesktop returns a handle to the desktop...
Maybe you can explain it to me a little bit more deeper...

Sorry about my poor english


------------------------------------------------
>Hi,
>Im trying to check for a process running in one machine with api calls, all works fine but the problem rises when i try to get the processes only for the current user not for all the logged in...
>Does anybody knows how to differentiate between?


Given a Process handle, you could use GetUserObjectInformation() or GetUserObjectSecurity() or given a threadID, you could use GetThreadDesktop() to differentiate the owner of a given process.

Ariel Gimenez

our power is our knowledge

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform