pub fn plugin_register_add_hook_post_command_2<T: HookPostCommand2>(
        &mut self,
    ) -> ReaperFunctionResult<()> {
        unsafe {
            self.plugin_register_add(RegistrationObject::HookPostCommand2(
                delegating_hook_post_command_2::<T>,
            ))?
        };
        Ok(())
    }
/// Registers a hook post command 2.
///
/// REAPER calls hook post commands 2 whenever a MIDI CC/mousewheel action has been performed.
///
/// See [`plugin_register_add_hook_command()`](#method.plugin_register_add_hook_command) for an
/// example.
///
/// # Errors
///
/// Returns an error if the registration failed.
Registers a hook post command 2.
REAPER calls hook post commands 2 whenever a MIDI CC/mousewheel action has been performed.


Registers a hook post command 2 . REAPER calls hook post commands 2 whenever a MIDI CC / mousewheel action has been performed .
pub fn plugin_register_add_hook_post_command_2<T: HookPostCommand2>(
        &mut self,
    ) -> ReaperFunctionResult<()> {
        unsafe {
            self.plugin_register_add(RegistrationObject::HookPostCommand2(
                delegating_hook_post_command_2::<T>,
            ))?
        };
        Ok(())
    }
pub fn plugin_register_add_hook_post_command_2 < T : HookPostCommand2 > ( & mut self , ) -> ReaperFunctionResult < ( ) > { unsafe { self . plugin_register_add ( RegistrationObject :: HookPostCommand2 ( delegating_hook_post_command_2 :: < T > , ) ) ? } ; Ok ( ( ) ) }
Registers a hook post command 2.
Registers a hook post command 2 .
&mut self
&mut self
errors
Returns an error if the registration failed.
Returns an error if the registration failed .