KeReadStateEvent - Problem solved

I’ve just discovered (From a note in Oney’s WDM book) that KeReadStateEvent
is not supported by Win98 and that’s why it doesn’t feature in <wdm.h>.

Being a newbie I was also under the mistaken impression that wdm.h
#include’d ntddk.h.

Having looked into other synchronization objects, I think a semaphore (for
which the KeReadState… function is available in wdm.h) may suit my
purpose.

Cheers,

James


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

Maybe I’m missing something but, if it is just an event, why don’t you use
KeWaitForSingleObject with a wait time of 0?

  • Dennis

Dennis Merrill
Embedded Systems Engineer
Thermo Nicolet Corporation

-----Original Message-----
From: James Wain [mailto:xxxxx@vutrix.com]
Sent: Friday, September 07, 2001 3:44 AM
To: NT Developers Interest List
Subject: [ntdev] KeReadStateEvent - Problem solved

I’ve just discovered (From a note in Oney’s WDM book) that KeReadStateEvent
is not supported by Win98 and that’s why it doesn’t feature in <wdm.h>.

Being a newbie I was also under the mistaken impression that wdm.h
#include’d ntddk.h.

Having looked into other synchronization objects, I think a semaphore (for
which the KeReadState… function is available in wdm.h) may suit my
purpose.

Cheers,

James


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


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