mirror of
https://github.com/DxWnd/DxWnd.reloaded
synced 2024-12-30 09:25:35 +01:00
45 lines
1.7 KiB
C
45 lines
1.7 KiB
C
extern int HookDirectDraw(HMODULE, int);
|
|
extern int HookDDProxy(HMODULE, int);
|
|
extern int HookDirect3D(HMODULE, int);
|
|
extern void HookOle32(HMODULE);
|
|
extern void HookGDI32(HMODULE);
|
|
extern int HookDirectInput(HMODULE, int);
|
|
extern void HookImeLib(HMODULE);
|
|
extern void HookKernel32(HMODULE);
|
|
extern void HookUser32(HMODULE);
|
|
extern void HookWinMM(HMODULE);
|
|
extern void HookAdvApi32(HMODULE);
|
|
|
|
extern void InitPosition(int, int, int, int, int, int);
|
|
//void InitWindowPos(int, int, int, int);
|
|
extern LPCSTR ProcToString(LPCSTR proc);
|
|
extern HRESULT HookDxDiag(REFIID, LPVOID FAR*);
|
|
|
|
extern FARPROC Remap_ddraw_ProcAddress(LPCSTR, HMODULE);
|
|
extern FARPROC Remap_d3d8_ProcAddress(LPCSTR, HMODULE);
|
|
extern FARPROC Remap_d3d9_ProcAddress(LPCSTR, HMODULE);
|
|
extern FARPROC Remap_d3d10_ProcAddress(LPCSTR, HMODULE);
|
|
extern FARPROC Remap_d3d10_1_ProcAddress(LPCSTR, HMODULE);
|
|
extern FARPROC Remap_d3d11_ProcAddress(LPCSTR, HMODULE);
|
|
extern FARPROC Remap_gl_ProcAddress(LPCSTR, HMODULE);
|
|
extern FARPROC Remap_smack_ProcAddress(LPCSTR, HMODULE);
|
|
extern FARPROC Remap_user32_ProcAddress(LPCSTR, HMODULE);
|
|
extern FARPROC Remap_kernel32_ProcAddress(LPCSTR, HMODULE);
|
|
extern FARPROC Remap_ole32_ProcAddress(LPCSTR, HMODULE);
|
|
extern FARPROC Remap_trust_ProcAddress(LPCSTR, HMODULE);
|
|
extern FARPROC Remap_WinMM_ProcAddress(LPCSTR, HMODULE);
|
|
extern FARPROC Remap_ImeLib_ProcAddress(LPCSTR, HMODULE);
|
|
extern FARPROC Remap_vfw_ProcAddress(LPCSTR, HMODULE);
|
|
extern FARPROC Remap_AdvApi32_ProcAddress(LPCSTR, HMODULE);
|
|
|
|
typedef struct {
|
|
char *APIName;
|
|
FARPROC OriginalAddress;
|
|
FARPROC *StoreAddress;
|
|
FARPROC HookerAddress;
|
|
} HookEntry_Type;
|
|
|
|
extern FARPROC RemapLibrary(LPCSTR, HMODULE, HookEntry_Type *);
|
|
extern void HookLibrary(HMODULE, HookEntry_Type *, char *);
|
|
extern void HookLibInit(HookEntry_Type *);
|