mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-23 17:04:12 +08:00
22 lines
557 B
C++
22 lines
557 B
C++
#pragma once
|
|
|
|
// host.h
|
|
// 8/23/2013 jichi
|
|
// Branch: ITH/IHF.h, rev 105
|
|
|
|
#define DLLEXPORT __declspec(dllexport)
|
|
#include "hookman.h"
|
|
#include "../vnrhook/include/types.h"
|
|
#include <string>
|
|
|
|
DLLEXPORT void OpenHost();
|
|
DLLEXPORT bool StartHost();
|
|
DLLEXPORT void CloseHost();
|
|
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 = "");
|
|
DLLEXPORT bool RemoveHook(DWORD pid, DWORD addr);
|
|
|
|
// EOF
|