DHookDisableDetour Function

Disable the detour of the function described in the hook setup handle.

bool DHookDisableDetour(Handle setup, bool post, DHookCallback callback)

Parameters

Handle setup

Hook setup handle

bool post

true to disable a post hook.

DHookCallback callback

Callback function

Return Value

true if detour was disabled, false otherwise.

Errors

Hook handle is not setup for a detour or function is not detoured.