Error of using KeReadStateEvent

Hi,

I use KeReadStateEvent in my driver. But the compiler says:

error C2065: ‘KeReadStateEvent’ : undeclared identifier

I have included the “ntddk.h” which contains the prototype of KeReadStateEvent.

What can I do?

-Ray Yang
ICQ: 26555015
eMail: xxxxx@yahoo.com