VOID WINAPI DECLSPEC_HOTPATCH Sleep(IN DWORD dwMilliseconds)
static unsigned __stdcall thread_proc_0(void *arg)
static HWND GetMainThreadFocus(void)
BOOL WINAPI PostMessageA(_In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
LRESULT WINAPI SendMessageA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
static INT_PTR CALLBACK DialogProc_0(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
HWND WINAPI SetFocus(_In_opt_ HWND)
#define DialogBoxA(i, t, p, f)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
_CRTIMP uintptr_t __cdecl _beginthreadex(_In_opt_ void *_Security, _In_ unsigned _StackSize, _In_ unsigned(__stdcall *_StartAddress)(void *), _In_opt_ void *_ArgList, _In_ unsigned _InitFlag, _Out_opt_ unsigned *_ThrdAddr)
static DWORD s_dwMainThreadID
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
#define ok_int(expression, result)
static INT_PTR CALLBACK DialogProc_1(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
DWORD WINAPI GetCurrentThreadId(VOID)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
VOID WINAPI keybd_event(_In_ BYTE, _In_ BYTE, _In_ DWORD, _In_ ULONG_PTR)
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
HWND WINAPI GetFocus(void)
static unsigned __stdcall thread_proc_1(void *arg)
static unsigned __stdcall thread_proc_2(void *arg)
BOOL WINAPI GetGUIThreadInfo(DWORD, LPGUITHREADINFO)