-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathloader.h
More file actions
24 lines (19 loc) · 913 Bytes
/
Copy pathloader.h
File metadata and controls
24 lines (19 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
* loader.h
*
* Created on: 02.11.2011
* Author: ich
*/
#ifndef LOADER_H_
#define LOADER_H_
#include "dllexport.h"
//exported functions
extern "C" BOOL CLASS_DECLSPEC inject_dll_into_processid(DWORD pID, const wchar_t * DLL_NAME);
extern "C" BOOL CLASS_DECLSPEC inject_dll_into_processname(const wchar_t* processname, const wchar_t * DLL_NAME);
extern "C" BOOL CLASS_DECLSPEC inject_dll_into_processnameA(const char* processname, const char * DLL_NAME);
extern "C" BOOL CLASS_DECLSPEC inject_dll_into_processidA(DWORD pID, const char * DLL_NAME);
extern "C" BOOL CLASS_DECLSPEC inject_dll_new_process(const char* exe, const char* params, const char* dll, const char * workingDir);
extern "C" BOOL CLASS_DECLSPEC FileExists(const wchar_t *fileName);
//dll internal functions
extern "C" DWORD GetTargetThreadIDFromProcName(const wchar_t * ProcName);
#endif /* LOADER_H_ */