2016-01-06 00:01:17 +09:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
// host.h
|
|
|
|
// 8/23/2013 jichi
|
|
|
|
// Branch: ITH/IHF.h, rev 105
|
|
|
|
|
2018-07-19 00:46:52 -04:00
|
|
|
#define DLLEXPORT __declspec(dllexport)
|
2018-07-19 00:09:58 -04:00
|
|
|
#include "hookman.h"
|
2018-07-20 16:26:27 -04:00
|
|
|
#include "../vnrhook/include/types.h"
|
2018-07-12 13:59:05 -04:00
|
|
|
#include <string>
|
2016-01-06 00:01:17 +09:00
|
|
|
|
2018-07-17 17:01:56 -04:00
|
|
|
DLLEXPORT void OpenHost();
|
|
|
|
DLLEXPORT bool StartHost();
|
|
|
|
DLLEXPORT void CloseHost();
|
2018-07-21 11:09:07 -07:00
|
|
|
DLLEXPORT HookManager* GetHostHookManager();
|
|
|
|
DLLEXPORT bool InjectProcess(DWORD pid, DWORD timeout = 5000);
|
|
|
|
DLLEXPORT bool DetachProcess(DWORD pid);
|
|
|
|
DLLEXPORT bool InsertHook(DWORD pid, HookParam hp, std::string name = "");
|
2018-07-19 00:09:58 -04:00
|
|
|
DLLEXPORT bool RemoveHook(DWORD pid, DWORD addr);
|
2016-01-06 00:01:17 +09:00
|
|
|
|
|
|
|
// EOF
|