• Remove an installed message hook for a message handler.

    Parameters

    • handler: IMessageHandler

      The message handler of interest.

    • hook: MessageHook

      The message hook to remove.

      Notes

      It is safe to call this function while the hook is executing.

      If the hook is not installed, this is a no-op.

    Returns void