[pso] damn Windows, again...

Razvan Hobeanu pso@cursuri.cs.pub.ro
Thu, 22 Jul 2004 12:17:01 -0700 (PDT)


1. Poti folosi GetProcessId daca te intereseaza asta
in user-mode. Daca e vorba de un driver, atunci
PsGetCurrentProcessId. Daca vrei altceva, si te
intereseaza cine a initiat un IRP, atunci poti folosi
IoGetRequestorProcessId.

2. Nu mai trebuie sa faci tu acquire/release.

--- Herisanu Ioan <herise2000@yahoo.com> wrote:
> 1:GetProcessId
> 2:pai asta e idea functiilor Interlocked: sa nu
> trebuiasca sa faci tu acquire/release. Se fac in
> functie, implicit.
> .
> Asteptam celelalte intrebari. 
> 


=====
--------------------------------------------
mindphobia - the fear of thought
I am only what I am who I am at this moment.
--------------------------------------------


		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail