IN HANDLE KeyedEventHandle,
IN PVOID Key,
IN BOOLEAN Alertable,
IN PLARGE_INTEGER Timeout OPTIONAL );
This function is used for signal KeyedEvent object with value specified as Key parameter. If there are no other thread (or threads) waiting for the same KeyedEvent with the same Key value, waiting is performed up to NtWaitForKeyedEvent called by any other thread.
KeyedEventHandle
HANDLE to KeyedEvent object.
Key
Value used as KEY. Note that this value has to have lowest bit cleared (must divide by two).
Alertable
If set, waiting can be broken by alerting thread.