Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATIntercept::Restore
CATResult CATIntercept::Restore ( CATHOOK *&  hookInfo  ) 

Restores the target function and removes the hook.

Parameters:
hookInfo The hook to remove. Set ot 0 on successful return.
Returns:
CATResult CAT_SUCCESS on success.

Definition at line 117 of file CATIntercept.cpp.

References CAT_ERR_HOOK_NOT_FOUND, CAT_ERR_HOOK_PROTECT_FAILED, CAT_ERR_INVALID_PARAM, CAT_SUCCESS, CATRESULT, fHooks, CATHOOK::OrgInst, CATHOOK::OrgInstLen, and CATHOOK::Target.

Referenced by RestoreAll().


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