mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-24 01:14:12 +08:00
26 lines
694 B
C
26 lines
694 B
C
|
#pragma once
|
||
|
|
||
|
// main.h
|
||
|
// 8/23/2013 jichi
|
||
|
// Branch: ITH/IHF_DLL.h, rev 66
|
||
|
|
||
|
#include "include/const.h"
|
||
|
#include "include/types.h"
|
||
|
|
||
|
void ConsoleOutput(LPCSTR text); // jichi 12/25/2013: Used to return length of sent text
|
||
|
DWORD NotifyHookInsert(DWORD addr);
|
||
|
DWORD NewHook(const HookParam &hp, LPCSTR name, DWORD flag = HOOK_ENGINE);
|
||
|
DWORD RemoveHook(DWORD addr);
|
||
|
DWORD SwitchTrigger(DWORD on);
|
||
|
DWORD GetFunctionAddr(const char *name, DWORD *addr, DWORD *base, DWORD *size, LPWSTR *base_name);
|
||
|
|
||
|
// 10/14/2014 jichi: disable GDI hooks
|
||
|
void EnableGDIHooks();
|
||
|
void EnableGDIPlusHooks();
|
||
|
void DisableGDIHooks();
|
||
|
void DisableGDIPlusHooks();
|
||
|
bool GDIHooksEnabled();
|
||
|
bool GDIPlusHooksEnabled();
|
||
|
|
||
|
// EOF
|