Everhart, Glenn From: Jamey Kirby [jkirby@storagecraft.com] Sent: Wednesday, March 17, 1999 2:44 PM To: 'Gabriele Mondada'; ntdev@atria.com Subject: RE: [ntdev] Distinguish which application submit a request You ca use IoGetRequestorProcess(IRP) to get the process ID for the process making the IRP request. From there, you can get the process name. See FILEMON from www.sysintenrals.com to see how to pluck the process name from the PEPROCESS structure. The name will look something like 'explorer.exe' Jamey Kirby StorageCraft, Inc. jkirby@storagecraft.com www.storagecraft.com -----Original Message----- From: owner-ntdev@atria.com [mailto:owner-ntdev@atria.com]On Behalf Of Gabriele Mondada Sent: Wednesday, March 17, 1999 4:44 AM To: ntdev@atria.com Subject: [ntdev] Distinguish which application submit a request My Kernel Driver is opened by two application. In the dispatch routines, where can I see which application are submit the request ? Where can I place some information that differs from a application to another ? Thanks you very much. Gabriele - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To unsubscribe, send email to ntdev-request@atria.com with body UNSUBSCRIBE (the subject is ignored). ] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To unsubscribe, send email to ntdev-request@atria.com with body UNSUBSCRIBE (the subject is ignored). ]