Getting a process name from id in NT

This has probably been answered before but I wasn’t able to get to the
archives at this juncture.

Is anyone aware of a method to get the process name from a process id? More
specifically, is there a function like PsGetCurrentProcess that accepts as
a parameter a process id?

Thanks for the help,
Matt Miller
xxxxx@positivenetworks.net

PsLookupProcessByProcessId

Dan
----- Original Message -----
From: “Matt Miller”
To: “NT Developers Interest List”
Sent: Friday, June 28, 2002 8:30 PM
Subject: [ntdev] Getting a process name from id in NT

> This has probably been answered before but I wasn’t able to get to the
> archives at this juncture.
>
> Is anyone aware of a method to get the process name from a process id?
More
> specifically, is there a function like PsGetCurrentProcess that accepts as
> a parameter a process id?
>
> Thanks for the help,
> Matt Miller
> xxxxx@positivenetworks.net
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> To unsubscribe send a blank email to %%email.unsub%%
>