Remember you CANNOT call KeSetEvent from an ISR.
If you need to read event state, your design may be prone to race
conditions. Why do you think you need to read event state?
Sorry for too less info^^"""
The event is Created by AP and is a manual-reset event
hEventInput = CreateEvent(NULL, TRUE, FALSE, NULL);
I use DeviceIoCortol to share this event with my Driver
*ExEventObjectType, pIrp->RequestorMode, &pEvent, NULL);
When a interrupt come in ,I will signal the event to tell AP something
How can I sure the event is signal??
Thanks Mark and Maxim?