|
| bool | Hook (type ptr, hktype hkPtr, HookType::e type, CallOrder::e order=CallOrder::HookFirst, ReturnMethod::e retType=ReturnMethod::UseOriginal) |
| | Hook function More...
|
| |
| bool | Hook (type Ptr, hktypeC hkPtr, C *pClass, HookType::e type, CallOrder::e order=CallOrder::HookFirst, ReturnMethod::e retType=ReturnMethod::UseOriginal) |
| | Hook function More...
|
| |
| bool | Restore () |
| | Restore hooked function More...
|
| |
template<typename Fn , class C = NoClass>
| bool blackbone::Detour< Fn, C >::Hook |
( |
type |
ptr, |
|
|
hktype |
hkPtr, |
|
|
HookType::e |
type, |
|
|
CallOrder::e |
order = CallOrder::HookFirst, |
|
|
ReturnMethod::e |
retType = ReturnMethod::UseOriginal |
|
) |
| |
|
inline |
Hook function
- Parameters
-
| ptr | Target function address |
| hkPtr | Hook function address |
| type | Hooking method |
| order | Call order. Hook before original or vice versa |
| retType | Return value. Use origianl or value from hook |
- Returns
- true on success
template<typename Fn , class C = NoClass>
| bool blackbone::Detour< Fn, C >::Hook |
( |
type |
Ptr, |
|
|
hktypeC |
hkPtr, |
|
|
C * |
pClass, |
|
|
HookType::e |
type, |
|
|
CallOrder::e |
order = CallOrder::HookFirst, |
|
|
ReturnMethod::e |
retType = ReturnMethod::UseOriginal |
|
) |
| |
|
inline |
Hook function
- Parameters
-
| Ptr | Target function address |
| hkPtr | Hook class member address |
| pClass | Hook class address |
| type | Hooking method |
| order | Call order. Hook before original or vice versa |
| retType | Return value. Use origianl or value from hook |
- Returns
- true on success
template<typename Fn , class C = NoClass>
Restore hooked function
- Returns
- true on success, false if not hooked
The documentation for this class was generated from the following file:
- C:/Users/Ton/Documents/visual studio 2013/projects/blackbone/src/BlackBone/LocalHook/LocalHook.hpp