[OOBE] Out of box experience window (#9973)

This commit is contained in:
Seraphima Zykova
2021-03-02 20:56:37 +03:00
committed by GitHub
parent a12350274b
commit 078aa3d89b
81 changed files with 2460 additions and 78 deletions

View File

@@ -0,0 +1,20 @@
#pragma once
#include "pch.h"
#include "common/interop/shared_constants.h"
class NativeEventWaiter
{
static const int timeout = 1000;
HANDLE event_handle;
std::function<void()> action;
std::atomic<bool> aborting;
void run();
std::thread running_thread;
public:
NativeEventWaiter(const std::wstring& event_name, std::function<void()> action);
~NativeEventWaiter();
};