Re: Get Process List from window Service
- From: "Mikep" <mikep@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Jun 2007 07:23:30 -0700
"kalpesh" <kalpeshgedia@xxxxxxxxx> wrote in message
news:1182932802.822311.212580@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Jun 27, 11:47 am, "Arkady Frenkel" <arka...@xxxxxxxxxxxxxxxx>
wrote:
You can use ToolHelp :
CreateToolhelp32Snapshot()/Process32First(Next)()...
to enumerate all processes and but you need to exclude processes running
as
a services from that list
Arkady
"kalpesh" <kalpeshge...@xxxxxxxxx> wrote in message
news:1182921009.515136.139460@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi also having problem regarding WTSQuerySessionInformation,
I am developing virtual printer driver In window vista operation
system which run under spooler service.
Now i want Process List of currnt login user from my this printer
driver
Or
we can say that i want Process list of current login user from window
service
i got the current user session id from WTSGetActiveConsoleSessionId()
API
now how can i get the process list of this active session my Window
serivice i got idea
that using WTSQuerySessionInformation get the application name running
user session
but i dont know how to use this function help me.
Any comments are welcome..
Kalpesh.- Hide quoted text -
- Show quoted text -
hi Arkedy,
Thanks for reply
i have more question that my Printer driver DLL is one serice which
run in session 0 and user run in session 1 , session 2 and so on.. In
window vista operation system.
now i want process list of user session means i want a process list of
session 1 from session 0, is it possible in VISTA if yes then HOW
please help me...
Thanks,
Kalpesh
Are you looking for the WTSEnumerateProcesses function?
Mike P
.
- References:
- Get Process List from window Service
- From: kalpesh
- Re: Get Process List from window Service
- From: Arkady Frenkel
- Re: Get Process List from window Service
- From: kalpesh
- Get Process List from window Service
- Prev by Date: Re: Time slices
- Next by Date: Re: fixed time slices?
- Previous by thread: Re: Get Process List from window Service
- Next by thread: Re: KMDF and File System Driver
- Index(es):
Relevant Pages
|