Hi there!
How can I enumerate currently present mutex objects and if they are named -
retrieve their names?
–
Vadym Stetsyak
ICQ 161730125
NAU
–
Vadym Stetsyak
ICQ 161730125
NAU
Hi there!
How can I enumerate currently present mutex objects and if they are named -
retrieve their names?
–
Vadym Stetsyak
ICQ 161730125
NAU
–
Vadym Stetsyak
ICQ 161730125
NAU
It’s not easy. Named mutexes created in the global namespace can be
found in the \BaseNamedObjects Object Manager directory. Named mutexes
created in the local namespace are put deep down under the \Sessions
directory. Exactly whether an object is created as global and or local,
and if local, where it’s put under \Sessions, is specific to the
version of Windows you are running.
You can iterate through Object Manager directories using the
undocumented API ZwQueryDirectoryObject. You can try open an object you
think might be a mutex with the (also undocumented API) ZwOpenMutant.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Vadym Stetsyak
Sent: Friday, June 20, 2003 6:25 AM
To: NT Developers Interest List
Subject: [ntdev] Mutex ObjectsHi there!
How can I enumerate currently present mutex objects and if
they are named - retrieve their names?–
Vadym Stetsyak
ICQ 161730125
NAU–
Vadym Stetsyak
ICQ 161730125
NAU
You are currently subscribed to ntdev as: xxxxx@nryan.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
ok, thanks I’ll try to use it.
“Nick Ryan” wrote in message news:xxxxx@ntdev…
>
> It’s not easy. Named mutexes created in the global namespace can be
> found in the \BaseNamedObjects Object Manager directory. Named mutexes
> created in the local namespace are put deep down under the \Sessions
> directory. Exactly whether an object is created as global and or local,
> and if local, where it’s put under \Sessions, is specific to the
> version of Windows you are running.
>
> You can iterate through Object Manager directories using the
> undocumented API ZwQueryDirectoryObject. You can try open an object you
> think might be a mutex with the (also undocumented API) ZwOpenMutant.
>
> - Nick Ryan
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Vadym Stetsyak
> > Sent: Friday, June 20, 2003 6:25 AM
> > To: NT Developers Interest List
> > Subject: [ntdev] Mutex Objects
> >
> >
> > Hi there!
> >
> > How can I enumerate currently present mutex objects and if
> > they are named - retrieve their names?
> >
> > –
> > Vadym Stetsyak
> > ICQ 161730125
> > NAU
> >
> >
> > –
> > Vadym Stetsyak
> > ICQ 161730125
> > NAU
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@nryan.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
>
>
>