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