Using named events

Can anyone give me a pointer on how to wait on one of the events
named in the object directory (e.g. SeLsaInitEvent)?

Thanks


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I would try ZwOpenEvent() to get a handle and ObReferenceObjectByHandle() to
get a pointer.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


From: Shaun[SMTP:xxxxx@sdlabs.demon.co.uk]
Reply To: File Systems Developers
Sent: Friday, March 16, 2001 2:58 PM
To: File Systems Developers
Subject: [ntfsd] Using named events

Can anyone give me a pointer on how to wait on one of the events
named in the object directory (e.g. SeLsaInitEvent)?

Thanks


You are currently subscribed to ntfsd as: xxxxx@rkk.cz
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Can you tell me where this function is defined? It doesn’t seem to
be in the DDK (NT4 or 2000) and there is no mention of it in the docs
either.

Shaun

Vodicka, Michal wrote:
>I would try ZwOpenEvent() to get a handle and ObReferenceObjectByHandle() to
>get a pointer.
>
>Best regards,
>
>Michal Vodicka
>Veridicom
>(RKK - Skytale)
>[WWW: http://www.veridicom.com , http://www.skytale.com]
>
>
>
>> ----------
>> From: Shaun[SMTP:xxxxx@sdlabs.demon.co.uk]
>> Reply To: File Systems Developers
>> Sent: Friday, March 16, 2001 2:58 PM
>> To: File Systems Developers
>> Subject: [ntfsd] Using named events
>>
>> Can anyone give me a pointer on how to wait on one of the events
>> named in the object directory (e.g. SeLsaInitEvent)?
>>
>> Thanks
>>
>>
>>
>> —
>> You are currently subscribed to ntfsd as: xxxxx@rkk.cz
>> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>>
>
>—
>You are currently subscribed to ntfsd as: xxxxx@sdlabs.demon.co.uk
>To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Gary Nebbett’s Windows NT/2000 Native API Reference page 216.

NTSTATUS ZwOpenEvent(OUT PHANDLE EventHandle, IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes);

//
// Event Specific Access Rights.
//

#define EVENT_QUERY_STATE 0x0001
#define EVENT_MODIFY_STATE 0x0002 // winnt
#define EVENT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3) //
winnt

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


From: Shaun[SMTP:xxxxx@sdlabs.demon.co.uk]
Reply To: File Systems Developers
Sent: Friday, March 16, 2001 10:16 PM
To: File Systems Developers
Subject: [ntfsd] RE: Using named events

Can you tell me where this function is defined? It doesn’t seem to
be in the DDK (NT4 or 2000) and there is no mention of it in the docs
either.

Shaun

Vodicka, Michal wrote:
> >I would try ZwOpenEvent() to get a handle and ObReferenceObjectByHandle()
> to
> >get a pointer.
> >
> >Best regards,
> >
> >Michal Vodicka
> >Veridicom
> >(RKK - Skytale)
> >[WWW: http://www.veridicom.com , http://www.skytale.com]
>


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com