|
From: Casper H. <ch...@us...> - 2001-11-02 15:46:04
|
> -----Original Message----- > From: Rex Jolliff [mailto:re...@lv...] > Sent: 2. november 2001 07:26 > To: ros...@re... > Subject: [ros-kernel] GDI Handle Issues > > I used a fast mutex to protect access to the table. Is this > a reasonable sync object to use across processes? I think so. The handle table is only accessed at IRQL < DISPATCH_LEVEL right? > GDI handles keep the process id as a field, but > PsGetCurrentProcess does not seem to be available to a kernel > mode dll. Which function is available that returns the > current process id? For some reason this is an I/O manager API in NT. Don't ask me why ;o) PEPROCESS STDCALL IoGetCurrentProcess(VOID); Casper ==================================================== = To remove yourself from this mailing list, go to = = http://www.reactos.com/home/mailing.html = ==================================================== |