20#pragma makedep testdll
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
#define DLL_PROCESS_DETACH
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)
BOOL WINAPI DECLSPEC_HOTPATCH SetEvent(IN HANDLE hEvent)
void CDECL _endthread(void)
void CDECL cdecl_thread_proc(void *param)
static HANDLE detach_event
void CDECL _endthreadex(unsigned int)
unsigned WINAPI stdcall_thread_proc(void *param)
static unsigned internal_thread_proc(void *param)
BOOL WINAPI DllMain(HINSTANCE instance_new, DWORD reason, LPVOID reserved)
void WINAPI set_detach_event(HANDLE event)
@ thread_exit_endthreadex