-
Notifications
You must be signed in to change notification settings - Fork 0
/
DLLX.h
20 lines (18 loc) · 670 Bytes
/
DLLX.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once
// DLLX.h
#pragma once
#include "DLLX_impl.h"
#ifdef DLLX_EXPORTS
#define DLLX_API __declspec(dllexport)
#else
#define DLLX_API __declspec(dllimport)
#endif
namespace DLLX {
DLLX_API void InjectDLL(DWORD processId, const wchar_t* dllPath);
DLLX_API void EjectDLL(DWORD processId, const wchar_t* dllName);
DLLX_API void SuspendProcess(DWORD processId);
DLLX_API void ResumeProcess(DWORD processId);
DLLX_API DWORD GetProcessIdByName(const wchar_t* processName);
DLLX_API void InjectDLLByName(const wchar_t* processName, const wchar_t* dllPath);
DLLX_API void EjectDLLByName(const wchar_t* processName, const wchar_t* dllName);
}