Enables use of the event handle in the SetEvent and ResetEvent functions to modify the event's state.