4 typedef BOOL (WINAPI *AttachConsole_ptr)(DWORD);
5 typedef BOOL (WINAPI *SleepConditionVariableCS_ptr)(PCONDITION_VARIABLE, PCRITICAL_SECTION, DWORD);
6 typedef void (WINAPI *WakeConditionVariable_ptr)(PCONDITION_VARIABLE);
10 AttachConsole_ptr AttachConsole;
11 SleepConditionVariableCS_ptr SleepConditionVariableCS;
12 WakeConditionVariable_ptr WakeConditionVariable;
15 HMODULE get_dll(const char *, unsigned long *);
16 FARPROC get_import(HMODULE, const char *, unsigned long *);