mirror of http://git.nssm.cc/nssm/nssm.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
329 B
C
17 lines
329 B
C
#ifndef IMPORTS_H
|
|
#define IMPORTS_H
|
|
|
|
typedef BOOL (WINAPI *AttachConsole_ptr)(DWORD);
|
|
|
|
typedef struct {
|
|
HMODULE kernel32;
|
|
AttachConsole_ptr AttachConsole;
|
|
} imports_t;
|
|
|
|
HMODULE get_dll(const char *, unsigned long *);
|
|
FARPROC get_import(HMODULE, const char *, unsigned long *);
|
|
int get_imports();
|
|
void free_imports();
|
|
|
|
#endif
|