Say, if I created an event like so:
HANDLE hGlobalEvent = ::CreateEvent(NULL, FALSE, FALSE, NULL);
Is it possible to get its state by its handle w/o changing it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, there isn’t any direct way to do that. Even if there were a way to query an event object, the answer might change at any time, making the information immediately out of date.