Update README.md

master
xerox 5 years ago
parent 3ca37aff06
commit 4f84f90e90

@ -15,4 +15,15 @@ Hook::Install(
Disabling the hook so you can call the original function.
```cpp
Hook::Disable((uintptr_t)&WriteFile);
WriteFile.....
```
Enabling the hook.
```
Hook::Enable((uintptr_t)&WriteFile);
```
# info
All hooks are stored inside of a `std::map<uintptr_t, std::unique_ptr<Detour>>` for quick and easy access to each object. All functions
interacting with this vector will use the address of the inline hook as the key so mak sure the address is easy to access in your code!
Loading…
Cancel
Save