Thanks Eugene, I knew this, but then also i am trying to get out of box, actually i wanted SessionId in side the driver, so if i find a way to get the Process OR processId then i can map this process OR processId to SessionID. This seems to be not possible, is their any other way to get sessionId inside an driver?? Dennis scott On Tue, Oct 6, 2009 at 12:41 AM, Eugene Muzychenko <emuzychenko@xxxxxxxxx>wrote: > Hello Dennis, > > > i want to get PID of the application which is accessing my audio > > driver in VISTA, what is the correct way of getting it. > > There is no correct way. Most applications don't interact with a > driver directly, they interact with intermediate layers (for example, > AudioDG service in Vista). In general, a driver receives no > information about applications that use audio features. > > Regards, > Eugene > > ****************** > > WDMAUDIODEV addresses: > Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx > Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe > Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe > Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx > > URL to WDMAUDIODEV page: > http://www.wdmaudiodev.com/ > >