2016-01-06 00:01:17 +09:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
// host.h
|
|
|
|
// 8/23/2013 jichi
|
|
|
|
// Branch: ITH/IHF.h, rev 105
|
|
|
|
|
|
|
|
//#include "host/settings.h"
|
|
|
|
#include "config.h"
|
|
|
|
#include "host/hookman.h"
|
2018-07-12 13:59:05 -04:00
|
|
|
#include <string>
|
2016-01-06 00:01:17 +09:00
|
|
|
|
|
|
|
struct HookParam;
|
|
|
|
|
2018-07-17 17:01:56 -04:00
|
|
|
DLLEXPORT void OpenHost();
|
|
|
|
DLLEXPORT bool StartHost();
|
|
|
|
DLLEXPORT void CloseHost();
|
|
|
|
DLLEXPORT void GetHostHookManager(HookManager **hookman);
|
|
|
|
DLLEXPORT bool InjectProcessById(DWORD pid, DWORD timeout = 5000);
|
|
|
|
DLLEXPORT bool DetachProcessById(DWORD pid);
|
|
|
|
DLLEXPORT DWORD InsertHook(DWORD pid, const HookParam *hp, std::string name = "");
|
|
|
|
DLLEXPORT DWORD RemoveHook(DWORD pid, DWORD addr);
|
2016-01-06 00:01:17 +09:00
|
|
|
|
|
|
|
// EOF
|