Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATDLLInjector::InjectIntoProcess
CATResult CATDLLInjector::InjectIntoProcess ( const CATWChar dllPath,
CATUInt32  pid 
) [static]

Injects the specified DLL into the process.

Parameters:
dllPath Path to DLL file to inject into process
pid Process ID to inject DLL into
Returns:
CATResult 0 on success

Definition at line 21 of file CATDLLInjector.cpp.

References CAT_ERR_FILE_NOT_FOUND, CAT_ERR_REMOTE_ALLOC_RAM, CAT_ERR_REMOTE_CREATE_THREAD, CAT_ERR_REMOTE_THREAD_INVALID_EXIT, CAT_ERR_REMOTE_THREAD_TIMEOUT, CAT_ERR_REMOTE_WRITE, and CAT_ERR_UNABLE_TO_OPEN_PROCESS.

Referenced by GASPilot::OnCommand(), CATInjectionPropagate::ProcessFix(), and GASPilot::SteamWatch().


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