Copyright (c) 2007-2008 by Michael Ellison. See COPYING.txt for the Game Accessibility Suite [GAS] License (MIT License).
Definition in file CATIntercept.h.
#include "CATInternal.h"
#include <psapi.h>
Go to the source code of this file.
Classes | |
struct | CATHOOK |
struct | CATINTERCEPT_COM_TABLE_ENTRY |
struct | CATINTERCEPT_DLL_TABLE_ENTRY |
class | CATIntercept |
Function interception class for Win32. More... | |
Defines | |
#define | CATHOOKFUNC _declspec(naked) |
Request the compiler to NOT introduce prologue/epilogue code into our hook functions. | |
#define | CATHOOK_PROLOGUE(numParams) |
#define | CATHOOK_EPILOGUE_RAW(numParams) |
#define | CATHOOK_EPILOGUE_WINAPI(numParams) |
#define | CATHOOK_EPILOGUE_CDECL(numParams) |
This is the CDECL version - only use with CDECL functions! | |
#define | CATHOOK_CALLORIGINAL_WINAPI(hookInst, numParams) |
#define | CATHOOK_CALLORIGINAL_CDECL(hookInst, numParams) |
CDECL version of call original - removes params off stack after call. | |
#define | CATHOOK_SETRETURN(retVal) |
Sets the return value from a hook function. |