Provides a single operation that sets (to signaled) the state of the specified event object and then resets it (to nonsignaled) after releasing the appropriate number of waiting threads. Preserves EBX, EDI, ESI, EBP, and segment registers.
The event object is set to a signaled state. If it is a manual reset event, all threads currently blocked on this event are unblocked if possible. If it is an auto reset event, one waiting thread is unblocked. Before returning, this function resets the event to nonsignaled.
This service can only be called when the current VM is the system VM.