DHookEnableDetour
Enable the detour of the function described in the hook setup handle.
Parameters
bool post
true to make the hook a post hook. (If you need to change the return value or need the return
value use a post hook! If you need to change params and return use a pre and post hook!)
Return Value
bool true if detour was enabled, false otherwise.Error
Hook handle is not setup for a detour.