Allow appending to the service environment.
[nssm.git] / imports.h
index f731ad6..33dbc19 100644 (file)
--- a/imports.h
+++ b/imports.h
@@ -2,10 +2,14 @@
 #define IMPORTS_H
 
 typedef BOOL (WINAPI *AttachConsole_ptr)(DWORD);
+typedef BOOL (WINAPI *SleepConditionVariableCS_ptr)(PCONDITION_VARIABLE, PCRITICAL_SECTION, DWORD);
+typedef void (WINAPI *WakeConditionVariable_ptr)(PCONDITION_VARIABLE);
 
 typedef struct {
   HMODULE kernel32;
   AttachConsole_ptr AttachConsole;
+  SleepConditionVariableCS_ptr SleepConditionVariableCS;
+  WakeConditionVariable_ptr WakeConditionVariable;
 } imports_t;
 
 HMODULE get_dll(const char *, unsigned long *);