/// <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)); }
/// <summary> /// Clear the event state /// </summary> public void Clear() { NtSystemCalls.NtClearEvent(Handle).ToNtException(); }