Crashpad
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
crashpad::ScopedSetEvent Class Reference

Calls SetEvent() on destruction at latest. More...

#include "util/win/scoped_set_event.h"

Public Member Functions

 ScopedSetEvent (HANDLE event)
 
 ScopedSetEvent (const ScopedSetEvent &)=delete
 
ScopedSetEventoperator= (const ScopedSetEvent &)=delete
 
bool Set ()
 Calls SetEvent() immediately.
 

Detailed Description

Calls SetEvent() on destruction at latest.

Does not assume ownership of the event handle. Use ScopedKernelHANDLE for ownership.

Member Function Documentation

◆ Set()

bool crashpad::ScopedSetEvent::Set ( )

Calls SetEvent() immediately.

SetEvent() will not be called on destruction.

Returns
true on success, false on failure with a message logged.

The documentation for this class was generated from the following files: