Crashpad
|
Creates a hidden window and waits for a WM_ENDSESSION
message, indicating that the session is ending and the application should terminate.
More...
#include "util/win/session_end_watcher.h"
Public Member Functions | |
~SessionEndWatcher () override | |
Public Member Functions inherited from crashpad::Thread | |
void | Start () |
Create a platform thread, and run ThreadMain() on that thread. Must be paired with a call to Join(). | |
void | Join () |
Block until ThreadMain() exits. This may be called from any thread. Must paired with a call to Start(). | |
Protected Member Functions | |
HWND | GetWindow () const |
void | WaitForStart () |
void | WaitForStop () |
Creates a hidden window and waits for a WM_ENDSESSION
message, indicating that the session is ending and the application should terminate.
A dedicated thread will be created to run the GetMessage()
-based message loop required to monitor for this message.
Users should subclass this class and receive notifications by implementing the SessionEndWatcherEvent() method.
|
override |