Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CAT/CATDLLInjector.cpp File Reference

CATDLLInjector.cpp File Reference


Detailed Description

DLL Injection functions for Win32.

Copyright (c) 2007-2008 by Michael Ellison. See COPYING.txt for the Game Accessibility Suite [GAS] License (MIT License).

Definition in file CATDLLInjector.cpp.

#include "CATDLLInjector.h"
#include "CATStreamFile.h"
#include <psapi.h>

Go to the source code of this file.

Variables

const CATUInt8 kAsmPatch []
const int kStartLocReturn = 2
const int kDLLNameOffAddr = 12
const int kLoadLibraryOffset = 18
const int kUnpatchFuncOffset = 23
const int kGetProcAddressOffset = 30
const int kHostProcOffset = 35
const int kHostBufferOffset = 40
const int kPatchSizeOffset = 45
const int kStartLocOffset = 50
const int kPassDataLenOffset = 55
const int kPassDataOffset = 60
const int kLoadLibraryAddress = 68
const int kGetProcAddress = 72
const int kUnpatchFuncNameAddress = 76
const int kDLLNameOffset = sizeof(kAsmPatch)


Generated on Mon Feb 11 04:10:00 2008 for Game Accessibility Suite by doxygen 1.5.4