2016-01-05 23:01:17 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
// main.h
|
|
|
|
// 8/23/2013 jichi
|
|
|
|
// Branch: ITH/IHF_DLL.h, rev 66
|
|
|
|
|
2018-08-23 23:53:23 +08:00
|
|
|
#include "common.h"
|
|
|
|
#include "pipe.h"
|
2016-01-05 23:01:17 +08:00
|
|
|
|
|
|
|
void ConsoleOutput(LPCSTR text); // jichi 12/25/2013: Used to return length of sent text
|
2018-07-05 11:17:40 +08:00
|
|
|
void NotifyHookInsert(HookParam hp, LPCSTR name);
|
2018-08-24 00:18:03 +08:00
|
|
|
void NotifyHookRemove(unsigned __int64 addr);
|
2016-01-05 23:01:17 +08:00
|
|
|
DWORD NewHook(const HookParam &hp, LPCSTR name, DWORD flag = HOOK_ENGINE);
|
2018-08-24 00:18:03 +08:00
|
|
|
DWORD RemoveHook(unsigned __int64 addr);
|
2016-01-05 23:01:17 +08:00
|
|
|
DWORD SwitchTrigger(DWORD on);
|
|
|
|
|
|
|
|
// 10/14/2014 jichi: disable GDI hooks
|
|
|
|
void EnableGDIHooks();
|
|
|
|
void EnableGDIPlusHooks();
|
|
|
|
void DisableGDIHooks();
|
|
|
|
void DisableGDIPlusHooks();
|
|
|
|
bool GDIHooksEnabled();
|
|
|
|
bool GDIPlusHooksEnabled();
|
|
|
|
|
|
|
|
// EOF
|