git://git.iain.cx/iain
/
nssm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
AttachConsole() isn't available in Windows 2000.
[nssm.git]
/
imports.h
1
#ifndef IMPORTS_H
2
#define IMPORTS_H
3
4
typedef BOOL (WINAPI *AttachConsole_ptr)(DWORD);
5
6
typedef struct {
7
HMODULE kernel32;
8
AttachConsole_ptr AttachConsole;
9
} imports_t;
10
11
HMODULE get_dll(const char *, unsigned long *);
12
FARPROC get_import(HMODULE, const char *, unsigned long *);
13
int get_imports();
14
void free_imports();
15
16
#endif