UnhookUserMessage Function

Removes one usermessage hook.

void UnhookUserMessage(UserMsg msg_id, MsgHook hook, bool intercept)

Parameters

UserMsg msg_id

Message index.

MsgHook hook

Function used for the hook.

bool intercept

Specifies whether the hook was an intercept hook or not.

Errors

Invalid message index.