git://git.iain.cx/iain
/
nssm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added get_service_startup().
[nssm.git]
/
imports.h
diff --git
a/imports.h
b/imports.h
index
f731ad6
..
8b36778
100644
(file)
--- a/
imports.h
+++ b/
imports.h
@@
-2,13
+2,17
@@
#define IMPORTS_H
typedef BOOL (WINAPI *AttachConsole_ptr)(DWORD);
#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;
typedef struct {
HMODULE kernel32;
AttachConsole_ptr AttachConsole;
+ SleepConditionVariableCS_ptr SleepConditionVariableCS;
+ WakeConditionVariable_ptr WakeConditionVariable;
} imports_t;
} imports_t;
-HMODULE get_dll(const
char
*, unsigned long *);
+HMODULE get_dll(const
TCHAR
*, unsigned long *);
FARPROC get_import(HMODULE, const char *, unsigned long *);
int get_imports();
void free_imports();
FARPROC get_import(HMODULE, const char *, unsigned long *);
int get_imports();
void free_imports();