/// <summary>
 /// Clear the event state
 /// </summary>
 /// <param name="throw_on_error">True to throw an exception on error.</param>
 /// <returns>The NT status code.</returns>
 public NtStatus Clear(bool throw_on_error)
 {
     return(NtSystemCalls.NtClearEvent(Handle).ToNtException(throw_on_error));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Clear the event state
 /// </summary>
 public void Clear()
 {
     NtSystemCalls.NtClearEvent(Handle).ToNtException();
 }