|
| bool | Hook (void **ppVtable, int index, hktype hkPtr, bool copyVtable=false, int vtableLen=0) |
| | Hook function in vtable More...
|
| |
| bool | Hook (void **ppVtable, int index, hktypeC hkPtr, C *pClass, bool copyVtable=false, int vtableLen=0) |
| | Hooks function in vtable More...
|
| |
| bool | Restore () |
| | Restore hooked function More...
|
| |
| 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::VTableDetour< Fn, C >::Hook |
( |
void ** |
ppVtable, |
|
|
int |
index, |
|
|
hktype |
hkPtr, |
|
|
bool |
copyVtable = false, |
|
|
int |
vtableLen = 0 |
|
) |
| |
|
inline |
Hook function in vtable
- Parameters
-
| ppVtable | Pointer to vtable pointer |
| index | Function index |
| hkPtr | Hook function address |
| copyVtable | if true, vtable will be copied and edited, otherwise existing vtable will be edited |
| vtableLen | Optional. Valid only when copyVtable is true. Number of function in vtable. Used to determine number of function to copy |
- Returns
- true on success
template<typename Fn , class C = NoClass>
| bool blackbone::VTableDetour< Fn, C >::Hook |
( |
void ** |
ppVtable, |
|
|
int |
index, |
|
|
hktypeC |
hkPtr, |
|
|
C * |
pClass, |
|
|
bool |
copyVtable = false, |
|
|
int |
vtableLen = 0 |
|
) |
| |
|
inline |
Hooks function in vtable
- Parameters
-
| ppVtable | Pointer to vtable pointer |
| index | Function index |
| hkPtr | Hook class member address |
| pClass | Hook class address |
| copyVtable | if true, vtable will be copied and edited, otherwise existing vtable will be edited |
| vtableLen | Optional. Valid only when copyVtable is true. Number of function in vtable. Used to determine number of function to copy |
- 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/VTableHook.hpp