pub type ShellHookCallback = dyn FnMut(ShellHookMessage) -> bool + Send + 'static;Expand description
The return value should be false unless the message is ShellHookMessage::AppCommand
and the callback handles the [WM_COMMAND] message. In this case, the return should be true.