From 2d39bb6b34c7fbeba482e7b4f6c4f632273bff87 Mon Sep 17 00:00:00 2001 From: Benjamin Klum Date: Fri, 24 Jan 2025 14:17:33 +0100 Subject: [PATCH] Execute integration test using futures --- main/high/src/fx.rs | 4 +- main/high/src/fx_chain.rs | 11 +- main/high/src/main_future_middleware.rs | 1 + main/high/src/pan.rs | 4 +- main/high/src/reaper.rs | 9 +- main/high/src/track.rs | 13 +- main/low/src/reaper.rs | 24773 +--------------- main/low/src/swell.rs | 9670 +----- test/test-extension-plugin/src/lib.rs | 24 +- .../tests/reaper_integration_test.rs | 7 +- test/test-vst-plugin/src/lib.rs | 31 +- test/test/Cargo.toml | 3 +- test/test/src/api.rs | 26 +- test/test/src/assert.rs | 10 +- test/test/src/lib.rs | 198 +- test/test/src/tests.rs | 181 +- 16 files changed, 243 insertions(+), 34722 deletions(-) diff --git a/main/high/src/fx.rs b/main/high/src/fx.rs index e2481f21..aa702525 100644 --- a/main/high/src/fx.rs +++ b/main/high/src/fx.rs @@ -151,7 +151,7 @@ impl Fx { Ok(res) } - pub fn state_chunk(&self) -> Result { + pub fn state_chunk(&self) -> ReaperResult { let res = self .tag_chunk()? .move_left_cursor_right_to_start_of_next_line() @@ -496,7 +496,7 @@ impl Fx { // reconsider the ownership requirement of ChunkRegions as a whole (but then we need to // care about lifetimes). // TODO-low Supports track FX only - pub fn set_chunk(&self, chunk_region: ChunkRegion) -> Result<(), &'static str> { + pub fn set_chunk(&self, chunk_region: ChunkRegion) -> ReaperResult<()> { // First replace GUID in chunk with the one of this FX let mut parent_chunk = chunk_region.parent_chunk(); if let Some(fx_id_line) = chunk_region.find_line_starting_with("FXID ") { diff --git a/main/high/src/fx_chain.rs b/main/high/src/fx_chain.rs index d3f5e098..d94393a8 100644 --- a/main/high/src/fx_chain.rs +++ b/main/high/src/fx_chain.rs @@ -1,7 +1,8 @@ use crate::fx::{get_fx_guid, Fx}; use crate::guid::Guid; use crate::{ - get_track_fx_location, Chunk, ChunkRegion, Project, Reaper, Take, Track, MAX_TRACK_CHUNK_SIZE, + get_track_fx_location, Chunk, ChunkRegion, Project, Reaper, ReaperError, Take, Track, + MAX_TRACK_CHUNK_SIZE, }; use crate::error::ReaperResult; @@ -246,7 +247,7 @@ impl FxChain { Ok(()) } - pub fn add_fx_from_chunk(&self, chunk: &str) -> Result { + pub fn add_fx_from_chunk(&self, chunk: &str) -> ReaperResult { let mut track_chunk = self .track_fx_track() .ok_or("working on track FX only")? @@ -279,7 +280,7 @@ DOCKED 0 self.track_fx_track() .ok_or("working on track FX only")? .set_chunk(track_chunk)?; - self.last_fx().ok_or("FX not added") + self.last_fx().ok_or(ReaperError::new("FX not added")) } // Returned FX has GUIDs set @@ -311,7 +312,7 @@ DOCKED 0 // In Track this returns Chunk, here it returns ChunkRegion. Because REAPER always returns // the chunk of the complete track, not just of the FX chain. - pub fn chunk(&self) -> Result, &'static str> { + pub fn chunk(&self) -> ReaperResult> { let chunk = self .track_fx_track() .ok_or("working on track FX only")? @@ -320,7 +321,7 @@ DOCKED 0 Ok(res) } - pub fn set_chunk(&self, chunk: &str) -> Result<(), &'static str> { + pub fn set_chunk(&self, chunk: &str) -> ReaperResult<()> { let mut track_chunk = self .track_fx_track() .ok_or("works on track FX only")? diff --git a/main/high/src/main_future_middleware.rs b/main/high/src/main_future_middleware.rs index 003c3c41..5d05b12d 100644 --- a/main/high/src/main_future_middleware.rs +++ b/main/high/src/main_future_middleware.rs @@ -2,6 +2,7 @@ use crate::{local_run_loop_executor, run_loop_executor, Reaper}; use std::error::Error; use tracing::warn; +#[derive(Clone)] pub struct FutureSupport { main_thread_future_spawner: run_loop_executor::Spawner, local_main_thread_future_spawner: local_run_loop_executor::Spawner, diff --git a/main/high/src/pan.rs b/main/high/src/pan.rs index e598297f..13169b30 100644 --- a/main/high/src/pan.rs +++ b/main/high/src/pan.rs @@ -1,4 +1,4 @@ -use crate::Reaper; +use crate::{Reaper, ReaperError}; use reaper_medium::{ReaperPanValue, ReaperWidthValue}; use std::fmt; use std::str::FromStr; @@ -27,7 +27,7 @@ impl Pan { } impl FromStr for Pan { - type Err = &'static str; + type Err = ReaperError; fn from_str(s: &str) -> Result { // At the moment this doesn't fail. But in future we could add extra checks. diff --git a/main/high/src/reaper.rs b/main/high/src/reaper.rs index dc0ba9c9..06f3b0f7 100644 --- a/main/high/src/reaper.rs +++ b/main/high/src/reaper.rs @@ -312,11 +312,11 @@ impl Reaper { /// - Registers post command hooks (to inform listeners of executed actions) /// - Registers toggle actions (to report action on/off states) /// - Registers all previously defined actions - pub fn wake_up(&self) -> Result<(), &'static str> { + pub fn wake_up(&self) -> ReaperResult<()> { let reaper_main = self.reaper_main.get(); let mut session_status = reaper_main.session_status.borrow_mut(); if matches!(session_status.deref(), SessionStatus::Awake(_)) { - return Err("Session is already awake"); + return Err("Session is already awake".into()); } debug!("Waking up..."); // Functions @@ -349,10 +349,10 @@ impl Reaper { Ok(()) } - pub fn go_to_sleep(&self) -> Result<(), &'static str> { + pub fn go_to_sleep(&self) -> ReaperResult<()> { let mut session_status = self.reaper_main.get().session_status.borrow_mut(); let awake_state = match session_status.deref() { - SessionStatus::Sleeping => return Err("Session is already sleeping"), + SessionStatus::Sleeping => return Err("Session is already sleeping".into()), SessionStatus::Awake(s) => s, }; debug!("Going to sleep..."); @@ -753,6 +753,7 @@ fn register_action( } } +use crate::error::ReaperResult; #[cfg(feature = "sentry")] pub use sentry_impl::SentryConfig; diff --git a/main/high/src/track.rs b/main/high/src/track.rs index c3dd3205..d2db8ea9 100644 --- a/main/high/src/track.rs +++ b/main/high/src/track.rs @@ -6,7 +6,8 @@ use crate::guid::Guid; use crate::track_route::TrackRoute; use crate::{ - Chunk, ChunkRegion, Item, Pan, Project, Reaper, SendPartnerType, TrackRoutePartner, Width, + Chunk, ChunkRegion, Item, Pan, Project, Reaper, ReaperError, SendPartnerType, + TrackRoutePartner, Width, }; use crate::error::ReaperResult; @@ -898,7 +899,7 @@ impl Track { } } - pub fn enable_auto_arm(&self) -> Result<(), &'static str> { + pub fn enable_auto_arm(&self) -> ReaperResult<()> { let mut chunk = self.chunk(MAX_TRACK_CHUNK_SIZE, ChunkCacheHint::NormalMode)?; if get_auto_arm_chunk_line(&chunk).is_some() { return Ok(()); @@ -922,7 +923,7 @@ impl Track { Ok(()) } - pub fn disable_auto_arm(&self) -> Result<(), &'static str> { + pub fn disable_auto_arm(&self) -> ReaperResult<()> { let chunk = { let auto_arm_chunk_line = match self.auto_arm_chunk_line()? { None => return Ok(()), @@ -1250,8 +1251,10 @@ impl Track { } // TODO-low Report possible error - pub fn set_chunk(&self, chunk: Chunk) -> Result<(), &'static str> { - let string: String = chunk.try_into().map_err(|_| "unfortunate")?; + pub fn set_chunk(&self, chunk: Chunk) -> ReaperResult<()> { + let string: String = chunk + .try_into() + .map_err(|_| ReaperError::new("unfortunate"))?; let _ = unsafe { Reaper::get().medium_reaper().set_track_state_chunk( self.raw_unchecked(), diff --git a/main/low/src/reaper.rs b/main/low/src/reaper.rs index 64cd5991..dd85bd23 100644 --- a/main/low/src/reaper.rs +++ b/main/low/src/reaper.rs @@ -1,24772 +1 @@ -#![doc = r" This file is automatically generated by executing `cargo build --features generate`."] -#![doc = r""] -#![doc = r" **Make adjustments in `build.rs`, not in this file!**"] -#![allow(clippy::many_single_char_names)] -#![allow(clippy::too_many_arguments)] -#![allow(clippy::type_complexity)] -#![allow(clippy::missing_transmute_annotations)] -#![allow(non_upper_case_globals)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -use crate::{bindings::root, PluginContext}; -#[doc = r" This is the low-level API access point to all REAPER functions."] -#[doc = r""] -#[doc = r" In order to use it, you first must obtain an instance of this struct by invoking [`load()`]."] -#[doc = r""] -#[doc = r" `Default::default()` will give you an instance which panics on each function call. It's"] -#[doc = r" intended to be used for example code only."] -#[doc = r""] -#[doc = r" # Panics"] -#[doc = r""] -#[doc = r" Please note that it's possible that functions are *not available*. This can be the case if"] -#[doc = r" the user runs your plug-in in an older version of REAPER which doesn't have that function yet."] -#[doc = r" The availability of a function can be checked by inspecting the respective function pointer"] -#[doc = r" option accessible via the [`pointers()`] method. The actual methods in this structs are just"] -#[doc = r" convenience methods which unwrap the function pointers and panic if they are not available."] -#[doc = r""] -#[doc = r" [`load()`]: #method.load"] -#[doc = r" [`pointers()`]: #method.pointers"] -#[derive(Copy, Clone, Debug, Default)] -pub struct Reaper { - pub(crate) pointers: ReaperFunctionPointers, - pub(crate) plugin_context: Option, -} -impl Reaper { - #[doc = r" Loads all available REAPER functions from the given plug-in context."] - #[doc = r""] - #[doc = r" Returns a low-level `Reaper` instance which allows you to call these functions."] - pub fn load(plugin_context: PluginContext) -> Reaper { - let mut loaded_count = 0; - let mut pointers = unsafe { - ReaperFunctionPointers { - loaded_count: 0, - __mergesort: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(__mergesort)).as_ptr()), - ), - AddCustomizableMenu: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(AddCustomizableMenu)).as_ptr()), - ), - AddExtensionsMainMenu: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(AddExtensionsMainMenu)).as_ptr()), - ), - AddMediaItemToTrack: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(AddMediaItemToTrack)).as_ptr()), - ), - AddProjectMarker: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(AddProjectMarker)).as_ptr()), - ), - AddProjectMarker2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(AddProjectMarker2)).as_ptr()), - ), - AddRemoveReaScript: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(AddRemoveReaScript)).as_ptr()), - ), - AddTakeToMediaItem: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(AddTakeToMediaItem)).as_ptr()), - ), - AddTempoTimeSigMarker: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(AddTempoTimeSigMarker)).as_ptr()), - ), - adjustZoom: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(adjustZoom)).as_ptr()), - ), - AnyTrackSolo: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(AnyTrackSolo)).as_ptr()), - ), - APIExists: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(APIExists)).as_ptr()), - ), - APITest: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(APITest)).as_ptr()), - ), - ApplyNudge: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(ApplyNudge)).as_ptr()), - ), - ArmCommand: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(ArmCommand)).as_ptr()), - ), - Audio_Init: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(Audio_Init)).as_ptr()), - ), - Audio_IsPreBuffer: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Audio_IsPreBuffer)).as_ptr()), - ), - Audio_IsRunning: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Audio_IsRunning)).as_ptr()), - ), - Audio_Quit: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(Audio_Quit)).as_ptr()), - ), - Audio_RegHardwareHook: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Audio_RegHardwareHook)).as_ptr()), - ), - AudioAccessorStateChanged: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(AudioAccessorStateChanged)).as_ptr(), - ), - ), - AudioAccessorUpdate: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(AudioAccessorUpdate)).as_ptr()), - ), - AudioAccessorValidateState: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(AudioAccessorValidateState)).as_ptr(), - ), - ), - BypassFxAllTracks: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(BypassFxAllTracks)).as_ptr()), - ), - CalcMediaSrcLoudness: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CalcMediaSrcLoudness)).as_ptr()), - ), - CalculateNormalization: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CalculateNormalization)).as_ptr()), - ), - CalculatePeaks: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CalculatePeaks)).as_ptr()), - ), - CalculatePeaksFloatSrcPtr: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(CalculatePeaksFloatSrcPtr)).as_ptr(), - ), - ), - ClearAllRecArmed: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ClearAllRecArmed)).as_ptr()), - ), - ClearConsole: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(ClearConsole)).as_ptr()), - ), - ClearPeakCache: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ClearPeakCache)).as_ptr()), - ), - ColorFromNative: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ColorFromNative)).as_ptr()), - ), - ColorToNative: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(ColorToNative)).as_ptr()), - ), - CountActionShortcuts: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CountActionShortcuts)).as_ptr()), - ), - CountAutomationItems: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CountAutomationItems)).as_ptr()), - ), - CountEnvelopePoints: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CountEnvelopePoints)).as_ptr()), - ), - CountEnvelopePointsEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CountEnvelopePointsEx)).as_ptr()), - ), - CountMediaItems: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CountMediaItems)).as_ptr()), - ), - CountProjectMarkers: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CountProjectMarkers)).as_ptr()), - ), - CountSelectedMediaItems: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CountSelectedMediaItems)).as_ptr()), - ), - CountSelectedTracks: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CountSelectedTracks)).as_ptr()), - ), - CountSelectedTracks2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CountSelectedTracks2)).as_ptr()), - ), - CountTakeEnvelopes: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CountTakeEnvelopes)).as_ptr()), - ), - CountTakes: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(CountTakes)).as_ptr()), - ), - CountTCPFXParms: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CountTCPFXParms)).as_ptr()), - ), - CountTempoTimeSigMarkers: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(CountTempoTimeSigMarkers)).as_ptr(), - ), - ), - CountTrackEnvelopes: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CountTrackEnvelopes)).as_ptr()), - ), - CountTrackMediaItems: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CountTrackMediaItems)).as_ptr()), - ), - CountTracks: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(CountTracks)).as_ptr()), - ), - CreateLocalOscHandler: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CreateLocalOscHandler)).as_ptr()), - ), - CreateMIDIInput: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CreateMIDIInput)).as_ptr()), - ), - CreateMIDIOutput: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CreateMIDIOutput)).as_ptr()), - ), - CreateNewMIDIItemInProj: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CreateNewMIDIItemInProj)).as_ptr()), - ), - CreateTakeAudioAccessor: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CreateTakeAudioAccessor)).as_ptr()), - ), - CreateTrackAudioAccessor: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(CreateTrackAudioAccessor)).as_ptr(), - ), - ), - CreateTrackSend: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CreateTrackSend)).as_ptr()), - ), - CSurf_FlushUndo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_FlushUndo)).as_ptr()), - ), - CSurf_GetTouchState: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_GetTouchState)).as_ptr()), - ), - CSurf_GoEnd: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(CSurf_GoEnd)).as_ptr()), - ), - CSurf_GoStart: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(CSurf_GoStart)).as_ptr()), - ), - CSurf_NumTracks: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_NumTracks)).as_ptr()), - ), - CSurf_OnArrow: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnArrow)).as_ptr()), - ), - CSurf_OnFwd: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnFwd)).as_ptr()), - ), - CSurf_OnFXChange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnFXChange)).as_ptr()), - ), - CSurf_OnInputMonitorChange: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(CSurf_OnInputMonitorChange)).as_ptr(), - ), - ), - CSurf_OnInputMonitorChangeEx: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(CSurf_OnInputMonitorChangeEx)).as_ptr(), - )), - CSurf_OnMuteChange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnMuteChange)).as_ptr()), - ), - CSurf_OnMuteChangeEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnMuteChangeEx)).as_ptr()), - ), - CSurf_OnOscControlMessage: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(CSurf_OnOscControlMessage)).as_ptr(), - ), - ), - CSurf_OnOscControlMessage2: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(CSurf_OnOscControlMessage2)).as_ptr(), - ), - ), - CSurf_OnPanChange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnPanChange)).as_ptr()), - ), - CSurf_OnPanChangeEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnPanChangeEx)).as_ptr()), - ), - CSurf_OnPause: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnPause)).as_ptr()), - ), - CSurf_OnPlay: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnPlay)).as_ptr()), - ), - CSurf_OnPlayRateChange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnPlayRateChange)).as_ptr()), - ), - CSurf_OnRecArmChange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnRecArmChange)).as_ptr()), - ), - CSurf_OnRecArmChangeEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnRecArmChangeEx)).as_ptr()), - ), - CSurf_OnRecord: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnRecord)).as_ptr()), - ), - CSurf_OnRecvPanChange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnRecvPanChange)).as_ptr()), - ), - CSurf_OnRecvVolumeChange: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(CSurf_OnRecvVolumeChange)).as_ptr(), - ), - ), - CSurf_OnRew: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnRew)).as_ptr()), - ), - CSurf_OnRewFwd: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnRewFwd)).as_ptr()), - ), - CSurf_OnScroll: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnScroll)).as_ptr()), - ), - CSurf_OnSelectedChange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnSelectedChange)).as_ptr()), - ), - CSurf_OnSendPanChange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnSendPanChange)).as_ptr()), - ), - CSurf_OnSendVolumeChange: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(CSurf_OnSendVolumeChange)).as_ptr(), - ), - ), - CSurf_OnSoloChange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnSoloChange)).as_ptr()), - ), - CSurf_OnSoloChangeEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnSoloChangeEx)).as_ptr()), - ), - CSurf_OnStop: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnStop)).as_ptr()), - ), - CSurf_OnTempoChange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnTempoChange)).as_ptr()), - ), - CSurf_OnTrackSelection: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnTrackSelection)).as_ptr()), - ), - CSurf_OnVolumeChange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnVolumeChange)).as_ptr()), - ), - CSurf_OnVolumeChangeEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnVolumeChangeEx)).as_ptr()), - ), - CSurf_OnWidthChange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnWidthChange)).as_ptr()), - ), - CSurf_OnWidthChangeEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnWidthChangeEx)).as_ptr()), - ), - CSurf_OnZoom: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(CSurf_OnZoom)).as_ptr()), - ), - CSurf_ResetAllCachedVolPanStates: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(CSurf_ResetAllCachedVolPanStates)).as_ptr(), - )), - CSurf_ScrubAmt: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_ScrubAmt)).as_ptr()), - ), - CSurf_SetAutoMode: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_SetAutoMode)).as_ptr()), - ), - CSurf_SetPlayState: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_SetPlayState)).as_ptr()), - ), - CSurf_SetRepeatState: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_SetRepeatState)).as_ptr()), - ), - CSurf_SetSurfaceMute: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_SetSurfaceMute)).as_ptr()), - ), - CSurf_SetSurfacePan: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_SetSurfacePan)).as_ptr()), - ), - CSurf_SetSurfaceRecArm: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_SetSurfaceRecArm)).as_ptr()), - ), - CSurf_SetSurfaceSelected: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(CSurf_SetSurfaceSelected)).as_ptr(), - ), - ), - CSurf_SetSurfaceSolo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_SetSurfaceSolo)).as_ptr()), - ), - CSurf_SetSurfaceVolume: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_SetSurfaceVolume)).as_ptr()), - ), - CSurf_SetTrackListChange: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(CSurf_SetTrackListChange)).as_ptr(), - ), - ), - CSurf_TrackFromID: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_TrackFromID)).as_ptr()), - ), - CSurf_TrackToID: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CSurf_TrackToID)).as_ptr()), - ), - DB2SLIDER: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(DB2SLIDER)).as_ptr()), - ), - DeleteActionShortcut: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(DeleteActionShortcut)).as_ptr()), - ), - DeleteEnvelopePointEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(DeleteEnvelopePointEx)).as_ptr()), - ), - DeleteEnvelopePointRange: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(DeleteEnvelopePointRange)).as_ptr(), - ), - ), - DeleteEnvelopePointRangeEx: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(DeleteEnvelopePointRangeEx)).as_ptr(), - ), - ), - DeleteExtState: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(DeleteExtState)).as_ptr()), - ), - DeleteProjectMarker: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(DeleteProjectMarker)).as_ptr()), - ), - DeleteProjectMarkerByIndex: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(DeleteProjectMarkerByIndex)).as_ptr(), - ), - ), - DeleteTakeMarker: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(DeleteTakeMarker)).as_ptr()), - ), - DeleteTakeStretchMarkers: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(DeleteTakeStretchMarkers)).as_ptr(), - ), - ), - DeleteTempoTimeSigMarker: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(DeleteTempoTimeSigMarker)).as_ptr(), - ), - ), - DeleteTrack: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(DeleteTrack)).as_ptr()), - ), - DeleteTrackMediaItem: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(DeleteTrackMediaItem)).as_ptr()), - ), - DestroyAudioAccessor: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(DestroyAudioAccessor)).as_ptr()), - ), - DestroyLocalOscHandler: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(DestroyLocalOscHandler)).as_ptr()), - ), - DoActionShortcutDialog: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(DoActionShortcutDialog)).as_ptr()), - ), - Dock_UpdateDockID: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Dock_UpdateDockID)).as_ptr()), - ), - DockGetPosition: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(DockGetPosition)).as_ptr()), - ), - DockIsChildOfDock: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(DockIsChildOfDock)).as_ptr()), - ), - DockWindowActivate: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(DockWindowActivate)).as_ptr()), - ), - DockWindowAdd: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(DockWindowAdd)).as_ptr()), - ), - DockWindowAddEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(DockWindowAddEx)).as_ptr()), - ), - DockWindowRefresh: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(DockWindowRefresh)).as_ptr()), - ), - DockWindowRefreshForHWND: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(DockWindowRefreshForHWND)).as_ptr(), - ), - ), - DockWindowRemove: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(DockWindowRemove)).as_ptr()), - ), - DuplicateCustomizableMenu: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(DuplicateCustomizableMenu)).as_ptr(), - ), - ), - EditTempoTimeSigMarker: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(EditTempoTimeSigMarker)).as_ptr()), - ), - EnsureNotCompletelyOffscreen: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(EnsureNotCompletelyOffscreen)).as_ptr(), - )), - EnumerateFiles: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(EnumerateFiles)).as_ptr()), - ), - EnumerateSubdirectories: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(EnumerateSubdirectories)).as_ptr()), - ), - EnumInstalledFX: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(EnumInstalledFX)).as_ptr()), - ), - EnumPitchShiftModes: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(EnumPitchShiftModes)).as_ptr()), - ), - EnumPitchShiftSubModes: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(EnumPitchShiftSubModes)).as_ptr()), - ), - EnumProjectMarkers: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(EnumProjectMarkers)).as_ptr()), - ), - EnumProjectMarkers2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(EnumProjectMarkers2)).as_ptr()), - ), - EnumProjectMarkers3: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(EnumProjectMarkers3)).as_ptr()), - ), - EnumProjects: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(EnumProjects)).as_ptr()), - ), - EnumProjExtState: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(EnumProjExtState)).as_ptr()), - ), - EnumRegionRenderMatrix: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(EnumRegionRenderMatrix)).as_ptr()), - ), - EnumTrackMIDIProgramNames: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(EnumTrackMIDIProgramNames)).as_ptr(), - ), - ), - EnumTrackMIDIProgramNamesEx: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(EnumTrackMIDIProgramNamesEx)).as_ptr(), - )), - Envelope_Evaluate: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Envelope_Evaluate)).as_ptr()), - ), - Envelope_FormatValue: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Envelope_FormatValue)).as_ptr()), - ), - Envelope_GetParentTake: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Envelope_GetParentTake)).as_ptr()), - ), - Envelope_GetParentTrack: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Envelope_GetParentTrack)).as_ptr()), - ), - Envelope_SortPoints: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Envelope_SortPoints)).as_ptr()), - ), - Envelope_SortPointsEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Envelope_SortPointsEx)).as_ptr()), - ), - ExecProcess: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(ExecProcess)).as_ptr()), - ), - file_exists: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(file_exists)).as_ptr()), - ), - FindTempoTimeSigMarker: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(FindTempoTimeSigMarker)).as_ptr()), - ), - format_timestr: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(format_timestr)).as_ptr()), - ), - format_timestr_len: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(format_timestr_len)).as_ptr()), - ), - format_timestr_pos: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(format_timestr_pos)).as_ptr()), - ), - FreeHeapPtr: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(FreeHeapPtr)).as_ptr()), - ), - genGuid: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(genGuid)).as_ptr()), - ), - get_config_var: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(get_config_var)).as_ptr()), - ), - get_config_var_string: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(get_config_var_string)).as_ptr()), - ), - get_ini_file: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(get_ini_file)).as_ptr()), - ), - get_midi_config_var: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(get_midi_config_var)).as_ptr()), - ), - GetActionShortcutDesc: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetActionShortcutDesc)).as_ptr()), - ), - GetActiveTake: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetActiveTake)).as_ptr()), - ), - GetAllProjectPlayStates: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetAllProjectPlayStates)).as_ptr()), - ), - GetAppVersion: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetAppVersion)).as_ptr()), - ), - GetArmedCommand: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetArmedCommand)).as_ptr()), - ), - GetAudioAccessorEndTime: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetAudioAccessorEndTime)).as_ptr()), - ), - GetAudioAccessorHash: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetAudioAccessorHash)).as_ptr()), - ), - GetAudioAccessorSamples: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetAudioAccessorSamples)).as_ptr()), - ), - GetAudioAccessorStartTime: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetAudioAccessorStartTime)).as_ptr(), - ), - ), - GetAudioDeviceInfo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetAudioDeviceInfo)).as_ptr()), - ), - GetColorTheme: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetColorTheme)).as_ptr()), - ), - GetColorThemeStruct: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetColorThemeStruct)).as_ptr()), - ), - GetConfigWantsDock: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetConfigWantsDock)).as_ptr()), - ), - GetContextMenu: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetContextMenu)).as_ptr()), - ), - GetCurrentProjectInLoadSave: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetCurrentProjectInLoadSave)).as_ptr(), - )), - GetCursorContext: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetCursorContext)).as_ptr()), - ), - GetCursorContext2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetCursorContext2)).as_ptr()), - ), - GetCursorPosition: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetCursorPosition)).as_ptr()), - ), - GetCursorPositionEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetCursorPositionEx)).as_ptr()), - ), - GetDisplayedMediaItemColor: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetDisplayedMediaItemColor)).as_ptr(), - ), - ), - GetDisplayedMediaItemColor2: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetDisplayedMediaItemColor2)).as_ptr(), - )), - GetEnvelopeInfo_Value: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetEnvelopeInfo_Value)).as_ptr()), - ), - GetEnvelopeName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetEnvelopeName)).as_ptr()), - ), - GetEnvelopePoint: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetEnvelopePoint)).as_ptr()), - ), - GetEnvelopePointByTime: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetEnvelopePointByTime)).as_ptr()), - ), - GetEnvelopePointByTimeEx: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetEnvelopePointByTimeEx)).as_ptr(), - ), - ), - GetEnvelopePointEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetEnvelopePointEx)).as_ptr()), - ), - GetEnvelopeScalingMode: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetEnvelopeScalingMode)).as_ptr()), - ), - GetEnvelopeStateChunk: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetEnvelopeStateChunk)).as_ptr()), - ), - GetEnvelopeUIState: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetEnvelopeUIState)).as_ptr()), - ), - GetExePath: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetExePath)).as_ptr()), - ), - GetExtState: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetExtState)).as_ptr()), - ), - GetFocusedFX: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetFocusedFX)).as_ptr()), - ), - GetFocusedFX2: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetFocusedFX2)).as_ptr()), - ), - GetFreeDiskSpaceForRecordPath: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetFreeDiskSpaceForRecordPath)).as_ptr(), - )), - GetFXEnvelope: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetFXEnvelope)).as_ptr()), - ), - GetGlobalAutomationOverride: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetGlobalAutomationOverride)).as_ptr(), - )), - GetHZoomLevel: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetHZoomLevel)).as_ptr()), - ), - GetIconThemePointer: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetIconThemePointer)).as_ptr()), - ), - GetIconThemePointerForDPI: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetIconThemePointerForDPI)).as_ptr(), - ), - ), - GetIconThemeStruct: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetIconThemeStruct)).as_ptr()), - ), - GetInputActivityLevel: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetInputActivityLevel)).as_ptr()), - ), - GetInputChannelName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetInputChannelName)).as_ptr()), - ), - GetInputOutputLatency: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetInputOutputLatency)).as_ptr()), - ), - GetItemEditingTime2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetItemEditingTime2)).as_ptr()), - ), - GetItemFromPoint: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetItemFromPoint)).as_ptr()), - ), - GetItemProjectContext: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetItemProjectContext)).as_ptr()), - ), - GetItemStateChunk: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetItemStateChunk)).as_ptr()), - ), - GetLastColorThemeFile: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetLastColorThemeFile)).as_ptr()), - ), - GetLastMarkerAndCurRegion: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetLastMarkerAndCurRegion)).as_ptr(), - ), - ), - GetLastTouchedFX: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetLastTouchedFX)).as_ptr()), - ), - GetLastTouchedTrack: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetLastTouchedTrack)).as_ptr()), - ), - GetMainHwnd: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetMainHwnd)).as_ptr()), - ), - GetMasterMuteSoloFlags: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMasterMuteSoloFlags)).as_ptr()), - ), - GetMasterTrack: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMasterTrack)).as_ptr()), - ), - GetMasterTrackVisibility: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetMasterTrackVisibility)).as_ptr(), - ), - ), - GetMaxMidiInputs: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMaxMidiInputs)).as_ptr()), - ), - GetMaxMidiOutputs: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMaxMidiOutputs)).as_ptr()), - ), - GetMediaFileMetadata: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaFileMetadata)).as_ptr()), - ), - GetMediaItem: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetMediaItem)).as_ptr()), - ), - GetMediaItem_Track: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaItem_Track)).as_ptr()), - ), - GetMediaItemInfo_Value: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaItemInfo_Value)).as_ptr()), - ), - GetMediaItemNumTakes: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaItemNumTakes)).as_ptr()), - ), - GetMediaItemTake: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaItemTake)).as_ptr()), - ), - GetMediaItemTake_Item: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaItemTake_Item)).as_ptr()), - ), - GetMediaItemTake_Peaks: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaItemTake_Peaks)).as_ptr()), - ), - GetMediaItemTake_Source: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaItemTake_Source)).as_ptr()), - ), - GetMediaItemTake_Track: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaItemTake_Track)).as_ptr()), - ), - GetMediaItemTakeByGUID: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaItemTakeByGUID)).as_ptr()), - ), - GetMediaItemTakeInfo_Value: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetMediaItemTakeInfo_Value)).as_ptr(), - ), - ), - GetMediaItemTrack: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaItemTrack)).as_ptr()), - ), - GetMediaSourceFileName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaSourceFileName)).as_ptr()), - ), - GetMediaSourceLength: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaSourceLength)).as_ptr()), - ), - GetMediaSourceNumChannels: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetMediaSourceNumChannels)).as_ptr(), - ), - ), - GetMediaSourceParent: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaSourceParent)).as_ptr()), - ), - GetMediaSourceSampleRate: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetMediaSourceSampleRate)).as_ptr(), - ), - ), - GetMediaSourceType: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaSourceType)).as_ptr()), - ), - GetMediaTrackInfo_Value: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMediaTrackInfo_Value)).as_ptr()), - ), - GetMIDIInputName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMIDIInputName)).as_ptr()), - ), - GetMIDIOutputName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMIDIOutputName)).as_ptr()), - ), - GetMixerScroll: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMixerScroll)).as_ptr()), - ), - GetMouseModifier: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMouseModifier)).as_ptr()), - ), - GetMousePosition: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetMousePosition)).as_ptr()), - ), - GetNumAudioInputs: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetNumAudioInputs)).as_ptr()), - ), - GetNumAudioOutputs: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetNumAudioOutputs)).as_ptr()), - ), - GetNumMIDIInputs: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetNumMIDIInputs)).as_ptr()), - ), - GetNumMIDIOutputs: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetNumMIDIOutputs)).as_ptr()), - ), - GetNumTakeMarkers: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetNumTakeMarkers)).as_ptr()), - ), - GetNumTracks: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetNumTracks)).as_ptr()), - ), - GetOS: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetOS)).as_ptr()), - ), - GetOutputChannelName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetOutputChannelName)).as_ptr()), - ), - GetOutputLatency: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetOutputLatency)).as_ptr()), - ), - GetParentTrack: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetParentTrack)).as_ptr()), - ), - GetPeakFileName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetPeakFileName)).as_ptr()), - ), - GetPeakFileNameEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetPeakFileNameEx)).as_ptr()), - ), - GetPeakFileNameEx2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetPeakFileNameEx2)).as_ptr()), - ), - GetPeaksBitmap: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetPeaksBitmap)).as_ptr()), - ), - GetPlayPosition: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetPlayPosition)).as_ptr()), - ), - GetPlayPosition2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetPlayPosition2)).as_ptr()), - ), - GetPlayPosition2Ex: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetPlayPosition2Ex)).as_ptr()), - ), - GetPlayPositionEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetPlayPositionEx)).as_ptr()), - ), - GetPlayState: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetPlayState)).as_ptr()), - ), - GetPlayStateEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetPlayStateEx)).as_ptr()), - ), - GetPreferredDiskReadMode: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetPreferredDiskReadMode)).as_ptr(), - ), - ), - GetPreferredDiskReadModePeak: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetPreferredDiskReadModePeak)).as_ptr(), - )), - GetPreferredDiskWriteMode: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetPreferredDiskWriteMode)).as_ptr(), - ), - ), - GetProjectLength: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetProjectLength)).as_ptr()), - ), - GetProjectName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetProjectName)).as_ptr()), - ), - GetProjectPath: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetProjectPath)).as_ptr()), - ), - GetProjectPathEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetProjectPathEx)).as_ptr()), - ), - GetProjectStateChangeCount: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetProjectStateChangeCount)).as_ptr(), - ), - ), - GetProjectTimeOffset: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetProjectTimeOffset)).as_ptr()), - ), - GetProjectTimeSignature: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetProjectTimeSignature)).as_ptr()), - ), - GetProjectTimeSignature2: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetProjectTimeSignature2)).as_ptr(), - ), - ), - GetProjExtState: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetProjExtState)).as_ptr()), - ), - GetResourcePath: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetResourcePath)).as_ptr()), - ), - GetSelectedEnvelope: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSelectedEnvelope)).as_ptr()), - ), - GetSelectedMediaItem: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSelectedMediaItem)).as_ptr()), - ), - GetSelectedTrack: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSelectedTrack)).as_ptr()), - ), - GetSelectedTrack2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSelectedTrack2)).as_ptr()), - ), - GetSelectedTrackEnvelope: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetSelectedTrackEnvelope)).as_ptr(), - ), - ), - GetSet_ArrangeView2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSet_ArrangeView2)).as_ptr()), - ), - GetSet_LoopTimeRange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSet_LoopTimeRange)).as_ptr()), - ), - GetSet_LoopTimeRange2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSet_LoopTimeRange2)).as_ptr()), - ), - GetSetAutomationItemInfo: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetSetAutomationItemInfo)).as_ptr(), - ), - ), - GetSetAutomationItemInfo_String: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetSetAutomationItemInfo_String)).as_ptr(), - )), - GetSetEnvelopeInfo_String: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetSetEnvelopeInfo_String)).as_ptr(), - ), - ), - GetSetEnvelopeState: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetEnvelopeState)).as_ptr()), - ), - GetSetEnvelopeState2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetEnvelopeState2)).as_ptr()), - ), - GetSetItemState: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetItemState)).as_ptr()), - ), - GetSetItemState2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetItemState2)).as_ptr()), - ), - GetSetMediaItemInfo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetMediaItemInfo)).as_ptr()), - ), - GetSetMediaItemInfo_String: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetSetMediaItemInfo_String)).as_ptr(), - ), - ), - GetSetMediaItemTakeInfo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetMediaItemTakeInfo)).as_ptr()), - ), - GetSetMediaItemTakeInfo_String: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetSetMediaItemTakeInfo_String)).as_ptr(), - )), - GetSetMediaTrackInfo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetMediaTrackInfo)).as_ptr()), - ), - GetSetMediaTrackInfo_String: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetSetMediaTrackInfo_String)).as_ptr(), - )), - GetSetObjectState: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetObjectState)).as_ptr()), - ), - GetSetObjectState2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetObjectState2)).as_ptr()), - ), - GetSetProjectAuthor: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetProjectAuthor)).as_ptr()), - ), - GetSetProjectGrid: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetProjectGrid)).as_ptr()), - ), - GetSetProjectInfo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetProjectInfo)).as_ptr()), - ), - GetSetProjectInfo_String: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetSetProjectInfo_String)).as_ptr(), - ), - ), - GetSetProjectNotes: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetProjectNotes)).as_ptr()), - ), - GetSetRepeat: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetSetRepeat)).as_ptr()), - ), - GetSetRepeatEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetRepeatEx)).as_ptr()), - ), - GetSetTempoTimeSigMarkerFlag: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetSetTempoTimeSigMarkerFlag)).as_ptr(), - )), - GetSetTrackGroupMembership: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetSetTrackGroupMembership)).as_ptr(), - ), - ), - GetSetTrackGroupMembershipEx: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetSetTrackGroupMembershipEx)).as_ptr(), - )), - GetSetTrackGroupMembershipHigh: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetSetTrackGroupMembershipHigh)).as_ptr(), - )), - GetSetTrackMIDISupportFile: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetSetTrackMIDISupportFile)).as_ptr(), - ), - ), - GetSetTrackSendInfo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetTrackSendInfo)).as_ptr()), - ), - GetSetTrackSendInfo_String: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetSetTrackSendInfo_String)).as_ptr(), - ), - ), - GetSetTrackState: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetTrackState)).as_ptr()), - ), - GetSetTrackState2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSetTrackState2)).as_ptr()), - ), - GetSubProjectFromSource: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetSubProjectFromSource)).as_ptr()), - ), - GetTake: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetTake)).as_ptr()), - ), - GetTakeEnvelope: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTakeEnvelope)).as_ptr()), - ), - GetTakeEnvelopeByName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTakeEnvelopeByName)).as_ptr()), - ), - GetTakeMarker: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetTakeMarker)).as_ptr()), - ), - GetTakeName: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetTakeName)).as_ptr()), - ), - GetTakeNumStretchMarkers: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetTakeNumStretchMarkers)).as_ptr(), - ), - ), - GetTakeStretchMarker: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTakeStretchMarker)).as_ptr()), - ), - GetTakeStretchMarkerSlope: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetTakeStretchMarkerSlope)).as_ptr(), - ), - ), - GetTCPFXParm: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetTCPFXParm)).as_ptr()), - ), - GetTempoMatchPlayRate: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTempoMatchPlayRate)).as_ptr()), - ), - GetTempoTimeSigMarker: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTempoTimeSigMarker)).as_ptr()), - ), - GetThemeColor: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetThemeColor)).as_ptr()), - ), - GetThingFromPoint: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetThingFromPoint)).as_ptr()), - ), - GetToggleCommandState: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetToggleCommandState)).as_ptr()), - ), - GetToggleCommandState2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetToggleCommandState2)).as_ptr()), - ), - GetToggleCommandStateEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetToggleCommandStateEx)).as_ptr()), - ), - GetToggleCommandStateThroughHooks: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetToggleCommandStateThroughHooks)).as_ptr(), - )), - GetTooltipWindow: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTooltipWindow)).as_ptr()), - ), - GetTouchedOrFocusedFX: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTouchedOrFocusedFX)).as_ptr()), - ), - GetTrack: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetTrack)).as_ptr()), - ), - GetTrackAutomationMode: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackAutomationMode)).as_ptr()), - ), - GetTrackColor: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetTrackColor)).as_ptr()), - ), - GetTrackDepth: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetTrackDepth)).as_ptr()), - ), - GetTrackEnvelope: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackEnvelope)).as_ptr()), - ), - GetTrackEnvelopeByChunkName: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetTrackEnvelopeByChunkName)).as_ptr(), - )), - GetTrackEnvelopeByName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackEnvelopeByName)).as_ptr()), - ), - GetTrackFromPoint: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackFromPoint)).as_ptr()), - ), - GetTrackGUID: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetTrackGUID)).as_ptr()), - ), - GetTrackInfo: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetTrackInfo)).as_ptr()), - ), - GetTrackMediaItem: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackMediaItem)).as_ptr()), - ), - GetTrackMIDILyrics: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackMIDILyrics)).as_ptr()), - ), - GetTrackMIDINoteName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackMIDINoteName)).as_ptr()), - ), - GetTrackMIDINoteNameEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackMIDINoteNameEx)).as_ptr()), - ), - GetTrackMIDINoteRange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackMIDINoteRange)).as_ptr()), - ), - GetTrackName: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetTrackName)).as_ptr()), - ), - GetTrackNumMediaItems: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackNumMediaItems)).as_ptr()), - ), - GetTrackNumSends: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackNumSends)).as_ptr()), - ), - GetTrackReceiveName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackReceiveName)).as_ptr()), - ), - GetTrackReceiveUIMute: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackReceiveUIMute)).as_ptr()), - ), - GetTrackReceiveUIVolPan: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackReceiveUIVolPan)).as_ptr()), - ), - GetTrackSendInfo_Value: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackSendInfo_Value)).as_ptr()), - ), - GetTrackSendName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackSendName)).as_ptr()), - ), - GetTrackSendUIMute: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackSendUIMute)).as_ptr()), - ), - GetTrackSendUIVolPan: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackSendUIVolPan)).as_ptr()), - ), - GetTrackState: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetTrackState)).as_ptr()), - ), - GetTrackStateChunk: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackStateChunk)).as_ptr()), - ), - GetTrackUIMute: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackUIMute)).as_ptr()), - ), - GetTrackUIPan: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetTrackUIPan)).as_ptr()), - ), - GetTrackUIVolPan: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetTrackUIVolPan)).as_ptr()), - ), - GetUnderrunTime: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetUnderrunTime)).as_ptr()), - ), - GetUserFileNameForRead: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetUserFileNameForRead)).as_ptr()), - ), - GetUserInputs: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetUserInputs)).as_ptr()), - ), - GoToMarker: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GoToMarker)).as_ptr()), - ), - GoToRegion: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GoToRegion)).as_ptr()), - ), - GR_SelectColor: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GR_SelectColor)).as_ptr()), - ), - GSC_mainwnd: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GSC_mainwnd)).as_ptr()), - ), - guidToString: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(guidToString)).as_ptr()), - ), - HasExtState: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(HasExtState)).as_ptr()), - ), - HasTrackMIDIPrograms: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(HasTrackMIDIPrograms)).as_ptr()), - ), - HasTrackMIDIProgramsEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(HasTrackMIDIProgramsEx)).as_ptr()), - ), - Help_Set: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(Help_Set)).as_ptr()), - ), - HiresPeaksFromSource: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(HiresPeaksFromSource)).as_ptr()), - ), - image_resolve_fn: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(image_resolve_fn)).as_ptr()), - ), - InsertAutomationItem: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(InsertAutomationItem)).as_ptr()), - ), - InsertEnvelopePoint: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(InsertEnvelopePoint)).as_ptr()), - ), - InsertEnvelopePointEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(InsertEnvelopePointEx)).as_ptr()), - ), - InsertMedia: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(InsertMedia)).as_ptr()), - ), - InsertMediaSection: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(InsertMediaSection)).as_ptr()), - ), - InsertTrackAtIndex: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(InsertTrackAtIndex)).as_ptr()), - ), - InsertTrackInProject: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(InsertTrackInProject)).as_ptr()), - ), - IsInRealTimeAudio: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(IsInRealTimeAudio)).as_ptr()), - ), - IsItemTakeActiveForPlayback: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(IsItemTakeActiveForPlayback)).as_ptr(), - )), - IsMediaExtension: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(IsMediaExtension)).as_ptr()), - ), - IsMediaItemSelected: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(IsMediaItemSelected)).as_ptr()), - ), - IsProjectDirty: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(IsProjectDirty)).as_ptr()), - ), - IsREAPER: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(IsREAPER)).as_ptr()), - ), - IsTrackSelected: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(IsTrackSelected)).as_ptr()), - ), - IsTrackVisible: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(IsTrackVisible)).as_ptr()), - ), - IsWindowTextField: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(IsWindowTextField)).as_ptr()), - ), - joystick_create: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(joystick_create)).as_ptr()), - ), - joystick_destroy: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(joystick_destroy)).as_ptr()), - ), - joystick_enum: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(joystick_enum)).as_ptr()), - ), - joystick_getaxis: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(joystick_getaxis)).as_ptr()), - ), - joystick_getbuttonmask: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(joystick_getbuttonmask)).as_ptr()), - ), - joystick_getinfo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(joystick_getinfo)).as_ptr()), - ), - joystick_getpov: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(joystick_getpov)).as_ptr()), - ), - joystick_update: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(joystick_update)).as_ptr()), - ), - kbd_enumerateActions: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(kbd_enumerateActions)).as_ptr()), - ), - kbd_formatKeyName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(kbd_formatKeyName)).as_ptr()), - ), - kbd_getCommandName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(kbd_getCommandName)).as_ptr()), - ), - kbd_getTextFromCmd: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(kbd_getTextFromCmd)).as_ptr()), - ), - KBD_OnMainActionEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(KBD_OnMainActionEx)).as_ptr()), - ), - kbd_OnMidiEvent: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(kbd_OnMidiEvent)).as_ptr()), - ), - kbd_OnMidiList: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(kbd_OnMidiList)).as_ptr()), - ), - kbd_ProcessActionsMenu: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(kbd_ProcessActionsMenu)).as_ptr()), - ), - kbd_processMidiEventActionEx: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(kbd_processMidiEventActionEx)).as_ptr(), - )), - kbd_reprocessMenu: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(kbd_reprocessMenu)).as_ptr()), - ), - kbd_RunCommandThroughHooks: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(kbd_RunCommandThroughHooks)).as_ptr(), - ), - ), - kbd_translateAccelerator: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(kbd_translateAccelerator)).as_ptr(), - ), - ), - LICE__Destroy: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE__Destroy)).as_ptr()), - ), - LICE__DestroyFont: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE__DestroyFont)).as_ptr()), - ), - LICE__DrawText: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE__DrawText)).as_ptr()), - ), - LICE__GetBits: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE__GetBits)).as_ptr()), - ), - LICE__GetDC: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE__GetDC)).as_ptr()), - ), - LICE__GetHeight: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE__GetHeight)).as_ptr()), - ), - LICE__GetRowSpan: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE__GetRowSpan)).as_ptr()), - ), - LICE__GetWidth: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE__GetWidth)).as_ptr()), - ), - LICE__IsFlipped: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE__IsFlipped)).as_ptr()), - ), - LICE__resize: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE__resize)).as_ptr()), - ), - LICE__SetBkColor: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE__SetBkColor)).as_ptr()), - ), - LICE__SetFromHFont: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE__SetFromHFont)).as_ptr()), - ), - LICE__SetTextColor: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE__SetTextColor)).as_ptr()), - ), - LICE__SetTextCombineMode: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(LICE__SetTextCombineMode)).as_ptr(), - ), - ), - LICE_Arc: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_Arc)).as_ptr()), - ), - LICE_Blit: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_Blit)).as_ptr()), - ), - LICE_Blur: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_Blur)).as_ptr()), - ), - LICE_BorderedRect: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_BorderedRect)).as_ptr()), - ), - LICE_Circle: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_Circle)).as_ptr()), - ), - LICE_Clear: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_Clear)).as_ptr()), - ), - LICE_ClearRect: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_ClearRect)).as_ptr()), - ), - LICE_ClipLine: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_ClipLine)).as_ptr()), - ), - LICE_CombinePixels: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_CombinePixels)).as_ptr()), - ), - LICE_Copy: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_Copy)).as_ptr()), - ), - LICE_CreateBitmap: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_CreateBitmap)).as_ptr()), - ), - LICE_CreateFont: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_CreateFont)).as_ptr()), - ), - LICE_DrawCBezier: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_DrawCBezier)).as_ptr()), - ), - LICE_DrawChar: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_DrawChar)).as_ptr()), - ), - LICE_DrawGlyph: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_DrawGlyph)).as_ptr()), - ), - LICE_DrawRect: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_DrawRect)).as_ptr()), - ), - LICE_DrawText: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_DrawText)).as_ptr()), - ), - LICE_FillCBezier: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_FillCBezier)).as_ptr()), - ), - LICE_FillCircle: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_FillCircle)).as_ptr()), - ), - LICE_FillConvexPolygon: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_FillConvexPolygon)).as_ptr()), - ), - LICE_FillRect: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_FillRect)).as_ptr()), - ), - LICE_FillTrapezoid: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_FillTrapezoid)).as_ptr()), - ), - LICE_FillTriangle: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_FillTriangle)).as_ptr()), - ), - LICE_GetPixel: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_GetPixel)).as_ptr()), - ), - LICE_GradRect: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_GradRect)).as_ptr()), - ), - LICE_Line: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_Line)).as_ptr()), - ), - LICE_LineInt: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_LineInt)).as_ptr()), - ), - LICE_LoadPNG: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_LoadPNG)).as_ptr()), - ), - LICE_LoadPNGFromResource: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(LICE_LoadPNGFromResource)).as_ptr(), - ), - ), - LICE_MeasureText: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_MeasureText)).as_ptr()), - ), - LICE_MultiplyAddRect: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_MultiplyAddRect)).as_ptr()), - ), - LICE_PutPixel: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(LICE_PutPixel)).as_ptr()), - ), - LICE_RotatedBlit: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_RotatedBlit)).as_ptr()), - ), - LICE_RoundRect: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_RoundRect)).as_ptr()), - ), - LICE_ScaledBlit: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_ScaledBlit)).as_ptr()), - ), - LICE_SimpleFill: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_SimpleFill)).as_ptr()), - ), - LICE_ThickFLine: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LICE_ThickFLine)).as_ptr()), - ), - LocalizeString: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(LocalizeString)).as_ptr()), - ), - Loop_OnArrow: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(Loop_OnArrow)).as_ptr()), - ), - Main_OnCommand: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Main_OnCommand)).as_ptr()), - ), - Main_OnCommandEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Main_OnCommandEx)).as_ptr()), - ), - Main_openProject: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Main_openProject)).as_ptr()), - ), - Main_SaveProject: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Main_SaveProject)).as_ptr()), - ), - Main_SaveProjectEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Main_SaveProjectEx)).as_ptr()), - ), - Main_UpdateLoopInfo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Main_UpdateLoopInfo)).as_ptr()), - ), - MarkProjectDirty: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MarkProjectDirty)).as_ptr()), - ), - MarkTrackItemsDirty: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MarkTrackItemsDirty)).as_ptr()), - ), - Master_GetPlayRate: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Master_GetPlayRate)).as_ptr()), - ), - Master_GetPlayRateAtTime: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(Master_GetPlayRateAtTime)).as_ptr(), - ), - ), - Master_GetTempo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Master_GetTempo)).as_ptr()), - ), - Master_NormalizePlayRate: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(Master_NormalizePlayRate)).as_ptr(), - ), - ), - Master_NormalizeTempo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Master_NormalizeTempo)).as_ptr()), - ), - MB: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(MB)).as_ptr()), - ), - MediaItemDescendsFromTrack: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(MediaItemDescendsFromTrack)).as_ptr(), - ), - ), - Menu_GetHash: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(Menu_GetHash)).as_ptr()), - ), - MIDI_CountEvts: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_CountEvts)).as_ptr()), - ), - MIDI_DeleteCC: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(MIDI_DeleteCC)).as_ptr()), - ), - MIDI_DeleteEvt: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_DeleteEvt)).as_ptr()), - ), - MIDI_DeleteNote: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_DeleteNote)).as_ptr()), - ), - MIDI_DeleteTextSysexEvt: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_DeleteTextSysexEvt)).as_ptr()), - ), - MIDI_DisableSort: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_DisableSort)).as_ptr()), - ), - MIDI_EnumSelCC: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_EnumSelCC)).as_ptr()), - ), - MIDI_EnumSelEvts: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_EnumSelEvts)).as_ptr()), - ), - MIDI_EnumSelNotes: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_EnumSelNotes)).as_ptr()), - ), - MIDI_EnumSelTextSysexEvts: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(MIDI_EnumSelTextSysexEvts)).as_ptr(), - ), - ), - MIDI_eventlist_Create: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_eventlist_Create)).as_ptr()), - ), - MIDI_eventlist_Destroy: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_eventlist_Destroy)).as_ptr()), - ), - MIDI_GetAllEvts: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_GetAllEvts)).as_ptr()), - ), - MIDI_GetCC: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(MIDI_GetCC)).as_ptr()), - ), - MIDI_GetCCShape: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_GetCCShape)).as_ptr()), - ), - MIDI_GetEvt: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(MIDI_GetEvt)).as_ptr()), - ), - MIDI_GetGrid: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(MIDI_GetGrid)).as_ptr()), - ), - MIDI_GetHash: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(MIDI_GetHash)).as_ptr()), - ), - MIDI_GetNote: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(MIDI_GetNote)).as_ptr()), - ), - MIDI_GetPPQPos_EndOfMeasure: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(MIDI_GetPPQPos_EndOfMeasure)).as_ptr(), - )), - MIDI_GetPPQPos_StartOfMeasure: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(MIDI_GetPPQPos_StartOfMeasure)).as_ptr(), - )), - MIDI_GetPPQPosFromProjQN: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(MIDI_GetPPQPosFromProjQN)).as_ptr(), - ), - ), - MIDI_GetPPQPosFromProjTime: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(MIDI_GetPPQPosFromProjTime)).as_ptr(), - ), - ), - MIDI_GetProjQNFromPPQPos: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(MIDI_GetProjQNFromPPQPos)).as_ptr(), - ), - ), - MIDI_GetProjTimeFromPPQPos: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(MIDI_GetProjTimeFromPPQPos)).as_ptr(), - ), - ), - MIDI_GetRecentInputEvent: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(MIDI_GetRecentInputEvent)).as_ptr(), - ), - ), - MIDI_GetScale: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(MIDI_GetScale)).as_ptr()), - ), - MIDI_GetTextSysexEvt: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_GetTextSysexEvt)).as_ptr()), - ), - MIDI_GetTrackHash: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_GetTrackHash)).as_ptr()), - ), - midi_init: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(midi_init)).as_ptr()), - ), - MIDI_InsertCC: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(MIDI_InsertCC)).as_ptr()), - ), - MIDI_InsertEvt: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_InsertEvt)).as_ptr()), - ), - MIDI_InsertNote: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_InsertNote)).as_ptr()), - ), - MIDI_InsertTextSysexEvt: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_InsertTextSysexEvt)).as_ptr()), - ), - MIDI_RefreshEditors: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_RefreshEditors)).as_ptr()), - ), - midi_reinit: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(midi_reinit)).as_ptr()), - ), - MIDI_SelectAll: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_SelectAll)).as_ptr()), - ), - MIDI_SetAllEvts: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_SetAllEvts)).as_ptr()), - ), - MIDI_SetCC: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(MIDI_SetCC)).as_ptr()), - ), - MIDI_SetCCShape: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_SetCCShape)).as_ptr()), - ), - MIDI_SetEvt: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(MIDI_SetEvt)).as_ptr()), - ), - MIDI_SetItemExtents: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_SetItemExtents)).as_ptr()), - ), - MIDI_SetNote: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(MIDI_SetNote)).as_ptr()), - ), - MIDI_SetTextSysexEvt: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDI_SetTextSysexEvt)).as_ptr()), - ), - MIDI_Sort: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(MIDI_Sort)).as_ptr()), - ), - MIDIEditor_EnumTakes: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDIEditor_EnumTakes)).as_ptr()), - ), - MIDIEditor_GetActive: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDIEditor_GetActive)).as_ptr()), - ), - MIDIEditor_GetMode: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDIEditor_GetMode)).as_ptr()), - ), - MIDIEditor_GetSetting_int: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(MIDIEditor_GetSetting_int)).as_ptr(), - ), - ), - MIDIEditor_GetSetting_str: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(MIDIEditor_GetSetting_str)).as_ptr(), - ), - ), - MIDIEditor_GetTake: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDIEditor_GetTake)).as_ptr()), - ), - MIDIEditor_LastFocused_OnCommand: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(MIDIEditor_LastFocused_OnCommand)).as_ptr(), - )), - MIDIEditor_OnCommand: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDIEditor_OnCommand)).as_ptr()), - ), - MIDIEditor_SetSetting_int: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(MIDIEditor_SetSetting_int)).as_ptr(), - ), - ), - MIDIEditorFlagsForTrack: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MIDIEditorFlagsForTrack)).as_ptr()), - ), - mkpanstr: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(mkpanstr)).as_ptr()), - ), - mkvolpanstr: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(mkvolpanstr)).as_ptr()), - ), - mkvolstr: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(mkvolstr)).as_ptr()), - ), - MoveEditCursor: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MoveEditCursor)).as_ptr()), - ), - MoveMediaItemToTrack: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(MoveMediaItemToTrack)).as_ptr()), - ), - MuteAllTracks: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(MuteAllTracks)).as_ptr()), - ), - my_getViewport: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(my_getViewport)).as_ptr()), - ), - NamedCommandLookup: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(NamedCommandLookup)).as_ptr()), - ), - OnPauseButton: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(OnPauseButton)).as_ptr()), - ), - OnPauseButtonEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(OnPauseButtonEx)).as_ptr()), - ), - OnPlayButton: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(OnPlayButton)).as_ptr()), - ), - OnPlayButtonEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(OnPlayButtonEx)).as_ptr()), - ), - OnStopButton: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(OnStopButton)).as_ptr()), - ), - OnStopButtonEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(OnStopButtonEx)).as_ptr()), - ), - OpenColorThemeFile: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(OpenColorThemeFile)).as_ptr()), - ), - OpenMediaExplorer: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(OpenMediaExplorer)).as_ptr()), - ), - OscLocalMessageToHost: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(OscLocalMessageToHost)).as_ptr()), - ), - parse_timestr: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(parse_timestr)).as_ptr()), - ), - parse_timestr_len: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(parse_timestr_len)).as_ptr()), - ), - parse_timestr_pos: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(parse_timestr_pos)).as_ptr()), - ), - parsepanstr: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(parsepanstr)).as_ptr()), - ), - PCM_Sink_Create: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PCM_Sink_Create)).as_ptr()), - ), - PCM_Sink_CreateEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PCM_Sink_CreateEx)).as_ptr()), - ), - PCM_Sink_CreateMIDIFile: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PCM_Sink_CreateMIDIFile)).as_ptr()), - ), - PCM_Sink_CreateMIDIFileEx: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(PCM_Sink_CreateMIDIFileEx)).as_ptr(), - ), - ), - PCM_Sink_Enum: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(PCM_Sink_Enum)).as_ptr()), - ), - PCM_Sink_GetExtension: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PCM_Sink_GetExtension)).as_ptr()), - ), - PCM_Sink_ShowConfig: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PCM_Sink_ShowConfig)).as_ptr()), - ), - PCM_Source_BuildPeaks: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PCM_Source_BuildPeaks)).as_ptr()), - ), - PCM_Source_CreateFromFile: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(PCM_Source_CreateFromFile)).as_ptr(), - ), - ), - PCM_Source_CreateFromFileEx: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(PCM_Source_CreateFromFileEx)).as_ptr(), - )), - PCM_Source_CreateFromSimple: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(PCM_Source_CreateFromSimple)).as_ptr(), - )), - PCM_Source_CreateFromType: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(PCM_Source_CreateFromType)).as_ptr(), - ), - ), - PCM_Source_Destroy: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PCM_Source_Destroy)).as_ptr()), - ), - PCM_Source_GetPeaks: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PCM_Source_GetPeaks)).as_ptr()), - ), - PCM_Source_GetSectionInfo: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(PCM_Source_GetSectionInfo)).as_ptr(), - ), - ), - PeakBuild_Create: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PeakBuild_Create)).as_ptr()), - ), - PeakBuild_CreateEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PeakBuild_CreateEx)).as_ptr()), - ), - PeakGet_Create: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PeakGet_Create)).as_ptr()), - ), - PitchShiftSubModeMenu: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PitchShiftSubModeMenu)).as_ptr()), - ), - PlayPreview: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(PlayPreview)).as_ptr()), - ), - PlayPreviewEx: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(PlayPreviewEx)).as_ptr()), - ), - PlayTrackPreview: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PlayTrackPreview)).as_ptr()), - ), - PlayTrackPreview2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PlayTrackPreview2)).as_ptr()), - ), - PlayTrackPreview2Ex: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PlayTrackPreview2Ex)).as_ptr()), - ), - plugin_getapi: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(plugin_getapi)).as_ptr()), - ), - plugin_getFilterList: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(plugin_getFilterList)).as_ptr()), - ), - plugin_getImportableProjectFilterList: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(plugin_getImportableProjectFilterList)).as_ptr(), - )), - plugin_register: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(plugin_register)).as_ptr()), - ), - PluginWantsAlwaysRunFx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PluginWantsAlwaysRunFx)).as_ptr()), - ), - PreventUIRefresh: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PreventUIRefresh)).as_ptr()), - ), - projectconfig_var_addr: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(projectconfig_var_addr)).as_ptr()), - ), - projectconfig_var_getoffs: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(projectconfig_var_getoffs)).as_ptr(), - ), - ), - PromptForAction: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(PromptForAction)).as_ptr()), - ), - realloc_cmd_clear: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(realloc_cmd_clear)).as_ptr()), - ), - realloc_cmd_ptr: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(realloc_cmd_ptr)).as_ptr()), - ), - realloc_cmd_register_buf: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(realloc_cmd_register_buf)).as_ptr(), - ), - ), - ReaperGetPitchShiftAPI: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ReaperGetPitchShiftAPI)).as_ptr()), - ), - ReaScriptError: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ReaScriptError)).as_ptr()), - ), - RecursiveCreateDirectory: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(RecursiveCreateDirectory)).as_ptr(), - ), - ), - reduce_open_files: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(reduce_open_files)).as_ptr()), - ), - RefreshToolbar: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(RefreshToolbar)).as_ptr()), - ), - RefreshToolbar2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(RefreshToolbar2)).as_ptr()), - ), - relative_fn: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(relative_fn)).as_ptr()), - ), - RemoveTrackSend: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(RemoveTrackSend)).as_ptr()), - ), - RenderFileSection: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(RenderFileSection)).as_ptr()), - ), - ReorderSelectedTracks: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ReorderSelectedTracks)).as_ptr()), - ), - Resample_EnumModes: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Resample_EnumModes)).as_ptr()), - ), - Resampler_Create: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Resampler_Create)).as_ptr()), - ), - resolve_fn: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(resolve_fn)).as_ptr()), - ), - resolve_fn2: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(resolve_fn2)).as_ptr()), - ), - ResolveRenderPattern: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ResolveRenderPattern)).as_ptr()), - ), - ReverseNamedCommandLookup: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(ReverseNamedCommandLookup)).as_ptr(), - ), - ), - ScaleFromEnvelopeMode: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ScaleFromEnvelopeMode)).as_ptr()), - ), - ScaleToEnvelopeMode: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ScaleToEnvelopeMode)).as_ptr()), - ), - screenset_register: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(screenset_register)).as_ptr()), - ), - screenset_registerNew: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(screenset_registerNew)).as_ptr()), - ), - screenset_unregister: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(screenset_unregister)).as_ptr()), - ), - screenset_unregisterByParam: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(screenset_unregisterByParam)).as_ptr(), - )), - screenset_updateLastFocus: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(screenset_updateLastFocus)).as_ptr(), - ), - ), - SectionFromUniqueID: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SectionFromUniqueID)).as_ptr()), - ), - SelectAllMediaItems: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SelectAllMediaItems)).as_ptr()), - ), - SelectProjectInstance: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SelectProjectInstance)).as_ptr()), - ), - SendLocalOscMessage: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SendLocalOscMessage)).as_ptr()), - ), - SendMIDIMessageToHardware: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(SendMIDIMessageToHardware)).as_ptr(), - ), - ), - SetActiveTake: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(SetActiveTake)).as_ptr()), - ), - SetAutomationMode: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetAutomationMode)).as_ptr()), - ), - SetCurrentBPM: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(SetCurrentBPM)).as_ptr()), - ), - SetCursorContext: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetCursorContext)).as_ptr()), - ), - SetEditCurPos: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(SetEditCurPos)).as_ptr()), - ), - SetEditCurPos2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetEditCurPos2)).as_ptr()), - ), - SetEnvelopePoint: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetEnvelopePoint)).as_ptr()), - ), - SetEnvelopePointEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetEnvelopePointEx)).as_ptr()), - ), - SetEnvelopeStateChunk: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetEnvelopeStateChunk)).as_ptr()), - ), - SetExtState: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(SetExtState)).as_ptr()), - ), - SetGlobalAutomationOverride: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(SetGlobalAutomationOverride)).as_ptr(), - )), - SetItemStateChunk: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetItemStateChunk)).as_ptr()), - ), - SetMasterTrackVisibility: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(SetMasterTrackVisibility)).as_ptr(), - ), - ), - SetMediaItemInfo_Value: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetMediaItemInfo_Value)).as_ptr()), - ), - SetMediaItemLength: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetMediaItemLength)).as_ptr()), - ), - SetMediaItemPosition: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetMediaItemPosition)).as_ptr()), - ), - SetMediaItemSelected: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetMediaItemSelected)).as_ptr()), - ), - SetMediaItemTake_Source: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetMediaItemTake_Source)).as_ptr()), - ), - SetMediaItemTakeInfo_Value: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(SetMediaItemTakeInfo_Value)).as_ptr(), - ), - ), - SetMediaTrackInfo_Value: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetMediaTrackInfo_Value)).as_ptr()), - ), - SetMIDIEditorGrid: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetMIDIEditorGrid)).as_ptr()), - ), - SetMixerScroll: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetMixerScroll)).as_ptr()), - ), - SetMouseModifier: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetMouseModifier)).as_ptr()), - ), - SetOnlyTrackSelected: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetOnlyTrackSelected)).as_ptr()), - ), - SetProjectGrid: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetProjectGrid)).as_ptr()), - ), - SetProjectMarker: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetProjectMarker)).as_ptr()), - ), - SetProjectMarker2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetProjectMarker2)).as_ptr()), - ), - SetProjectMarker3: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetProjectMarker3)).as_ptr()), - ), - SetProjectMarker4: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetProjectMarker4)).as_ptr()), - ), - SetProjectMarkerByIndex: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetProjectMarkerByIndex)).as_ptr()), - ), - SetProjectMarkerByIndex2: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(SetProjectMarkerByIndex2)).as_ptr(), - ), - ), - SetProjExtState: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetProjExtState)).as_ptr()), - ), - SetRegionRenderMatrix: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetRegionRenderMatrix)).as_ptr()), - ), - SetRenderLastError: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetRenderLastError)).as_ptr()), - ), - SetTakeMarker: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(SetTakeMarker)).as_ptr()), - ), - SetTakeStretchMarker: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTakeStretchMarker)).as_ptr()), - ), - SetTakeStretchMarkerSlope: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(SetTakeStretchMarkerSlope)).as_ptr(), - ), - ), - SetTempoTimeSigMarker: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTempoTimeSigMarker)).as_ptr()), - ), - SetThemeColor: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(SetThemeColor)).as_ptr()), - ), - SetToggleCommandState: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetToggleCommandState)).as_ptr()), - ), - SetTrackAutomationMode: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackAutomationMode)).as_ptr()), - ), - SetTrackColor: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(SetTrackColor)).as_ptr()), - ), - SetTrackMIDILyrics: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackMIDILyrics)).as_ptr()), - ), - SetTrackMIDINoteName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackMIDINoteName)).as_ptr()), - ), - SetTrackMIDINoteNameEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackMIDINoteNameEx)).as_ptr()), - ), - SetTrackSelected: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackSelected)).as_ptr()), - ), - SetTrackSendInfo_Value: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackSendInfo_Value)).as_ptr()), - ), - SetTrackSendUIPan: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackSendUIPan)).as_ptr()), - ), - SetTrackSendUIVol: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackSendUIVol)).as_ptr()), - ), - SetTrackStateChunk: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackStateChunk)).as_ptr()), - ), - SetTrackUIInputMonitor: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackUIInputMonitor)).as_ptr()), - ), - SetTrackUIMute: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackUIMute)).as_ptr()), - ), - SetTrackUIPan: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(SetTrackUIPan)).as_ptr()), - ), - SetTrackUIPolarity: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackUIPolarity)).as_ptr()), - ), - SetTrackUIRecArm: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackUIRecArm)).as_ptr()), - ), - SetTrackUISolo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackUISolo)).as_ptr()), - ), - SetTrackUIVolume: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackUIVolume)).as_ptr()), - ), - SetTrackUIWidth: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SetTrackUIWidth)).as_ptr()), - ), - ShowActionList: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ShowActionList)).as_ptr()), - ), - ShowConsoleMsg: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ShowConsoleMsg)).as_ptr()), - ), - ShowMessageBox: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ShowMessageBox)).as_ptr()), - ), - ShowPopupMenu: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(ShowPopupMenu)).as_ptr()), - ), - SLIDER2DB: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(SLIDER2DB)).as_ptr()), - ), - SnapToGrid: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(SnapToGrid)).as_ptr()), - ), - SoloAllTracks: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(SoloAllTracks)).as_ptr()), - ), - Splash_GetWnd: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(Splash_GetWnd)).as_ptr()), - ), - SplitMediaItem: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(SplitMediaItem)).as_ptr()), - ), - StopPreview: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(StopPreview)).as_ptr()), - ), - StopTrackPreview: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(StopTrackPreview)).as_ptr()), - ), - StopTrackPreview2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(StopTrackPreview2)).as_ptr()), - ), - stringToGuid: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(stringToGuid)).as_ptr()), - ), - StuffMIDIMessage: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(StuffMIDIMessage)).as_ptr()), - ), - TakeFX_AddByName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_AddByName)).as_ptr()), - ), - TakeFX_CopyToTake: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_CopyToTake)).as_ptr()), - ), - TakeFX_CopyToTrack: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_CopyToTrack)).as_ptr()), - ), - TakeFX_Delete: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(TakeFX_Delete)).as_ptr()), - ), - TakeFX_EndParamEdit: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_EndParamEdit)).as_ptr()), - ), - TakeFX_FormatParamValue: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_FormatParamValue)).as_ptr()), - ), - TakeFX_FormatParamValueNormalized: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TakeFX_FormatParamValueNormalized)).as_ptr(), - )), - TakeFX_GetChainVisible: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetChainVisible)).as_ptr()), - ), - TakeFX_GetCount: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetCount)).as_ptr()), - ), - TakeFX_GetEnabled: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetEnabled)).as_ptr()), - ), - TakeFX_GetEnvelope: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetEnvelope)).as_ptr()), - ), - TakeFX_GetFloatingWindow: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TakeFX_GetFloatingWindow)).as_ptr(), - ), - ), - TakeFX_GetFormattedParamValue: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TakeFX_GetFormattedParamValue)).as_ptr(), - )), - TakeFX_GetFXGUID: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetFXGUID)).as_ptr()), - ), - TakeFX_GetFXName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetFXName)).as_ptr()), - ), - TakeFX_GetIOSize: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetIOSize)).as_ptr()), - ), - TakeFX_GetNamedConfigParm: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TakeFX_GetNamedConfigParm)).as_ptr(), - ), - ), - TakeFX_GetNumParams: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetNumParams)).as_ptr()), - ), - TakeFX_GetOffline: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetOffline)).as_ptr()), - ), - TakeFX_GetOpen: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetOpen)).as_ptr()), - ), - TakeFX_GetParam: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetParam)).as_ptr()), - ), - TakeFX_GetParameterStepSizes: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TakeFX_GetParameterStepSizes)).as_ptr(), - )), - TakeFX_GetParamEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetParamEx)).as_ptr()), - ), - TakeFX_GetParamFromIdent: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TakeFX_GetParamFromIdent)).as_ptr(), - ), - ), - TakeFX_GetParamIdent: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetParamIdent)).as_ptr()), - ), - TakeFX_GetParamName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetParamName)).as_ptr()), - ), - TakeFX_GetParamNormalized: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TakeFX_GetParamNormalized)).as_ptr(), - ), - ), - TakeFX_GetPinMappings: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetPinMappings)).as_ptr()), - ), - TakeFX_GetPreset: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetPreset)).as_ptr()), - ), - TakeFX_GetPresetIndex: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_GetPresetIndex)).as_ptr()), - ), - TakeFX_GetUserPresetFilename: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TakeFX_GetUserPresetFilename)).as_ptr(), - )), - TakeFX_NavigatePresets: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_NavigatePresets)).as_ptr()), - ), - TakeFX_SetEnabled: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_SetEnabled)).as_ptr()), - ), - TakeFX_SetNamedConfigParm: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TakeFX_SetNamedConfigParm)).as_ptr(), - ), - ), - TakeFX_SetOffline: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_SetOffline)).as_ptr()), - ), - TakeFX_SetOpen: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_SetOpen)).as_ptr()), - ), - TakeFX_SetParam: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_SetParam)).as_ptr()), - ), - TakeFX_SetParamNormalized: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TakeFX_SetParamNormalized)).as_ptr(), - ), - ), - TakeFX_SetPinMappings: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_SetPinMappings)).as_ptr()), - ), - TakeFX_SetPreset: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_SetPreset)).as_ptr()), - ), - TakeFX_SetPresetByIndex: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TakeFX_SetPresetByIndex)).as_ptr()), - ), - TakeFX_Show: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(TakeFX_Show)).as_ptr()), - ), - TakeIsMIDI: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(TakeIsMIDI)).as_ptr()), - ), - ThemeLayout_GetLayout: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ThemeLayout_GetLayout)).as_ptr()), - ), - ThemeLayout_GetParameter: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(ThemeLayout_GetParameter)).as_ptr(), - ), - ), - ThemeLayout_RefreshAll: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ThemeLayout_RefreshAll)).as_ptr()), - ), - ThemeLayout_SetLayout: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ThemeLayout_SetLayout)).as_ptr()), - ), - ThemeLayout_SetParameter: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(ThemeLayout_SetParameter)).as_ptr(), - ), - ), - time_precise: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(time_precise)).as_ptr()), - ), - TimeMap2_beatsToTime: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TimeMap2_beatsToTime)).as_ptr()), - ), - TimeMap2_GetDividedBpmAtTime: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TimeMap2_GetDividedBpmAtTime)).as_ptr(), - )), - TimeMap2_GetNextChangeTime: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TimeMap2_GetNextChangeTime)).as_ptr(), - ), - ), - TimeMap2_QNToTime: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TimeMap2_QNToTime)).as_ptr()), - ), - TimeMap2_timeToBeats: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TimeMap2_timeToBeats)).as_ptr()), - ), - TimeMap2_timeToQN: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TimeMap2_timeToQN)).as_ptr()), - ), - TimeMap_curFrameRate: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TimeMap_curFrameRate)).as_ptr()), - ), - TimeMap_GetDividedBpmAtTime: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TimeMap_GetDividedBpmAtTime)).as_ptr(), - )), - TimeMap_GetMeasureInfo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TimeMap_GetMeasureInfo)).as_ptr()), - ), - TimeMap_GetMetronomePattern: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TimeMap_GetMetronomePattern)).as_ptr(), - )), - TimeMap_GetTimeSigAtTime: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TimeMap_GetTimeSigAtTime)).as_ptr(), - ), - ), - TimeMap_QNToMeasures: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TimeMap_QNToMeasures)).as_ptr()), - ), - TimeMap_QNToTime: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TimeMap_QNToTime)).as_ptr()), - ), - TimeMap_QNToTime_abs: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TimeMap_QNToTime_abs)).as_ptr()), - ), - TimeMap_timeToQN: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TimeMap_timeToQN)).as_ptr()), - ), - TimeMap_timeToQN_abs: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TimeMap_timeToQN_abs)).as_ptr()), - ), - ToggleTrackSendUIMute: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(ToggleTrackSendUIMute)).as_ptr()), - ), - Track_GetPeakHoldDB: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Track_GetPeakHoldDB)).as_ptr()), - ), - Track_GetPeakInfo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Track_GetPeakInfo)).as_ptr()), - ), - TrackCtl_SetToolTip: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackCtl_SetToolTip)).as_ptr()), - ), - TrackFX_AddByName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_AddByName)).as_ptr()), - ), - TrackFX_CopyToTake: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_CopyToTake)).as_ptr()), - ), - TrackFX_CopyToTrack: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_CopyToTrack)).as_ptr()), - ), - TrackFX_Delete: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_Delete)).as_ptr()), - ), - TrackFX_EndParamEdit: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_EndParamEdit)).as_ptr()), - ), - TrackFX_FormatParamValue: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackFX_FormatParamValue)).as_ptr(), - ), - ), - TrackFX_FormatParamValueNormalized: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackFX_FormatParamValueNormalized)).as_ptr(), - )), - TrackFX_GetByName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetByName)).as_ptr()), - ), - TrackFX_GetChainVisible: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetChainVisible)).as_ptr()), - ), - TrackFX_GetCount: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetCount)).as_ptr()), - ), - TrackFX_GetEnabled: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetEnabled)).as_ptr()), - ), - TrackFX_GetEQ: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetEQ)).as_ptr()), - ), - TrackFX_GetEQBandEnabled: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackFX_GetEQBandEnabled)).as_ptr(), - ), - ), - TrackFX_GetEQParam: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetEQParam)).as_ptr()), - ), - TrackFX_GetFloatingWindow: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackFX_GetFloatingWindow)).as_ptr(), - ), - ), - TrackFX_GetFormattedParamValue: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackFX_GetFormattedParamValue)).as_ptr(), - )), - TrackFX_GetFXGUID: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetFXGUID)).as_ptr()), - ), - TrackFX_GetFXName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetFXName)).as_ptr()), - ), - TrackFX_GetInstrument: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetInstrument)).as_ptr()), - ), - TrackFX_GetIOSize: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetIOSize)).as_ptr()), - ), - TrackFX_GetNamedConfigParm: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackFX_GetNamedConfigParm)).as_ptr(), - ), - ), - TrackFX_GetNumParams: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetNumParams)).as_ptr()), - ), - TrackFX_GetOffline: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetOffline)).as_ptr()), - ), - TrackFX_GetOpen: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetOpen)).as_ptr()), - ), - TrackFX_GetParam: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetParam)).as_ptr()), - ), - TrackFX_GetParameterStepSizes: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackFX_GetParameterStepSizes)).as_ptr(), - )), - TrackFX_GetParamEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetParamEx)).as_ptr()), - ), - TrackFX_GetParamFromIdent: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackFX_GetParamFromIdent)).as_ptr(), - ), - ), - TrackFX_GetParamIdent: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetParamIdent)).as_ptr()), - ), - TrackFX_GetParamName: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetParamName)).as_ptr()), - ), - TrackFX_GetParamNormalized: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackFX_GetParamNormalized)).as_ptr(), - ), - ), - TrackFX_GetPinMappings: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetPinMappings)).as_ptr()), - ), - TrackFX_GetPreset: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetPreset)).as_ptr()), - ), - TrackFX_GetPresetIndex: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetPresetIndex)).as_ptr()), - ), - TrackFX_GetRecChainVisible: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackFX_GetRecChainVisible)).as_ptr(), - ), - ), - TrackFX_GetRecCount: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_GetRecCount)).as_ptr()), - ), - TrackFX_GetUserPresetFilename: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackFX_GetUserPresetFilename)).as_ptr(), - )), - TrackFX_NavigatePresets: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_NavigatePresets)).as_ptr()), - ), - TrackFX_SetEnabled: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_SetEnabled)).as_ptr()), - ), - TrackFX_SetEQBandEnabled: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackFX_SetEQBandEnabled)).as_ptr(), - ), - ), - TrackFX_SetEQParam: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_SetEQParam)).as_ptr()), - ), - TrackFX_SetNamedConfigParm: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackFX_SetNamedConfigParm)).as_ptr(), - ), - ), - TrackFX_SetOffline: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_SetOffline)).as_ptr()), - ), - TrackFX_SetOpen: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_SetOpen)).as_ptr()), - ), - TrackFX_SetParam: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_SetParam)).as_ptr()), - ), - TrackFX_SetParamNormalized: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackFX_SetParamNormalized)).as_ptr(), - ), - ), - TrackFX_SetPinMappings: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_SetPinMappings)).as_ptr()), - ), - TrackFX_SetPreset: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackFX_SetPreset)).as_ptr()), - ), - TrackFX_SetPresetByIndex: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackFX_SetPresetByIndex)).as_ptr(), - ), - ), - TrackFX_Show: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(TrackFX_Show)).as_ptr()), - ), - TrackList_AdjustWindows: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(TrackList_AdjustWindows)).as_ptr()), - ), - TrackList_UpdateAllExternalSurfaces: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(TrackList_UpdateAllExternalSurfaces)).as_ptr(), - )), - Undo_BeginBlock: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Undo_BeginBlock)).as_ptr()), - ), - Undo_BeginBlock2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Undo_BeginBlock2)).as_ptr()), - ), - Undo_CanRedo2: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(Undo_CanRedo2)).as_ptr()), - ), - Undo_CanUndo2: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(Undo_CanUndo2)).as_ptr()), - ), - Undo_DoRedo2: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(Undo_DoRedo2)).as_ptr()), - ), - Undo_DoUndo2: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(Undo_DoUndo2)).as_ptr()), - ), - Undo_EndBlock: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(Undo_EndBlock)).as_ptr()), - ), - Undo_EndBlock2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Undo_EndBlock2)).as_ptr()), - ), - Undo_OnStateChange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Undo_OnStateChange)).as_ptr()), - ), - Undo_OnStateChange2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Undo_OnStateChange2)).as_ptr()), - ), - Undo_OnStateChange_Item: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Undo_OnStateChange_Item)).as_ptr()), - ), - Undo_OnStateChangeEx: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Undo_OnStateChangeEx)).as_ptr()), - ), - Undo_OnStateChangeEx2: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(Undo_OnStateChangeEx2)).as_ptr()), - ), - update_disk_counters: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(update_disk_counters)).as_ptr()), - ), - UpdateArrange: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(UpdateArrange)).as_ptr()), - ), - UpdateItemInProject: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(UpdateItemInProject)).as_ptr()), - ), - UpdateItemLanes: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(UpdateItemLanes)).as_ptr()), - ), - UpdateTimeline: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(UpdateTimeline)).as_ptr()), - ), - ValidatePtr: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(ValidatePtr)).as_ptr()), - ), - ValidatePtr2: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(ValidatePtr2)).as_ptr()), - ), - ViewPrefs: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(ViewPrefs)).as_ptr()), - ), - WDL_VirtualWnd_ScaledBlitBG: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(WDL_VirtualWnd_ScaledBlitBG)).as_ptr(), - )), - GetMidiInput: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetMidiInput)).as_ptr()), - ), - GetMidiOutput: std::mem::transmute( - plugin_context.GetFunc(c_str_macro::c_str!(stringify!(GetMidiOutput)).as_ptr()), - ), - fxDoReaperPresetAction: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(fxDoReaperPresetAction)).as_ptr()), - ), - AddCustomMenuOrToolbarItem: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(AddCustomMenuOrToolbarItem)).as_ptr(), - ), - ), - DeleteCustomMenuOrToolbarItem: std::mem::transmute(plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(DeleteCustomMenuOrToolbarItem)).as_ptr(), - )), - GetCustomMenuOrToolbarItem: std::mem::transmute( - plugin_context.GetFunc( - c_str_macro::c_str!(stringify!(GetCustomMenuOrToolbarItem)).as_ptr(), - ), - ), - AdvancePlaybackPosition: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(AdvancePlaybackPosition)).as_ptr()), - ), - GetPlayLoopCnt: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(GetPlayLoopCnt)).as_ptr()), - ), - InitializeCoolSB: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(InitializeCoolSB)).as_ptr()), - ), - UninitializeCoolSB: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(UninitializeCoolSB)).as_ptr()), - ), - CoolSB_SetMinThumbSize: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CoolSB_SetMinThumbSize)).as_ptr()), - ), - CoolSB_GetScrollInfo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CoolSB_GetScrollInfo)).as_ptr()), - ), - CoolSB_SetScrollInfo: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CoolSB_SetScrollInfo)).as_ptr()), - ), - CoolSB_SetScrollPos: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CoolSB_SetScrollPos)).as_ptr()), - ), - CoolSB_SetScrollRange: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CoolSB_SetScrollRange)).as_ptr()), - ), - CoolSB_ShowScrollBar: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CoolSB_ShowScrollBar)).as_ptr()), - ), - CoolSB_SetResizingThumb: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CoolSB_SetResizingThumb)).as_ptr()), - ), - CoolSB_SetThemeIndex: std::mem::transmute( - plugin_context - .GetFunc(c_str_macro::c_str!(stringify!(CoolSB_SetThemeIndex)).as_ptr()), - ), - } - }; - if pointers.__mergesort.is_some() { - loaded_count += 1; - } - if pointers.AddCustomizableMenu.is_some() { - loaded_count += 1; - } - if pointers.AddExtensionsMainMenu.is_some() { - loaded_count += 1; - } - if pointers.AddMediaItemToTrack.is_some() { - loaded_count += 1; - } - if pointers.AddProjectMarker.is_some() { - loaded_count += 1; - } - if pointers.AddProjectMarker2.is_some() { - loaded_count += 1; - } - if pointers.AddRemoveReaScript.is_some() { - loaded_count += 1; - } - if pointers.AddTakeToMediaItem.is_some() { - loaded_count += 1; - } - if pointers.AddTempoTimeSigMarker.is_some() { - loaded_count += 1; - } - if pointers.adjustZoom.is_some() { - loaded_count += 1; - } - if pointers.AnyTrackSolo.is_some() { - loaded_count += 1; - } - if pointers.APIExists.is_some() { - loaded_count += 1; - } - if pointers.APITest.is_some() { - loaded_count += 1; - } - if pointers.ApplyNudge.is_some() { - loaded_count += 1; - } - if pointers.ArmCommand.is_some() { - loaded_count += 1; - } - if pointers.Audio_Init.is_some() { - loaded_count += 1; - } - if pointers.Audio_IsPreBuffer.is_some() { - loaded_count += 1; - } - if pointers.Audio_IsRunning.is_some() { - loaded_count += 1; - } - if pointers.Audio_Quit.is_some() { - loaded_count += 1; - } - if pointers.Audio_RegHardwareHook.is_some() { - loaded_count += 1; - } - if pointers.AudioAccessorStateChanged.is_some() { - loaded_count += 1; - } - if pointers.AudioAccessorUpdate.is_some() { - loaded_count += 1; - } - if pointers.AudioAccessorValidateState.is_some() { - loaded_count += 1; - } - if pointers.BypassFxAllTracks.is_some() { - loaded_count += 1; - } - if pointers.CalcMediaSrcLoudness.is_some() { - loaded_count += 1; - } - if pointers.CalculateNormalization.is_some() { - loaded_count += 1; - } - if pointers.CalculatePeaks.is_some() { - loaded_count += 1; - } - if pointers.CalculatePeaksFloatSrcPtr.is_some() { - loaded_count += 1; - } - if pointers.ClearAllRecArmed.is_some() { - loaded_count += 1; - } - if pointers.ClearConsole.is_some() { - loaded_count += 1; - } - if pointers.ClearPeakCache.is_some() { - loaded_count += 1; - } - if pointers.ColorFromNative.is_some() { - loaded_count += 1; - } - if pointers.ColorToNative.is_some() { - loaded_count += 1; - } - if pointers.CountActionShortcuts.is_some() { - loaded_count += 1; - } - if pointers.CountAutomationItems.is_some() { - loaded_count += 1; - } - if pointers.CountEnvelopePoints.is_some() { - loaded_count += 1; - } - if pointers.CountEnvelopePointsEx.is_some() { - loaded_count += 1; - } - if pointers.CountMediaItems.is_some() { - loaded_count += 1; - } - if pointers.CountProjectMarkers.is_some() { - loaded_count += 1; - } - if pointers.CountSelectedMediaItems.is_some() { - loaded_count += 1; - } - if pointers.CountSelectedTracks.is_some() { - loaded_count += 1; - } - if pointers.CountSelectedTracks2.is_some() { - loaded_count += 1; - } - if pointers.CountTakeEnvelopes.is_some() { - loaded_count += 1; - } - if pointers.CountTakes.is_some() { - loaded_count += 1; - } - if pointers.CountTCPFXParms.is_some() { - loaded_count += 1; - } - if pointers.CountTempoTimeSigMarkers.is_some() { - loaded_count += 1; - } - if pointers.CountTrackEnvelopes.is_some() { - loaded_count += 1; - } - if pointers.CountTrackMediaItems.is_some() { - loaded_count += 1; - } - if pointers.CountTracks.is_some() { - loaded_count += 1; - } - if pointers.CreateLocalOscHandler.is_some() { - loaded_count += 1; - } - if pointers.CreateMIDIInput.is_some() { - loaded_count += 1; - } - if pointers.CreateMIDIOutput.is_some() { - loaded_count += 1; - } - if pointers.CreateNewMIDIItemInProj.is_some() { - loaded_count += 1; - } - if pointers.CreateTakeAudioAccessor.is_some() { - loaded_count += 1; - } - if pointers.CreateTrackAudioAccessor.is_some() { - loaded_count += 1; - } - if pointers.CreateTrackSend.is_some() { - loaded_count += 1; - } - if pointers.CSurf_FlushUndo.is_some() { - loaded_count += 1; - } - if pointers.CSurf_GetTouchState.is_some() { - loaded_count += 1; - } - if pointers.CSurf_GoEnd.is_some() { - loaded_count += 1; - } - if pointers.CSurf_GoStart.is_some() { - loaded_count += 1; - } - if pointers.CSurf_NumTracks.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnArrow.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnFwd.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnFXChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnInputMonitorChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnInputMonitorChangeEx.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnMuteChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnMuteChangeEx.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnOscControlMessage.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnOscControlMessage2.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnPanChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnPanChangeEx.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnPause.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnPlay.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnPlayRateChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnRecArmChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnRecArmChangeEx.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnRecord.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnRecvPanChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnRecvVolumeChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnRew.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnRewFwd.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnScroll.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnSelectedChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnSendPanChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnSendVolumeChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnSoloChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnSoloChangeEx.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnStop.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnTempoChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnTrackSelection.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnVolumeChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnVolumeChangeEx.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnWidthChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnWidthChangeEx.is_some() { - loaded_count += 1; - } - if pointers.CSurf_OnZoom.is_some() { - loaded_count += 1; - } - if pointers.CSurf_ResetAllCachedVolPanStates.is_some() { - loaded_count += 1; - } - if pointers.CSurf_ScrubAmt.is_some() { - loaded_count += 1; - } - if pointers.CSurf_SetAutoMode.is_some() { - loaded_count += 1; - } - if pointers.CSurf_SetPlayState.is_some() { - loaded_count += 1; - } - if pointers.CSurf_SetRepeatState.is_some() { - loaded_count += 1; - } - if pointers.CSurf_SetSurfaceMute.is_some() { - loaded_count += 1; - } - if pointers.CSurf_SetSurfacePan.is_some() { - loaded_count += 1; - } - if pointers.CSurf_SetSurfaceRecArm.is_some() { - loaded_count += 1; - } - if pointers.CSurf_SetSurfaceSelected.is_some() { - loaded_count += 1; - } - if pointers.CSurf_SetSurfaceSolo.is_some() { - loaded_count += 1; - } - if pointers.CSurf_SetSurfaceVolume.is_some() { - loaded_count += 1; - } - if pointers.CSurf_SetTrackListChange.is_some() { - loaded_count += 1; - } - if pointers.CSurf_TrackFromID.is_some() { - loaded_count += 1; - } - if pointers.CSurf_TrackToID.is_some() { - loaded_count += 1; - } - if pointers.DB2SLIDER.is_some() { - loaded_count += 1; - } - if pointers.DeleteActionShortcut.is_some() { - loaded_count += 1; - } - if pointers.DeleteEnvelopePointEx.is_some() { - loaded_count += 1; - } - if pointers.DeleteEnvelopePointRange.is_some() { - loaded_count += 1; - } - if pointers.DeleteEnvelopePointRangeEx.is_some() { - loaded_count += 1; - } - if pointers.DeleteExtState.is_some() { - loaded_count += 1; - } - if pointers.DeleteProjectMarker.is_some() { - loaded_count += 1; - } - if pointers.DeleteProjectMarkerByIndex.is_some() { - loaded_count += 1; - } - if pointers.DeleteTakeMarker.is_some() { - loaded_count += 1; - } - if pointers.DeleteTakeStretchMarkers.is_some() { - loaded_count += 1; - } - if pointers.DeleteTempoTimeSigMarker.is_some() { - loaded_count += 1; - } - if pointers.DeleteTrack.is_some() { - loaded_count += 1; - } - if pointers.DeleteTrackMediaItem.is_some() { - loaded_count += 1; - } - if pointers.DestroyAudioAccessor.is_some() { - loaded_count += 1; - } - if pointers.DestroyLocalOscHandler.is_some() { - loaded_count += 1; - } - if pointers.DoActionShortcutDialog.is_some() { - loaded_count += 1; - } - if pointers.Dock_UpdateDockID.is_some() { - loaded_count += 1; - } - if pointers.DockGetPosition.is_some() { - loaded_count += 1; - } - if pointers.DockIsChildOfDock.is_some() { - loaded_count += 1; - } - if pointers.DockWindowActivate.is_some() { - loaded_count += 1; - } - if pointers.DockWindowAdd.is_some() { - loaded_count += 1; - } - if pointers.DockWindowAddEx.is_some() { - loaded_count += 1; - } - if pointers.DockWindowRefresh.is_some() { - loaded_count += 1; - } - if pointers.DockWindowRefreshForHWND.is_some() { - loaded_count += 1; - } - if pointers.DockWindowRemove.is_some() { - loaded_count += 1; - } - if pointers.DuplicateCustomizableMenu.is_some() { - loaded_count += 1; - } - if pointers.EditTempoTimeSigMarker.is_some() { - loaded_count += 1; - } - if pointers.EnsureNotCompletelyOffscreen.is_some() { - loaded_count += 1; - } - if pointers.EnumerateFiles.is_some() { - loaded_count += 1; - } - if pointers.EnumerateSubdirectories.is_some() { - loaded_count += 1; - } - if pointers.EnumInstalledFX.is_some() { - loaded_count += 1; - } - if pointers.EnumPitchShiftModes.is_some() { - loaded_count += 1; - } - if pointers.EnumPitchShiftSubModes.is_some() { - loaded_count += 1; - } - if pointers.EnumProjectMarkers.is_some() { - loaded_count += 1; - } - if pointers.EnumProjectMarkers2.is_some() { - loaded_count += 1; - } - if pointers.EnumProjectMarkers3.is_some() { - loaded_count += 1; - } - if pointers.EnumProjects.is_some() { - loaded_count += 1; - } - if pointers.EnumProjExtState.is_some() { - loaded_count += 1; - } - if pointers.EnumRegionRenderMatrix.is_some() { - loaded_count += 1; - } - if pointers.EnumTrackMIDIProgramNames.is_some() { - loaded_count += 1; - } - if pointers.EnumTrackMIDIProgramNamesEx.is_some() { - loaded_count += 1; - } - if pointers.Envelope_Evaluate.is_some() { - loaded_count += 1; - } - if pointers.Envelope_FormatValue.is_some() { - loaded_count += 1; - } - if pointers.Envelope_GetParentTake.is_some() { - loaded_count += 1; - } - if pointers.Envelope_GetParentTrack.is_some() { - loaded_count += 1; - } - if pointers.Envelope_SortPoints.is_some() { - loaded_count += 1; - } - if pointers.Envelope_SortPointsEx.is_some() { - loaded_count += 1; - } - if pointers.ExecProcess.is_some() { - loaded_count += 1; - } - if pointers.file_exists.is_some() { - loaded_count += 1; - } - if pointers.FindTempoTimeSigMarker.is_some() { - loaded_count += 1; - } - if pointers.format_timestr.is_some() { - loaded_count += 1; - } - if pointers.format_timestr_len.is_some() { - loaded_count += 1; - } - if pointers.format_timestr_pos.is_some() { - loaded_count += 1; - } - if pointers.FreeHeapPtr.is_some() { - loaded_count += 1; - } - if pointers.genGuid.is_some() { - loaded_count += 1; - } - if pointers.get_config_var.is_some() { - loaded_count += 1; - } - if pointers.get_config_var_string.is_some() { - loaded_count += 1; - } - if pointers.get_ini_file.is_some() { - loaded_count += 1; - } - if pointers.get_midi_config_var.is_some() { - loaded_count += 1; - } - if pointers.GetActionShortcutDesc.is_some() { - loaded_count += 1; - } - if pointers.GetActiveTake.is_some() { - loaded_count += 1; - } - if pointers.GetAllProjectPlayStates.is_some() { - loaded_count += 1; - } - if pointers.GetAppVersion.is_some() { - loaded_count += 1; - } - if pointers.GetArmedCommand.is_some() { - loaded_count += 1; - } - if pointers.GetAudioAccessorEndTime.is_some() { - loaded_count += 1; - } - if pointers.GetAudioAccessorHash.is_some() { - loaded_count += 1; - } - if pointers.GetAudioAccessorSamples.is_some() { - loaded_count += 1; - } - if pointers.GetAudioAccessorStartTime.is_some() { - loaded_count += 1; - } - if pointers.GetAudioDeviceInfo.is_some() { - loaded_count += 1; - } - if pointers.GetColorTheme.is_some() { - loaded_count += 1; - } - if pointers.GetColorThemeStruct.is_some() { - loaded_count += 1; - } - if pointers.GetConfigWantsDock.is_some() { - loaded_count += 1; - } - if pointers.GetContextMenu.is_some() { - loaded_count += 1; - } - if pointers.GetCurrentProjectInLoadSave.is_some() { - loaded_count += 1; - } - if pointers.GetCursorContext.is_some() { - loaded_count += 1; - } - if pointers.GetCursorContext2.is_some() { - loaded_count += 1; - } - if pointers.GetCursorPosition.is_some() { - loaded_count += 1; - } - if pointers.GetCursorPositionEx.is_some() { - loaded_count += 1; - } - if pointers.GetDisplayedMediaItemColor.is_some() { - loaded_count += 1; - } - if pointers.GetDisplayedMediaItemColor2.is_some() { - loaded_count += 1; - } - if pointers.GetEnvelopeInfo_Value.is_some() { - loaded_count += 1; - } - if pointers.GetEnvelopeName.is_some() { - loaded_count += 1; - } - if pointers.GetEnvelopePoint.is_some() { - loaded_count += 1; - } - if pointers.GetEnvelopePointByTime.is_some() { - loaded_count += 1; - } - if pointers.GetEnvelopePointByTimeEx.is_some() { - loaded_count += 1; - } - if pointers.GetEnvelopePointEx.is_some() { - loaded_count += 1; - } - if pointers.GetEnvelopeScalingMode.is_some() { - loaded_count += 1; - } - if pointers.GetEnvelopeStateChunk.is_some() { - loaded_count += 1; - } - if pointers.GetEnvelopeUIState.is_some() { - loaded_count += 1; - } - if pointers.GetExePath.is_some() { - loaded_count += 1; - } - if pointers.GetExtState.is_some() { - loaded_count += 1; - } - if pointers.GetFocusedFX.is_some() { - loaded_count += 1; - } - if pointers.GetFocusedFX2.is_some() { - loaded_count += 1; - } - if pointers.GetFreeDiskSpaceForRecordPath.is_some() { - loaded_count += 1; - } - if pointers.GetFXEnvelope.is_some() { - loaded_count += 1; - } - if pointers.GetGlobalAutomationOverride.is_some() { - loaded_count += 1; - } - if pointers.GetHZoomLevel.is_some() { - loaded_count += 1; - } - if pointers.GetIconThemePointer.is_some() { - loaded_count += 1; - } - if pointers.GetIconThemePointerForDPI.is_some() { - loaded_count += 1; - } - if pointers.GetIconThemeStruct.is_some() { - loaded_count += 1; - } - if pointers.GetInputActivityLevel.is_some() { - loaded_count += 1; - } - if pointers.GetInputChannelName.is_some() { - loaded_count += 1; - } - if pointers.GetInputOutputLatency.is_some() { - loaded_count += 1; - } - if pointers.GetItemEditingTime2.is_some() { - loaded_count += 1; - } - if pointers.GetItemFromPoint.is_some() { - loaded_count += 1; - } - if pointers.GetItemProjectContext.is_some() { - loaded_count += 1; - } - if pointers.GetItemStateChunk.is_some() { - loaded_count += 1; - } - if pointers.GetLastColorThemeFile.is_some() { - loaded_count += 1; - } - if pointers.GetLastMarkerAndCurRegion.is_some() { - loaded_count += 1; - } - if pointers.GetLastTouchedFX.is_some() { - loaded_count += 1; - } - if pointers.GetLastTouchedTrack.is_some() { - loaded_count += 1; - } - if pointers.GetMainHwnd.is_some() { - loaded_count += 1; - } - if pointers.GetMasterMuteSoloFlags.is_some() { - loaded_count += 1; - } - if pointers.GetMasterTrack.is_some() { - loaded_count += 1; - } - if pointers.GetMasterTrackVisibility.is_some() { - loaded_count += 1; - } - if pointers.GetMaxMidiInputs.is_some() { - loaded_count += 1; - } - if pointers.GetMaxMidiOutputs.is_some() { - loaded_count += 1; - } - if pointers.GetMediaFileMetadata.is_some() { - loaded_count += 1; - } - if pointers.GetMediaItem.is_some() { - loaded_count += 1; - } - if pointers.GetMediaItem_Track.is_some() { - loaded_count += 1; - } - if pointers.GetMediaItemInfo_Value.is_some() { - loaded_count += 1; - } - if pointers.GetMediaItemNumTakes.is_some() { - loaded_count += 1; - } - if pointers.GetMediaItemTake.is_some() { - loaded_count += 1; - } - if pointers.GetMediaItemTake_Item.is_some() { - loaded_count += 1; - } - if pointers.GetMediaItemTake_Peaks.is_some() { - loaded_count += 1; - } - if pointers.GetMediaItemTake_Source.is_some() { - loaded_count += 1; - } - if pointers.GetMediaItemTake_Track.is_some() { - loaded_count += 1; - } - if pointers.GetMediaItemTakeByGUID.is_some() { - loaded_count += 1; - } - if pointers.GetMediaItemTakeInfo_Value.is_some() { - loaded_count += 1; - } - if pointers.GetMediaItemTrack.is_some() { - loaded_count += 1; - } - if pointers.GetMediaSourceFileName.is_some() { - loaded_count += 1; - } - if pointers.GetMediaSourceLength.is_some() { - loaded_count += 1; - } - if pointers.GetMediaSourceNumChannels.is_some() { - loaded_count += 1; - } - if pointers.GetMediaSourceParent.is_some() { - loaded_count += 1; - } - if pointers.GetMediaSourceSampleRate.is_some() { - loaded_count += 1; - } - if pointers.GetMediaSourceType.is_some() { - loaded_count += 1; - } - if pointers.GetMediaTrackInfo_Value.is_some() { - loaded_count += 1; - } - if pointers.GetMIDIInputName.is_some() { - loaded_count += 1; - } - if pointers.GetMIDIOutputName.is_some() { - loaded_count += 1; - } - if pointers.GetMixerScroll.is_some() { - loaded_count += 1; - } - if pointers.GetMouseModifier.is_some() { - loaded_count += 1; - } - if pointers.GetMousePosition.is_some() { - loaded_count += 1; - } - if pointers.GetNumAudioInputs.is_some() { - loaded_count += 1; - } - if pointers.GetNumAudioOutputs.is_some() { - loaded_count += 1; - } - if pointers.GetNumMIDIInputs.is_some() { - loaded_count += 1; - } - if pointers.GetNumMIDIOutputs.is_some() { - loaded_count += 1; - } - if pointers.GetNumTakeMarkers.is_some() { - loaded_count += 1; - } - if pointers.GetNumTracks.is_some() { - loaded_count += 1; - } - if pointers.GetOS.is_some() { - loaded_count += 1; - } - if pointers.GetOutputChannelName.is_some() { - loaded_count += 1; - } - if pointers.GetOutputLatency.is_some() { - loaded_count += 1; - } - if pointers.GetParentTrack.is_some() { - loaded_count += 1; - } - if pointers.GetPeakFileName.is_some() { - loaded_count += 1; - } - if pointers.GetPeakFileNameEx.is_some() { - loaded_count += 1; - } - if pointers.GetPeakFileNameEx2.is_some() { - loaded_count += 1; - } - if pointers.GetPeaksBitmap.is_some() { - loaded_count += 1; - } - if pointers.GetPlayPosition.is_some() { - loaded_count += 1; - } - if pointers.GetPlayPosition2.is_some() { - loaded_count += 1; - } - if pointers.GetPlayPosition2Ex.is_some() { - loaded_count += 1; - } - if pointers.GetPlayPositionEx.is_some() { - loaded_count += 1; - } - if pointers.GetPlayState.is_some() { - loaded_count += 1; - } - if pointers.GetPlayStateEx.is_some() { - loaded_count += 1; - } - if pointers.GetPreferredDiskReadMode.is_some() { - loaded_count += 1; - } - if pointers.GetPreferredDiskReadModePeak.is_some() { - loaded_count += 1; - } - if pointers.GetPreferredDiskWriteMode.is_some() { - loaded_count += 1; - } - if pointers.GetProjectLength.is_some() { - loaded_count += 1; - } - if pointers.GetProjectName.is_some() { - loaded_count += 1; - } - if pointers.GetProjectPath.is_some() { - loaded_count += 1; - } - if pointers.GetProjectPathEx.is_some() { - loaded_count += 1; - } - if pointers.GetProjectStateChangeCount.is_some() { - loaded_count += 1; - } - if pointers.GetProjectTimeOffset.is_some() { - loaded_count += 1; - } - if pointers.GetProjectTimeSignature.is_some() { - loaded_count += 1; - } - if pointers.GetProjectTimeSignature2.is_some() { - loaded_count += 1; - } - if pointers.GetProjExtState.is_some() { - loaded_count += 1; - } - if pointers.GetResourcePath.is_some() { - loaded_count += 1; - } - if pointers.GetSelectedEnvelope.is_some() { - loaded_count += 1; - } - if pointers.GetSelectedMediaItem.is_some() { - loaded_count += 1; - } - if pointers.GetSelectedTrack.is_some() { - loaded_count += 1; - } - if pointers.GetSelectedTrack2.is_some() { - loaded_count += 1; - } - if pointers.GetSelectedTrackEnvelope.is_some() { - loaded_count += 1; - } - if pointers.GetSet_ArrangeView2.is_some() { - loaded_count += 1; - } - if pointers.GetSet_LoopTimeRange.is_some() { - loaded_count += 1; - } - if pointers.GetSet_LoopTimeRange2.is_some() { - loaded_count += 1; - } - if pointers.GetSetAutomationItemInfo.is_some() { - loaded_count += 1; - } - if pointers.GetSetAutomationItemInfo_String.is_some() { - loaded_count += 1; - } - if pointers.GetSetEnvelopeInfo_String.is_some() { - loaded_count += 1; - } - if pointers.GetSetEnvelopeState.is_some() { - loaded_count += 1; - } - if pointers.GetSetEnvelopeState2.is_some() { - loaded_count += 1; - } - if pointers.GetSetItemState.is_some() { - loaded_count += 1; - } - if pointers.GetSetItemState2.is_some() { - loaded_count += 1; - } - if pointers.GetSetMediaItemInfo.is_some() { - loaded_count += 1; - } - if pointers.GetSetMediaItemInfo_String.is_some() { - loaded_count += 1; - } - if pointers.GetSetMediaItemTakeInfo.is_some() { - loaded_count += 1; - } - if pointers.GetSetMediaItemTakeInfo_String.is_some() { - loaded_count += 1; - } - if pointers.GetSetMediaTrackInfo.is_some() { - loaded_count += 1; - } - if pointers.GetSetMediaTrackInfo_String.is_some() { - loaded_count += 1; - } - if pointers.GetSetObjectState.is_some() { - loaded_count += 1; - } - if pointers.GetSetObjectState2.is_some() { - loaded_count += 1; - } - if pointers.GetSetProjectAuthor.is_some() { - loaded_count += 1; - } - if pointers.GetSetProjectGrid.is_some() { - loaded_count += 1; - } - if pointers.GetSetProjectInfo.is_some() { - loaded_count += 1; - } - if pointers.GetSetProjectInfo_String.is_some() { - loaded_count += 1; - } - if pointers.GetSetProjectNotes.is_some() { - loaded_count += 1; - } - if pointers.GetSetRepeat.is_some() { - loaded_count += 1; - } - if pointers.GetSetRepeatEx.is_some() { - loaded_count += 1; - } - if pointers.GetSetTempoTimeSigMarkerFlag.is_some() { - loaded_count += 1; - } - if pointers.GetSetTrackGroupMembership.is_some() { - loaded_count += 1; - } - if pointers.GetSetTrackGroupMembershipEx.is_some() { - loaded_count += 1; - } - if pointers.GetSetTrackGroupMembershipHigh.is_some() { - loaded_count += 1; - } - if pointers.GetSetTrackMIDISupportFile.is_some() { - loaded_count += 1; - } - if pointers.GetSetTrackSendInfo.is_some() { - loaded_count += 1; - } - if pointers.GetSetTrackSendInfo_String.is_some() { - loaded_count += 1; - } - if pointers.GetSetTrackState.is_some() { - loaded_count += 1; - } - if pointers.GetSetTrackState2.is_some() { - loaded_count += 1; - } - if pointers.GetSubProjectFromSource.is_some() { - loaded_count += 1; - } - if pointers.GetTake.is_some() { - loaded_count += 1; - } - if pointers.GetTakeEnvelope.is_some() { - loaded_count += 1; - } - if pointers.GetTakeEnvelopeByName.is_some() { - loaded_count += 1; - } - if pointers.GetTakeMarker.is_some() { - loaded_count += 1; - } - if pointers.GetTakeName.is_some() { - loaded_count += 1; - } - if pointers.GetTakeNumStretchMarkers.is_some() { - loaded_count += 1; - } - if pointers.GetTakeStretchMarker.is_some() { - loaded_count += 1; - } - if pointers.GetTakeStretchMarkerSlope.is_some() { - loaded_count += 1; - } - if pointers.GetTCPFXParm.is_some() { - loaded_count += 1; - } - if pointers.GetTempoMatchPlayRate.is_some() { - loaded_count += 1; - } - if pointers.GetTempoTimeSigMarker.is_some() { - loaded_count += 1; - } - if pointers.GetThemeColor.is_some() { - loaded_count += 1; - } - if pointers.GetThingFromPoint.is_some() { - loaded_count += 1; - } - if pointers.GetToggleCommandState.is_some() { - loaded_count += 1; - } - if pointers.GetToggleCommandState2.is_some() { - loaded_count += 1; - } - if pointers.GetToggleCommandStateEx.is_some() { - loaded_count += 1; - } - if pointers.GetToggleCommandStateThroughHooks.is_some() { - loaded_count += 1; - } - if pointers.GetTooltipWindow.is_some() { - loaded_count += 1; - } - if pointers.GetTouchedOrFocusedFX.is_some() { - loaded_count += 1; - } - if pointers.GetTrack.is_some() { - loaded_count += 1; - } - if pointers.GetTrackAutomationMode.is_some() { - loaded_count += 1; - } - if pointers.GetTrackColor.is_some() { - loaded_count += 1; - } - if pointers.GetTrackDepth.is_some() { - loaded_count += 1; - } - if pointers.GetTrackEnvelope.is_some() { - loaded_count += 1; - } - if pointers.GetTrackEnvelopeByChunkName.is_some() { - loaded_count += 1; - } - if pointers.GetTrackEnvelopeByName.is_some() { - loaded_count += 1; - } - if pointers.GetTrackFromPoint.is_some() { - loaded_count += 1; - } - if pointers.GetTrackGUID.is_some() { - loaded_count += 1; - } - if pointers.GetTrackInfo.is_some() { - loaded_count += 1; - } - if pointers.GetTrackMediaItem.is_some() { - loaded_count += 1; - } - if pointers.GetTrackMIDILyrics.is_some() { - loaded_count += 1; - } - if pointers.GetTrackMIDINoteName.is_some() { - loaded_count += 1; - } - if pointers.GetTrackMIDINoteNameEx.is_some() { - loaded_count += 1; - } - if pointers.GetTrackMIDINoteRange.is_some() { - loaded_count += 1; - } - if pointers.GetTrackName.is_some() { - loaded_count += 1; - } - if pointers.GetTrackNumMediaItems.is_some() { - loaded_count += 1; - } - if pointers.GetTrackNumSends.is_some() { - loaded_count += 1; - } - if pointers.GetTrackReceiveName.is_some() { - loaded_count += 1; - } - if pointers.GetTrackReceiveUIMute.is_some() { - loaded_count += 1; - } - if pointers.GetTrackReceiveUIVolPan.is_some() { - loaded_count += 1; - } - if pointers.GetTrackSendInfo_Value.is_some() { - loaded_count += 1; - } - if pointers.GetTrackSendName.is_some() { - loaded_count += 1; - } - if pointers.GetTrackSendUIMute.is_some() { - loaded_count += 1; - } - if pointers.GetTrackSendUIVolPan.is_some() { - loaded_count += 1; - } - if pointers.GetTrackState.is_some() { - loaded_count += 1; - } - if pointers.GetTrackStateChunk.is_some() { - loaded_count += 1; - } - if pointers.GetTrackUIMute.is_some() { - loaded_count += 1; - } - if pointers.GetTrackUIPan.is_some() { - loaded_count += 1; - } - if pointers.GetTrackUIVolPan.is_some() { - loaded_count += 1; - } - if pointers.GetUnderrunTime.is_some() { - loaded_count += 1; - } - if pointers.GetUserFileNameForRead.is_some() { - loaded_count += 1; - } - if pointers.GetUserInputs.is_some() { - loaded_count += 1; - } - if pointers.GoToMarker.is_some() { - loaded_count += 1; - } - if pointers.GoToRegion.is_some() { - loaded_count += 1; - } - if pointers.GR_SelectColor.is_some() { - loaded_count += 1; - } - if pointers.GSC_mainwnd.is_some() { - loaded_count += 1; - } - if pointers.guidToString.is_some() { - loaded_count += 1; - } - if pointers.HasExtState.is_some() { - loaded_count += 1; - } - if pointers.HasTrackMIDIPrograms.is_some() { - loaded_count += 1; - } - if pointers.HasTrackMIDIProgramsEx.is_some() { - loaded_count += 1; - } - if pointers.Help_Set.is_some() { - loaded_count += 1; - } - if pointers.HiresPeaksFromSource.is_some() { - loaded_count += 1; - } - if pointers.image_resolve_fn.is_some() { - loaded_count += 1; - } - if pointers.InsertAutomationItem.is_some() { - loaded_count += 1; - } - if pointers.InsertEnvelopePoint.is_some() { - loaded_count += 1; - } - if pointers.InsertEnvelopePointEx.is_some() { - loaded_count += 1; - } - if pointers.InsertMedia.is_some() { - loaded_count += 1; - } - if pointers.InsertMediaSection.is_some() { - loaded_count += 1; - } - if pointers.InsertTrackAtIndex.is_some() { - loaded_count += 1; - } - if pointers.InsertTrackInProject.is_some() { - loaded_count += 1; - } - if pointers.IsInRealTimeAudio.is_some() { - loaded_count += 1; - } - if pointers.IsItemTakeActiveForPlayback.is_some() { - loaded_count += 1; - } - if pointers.IsMediaExtension.is_some() { - loaded_count += 1; - } - if pointers.IsMediaItemSelected.is_some() { - loaded_count += 1; - } - if pointers.IsProjectDirty.is_some() { - loaded_count += 1; - } - if pointers.IsREAPER.is_some() { - loaded_count += 1; - } - if pointers.IsTrackSelected.is_some() { - loaded_count += 1; - } - if pointers.IsTrackVisible.is_some() { - loaded_count += 1; - } - if pointers.IsWindowTextField.is_some() { - loaded_count += 1; - } - if pointers.joystick_create.is_some() { - loaded_count += 1; - } - if pointers.joystick_destroy.is_some() { - loaded_count += 1; - } - if pointers.joystick_enum.is_some() { - loaded_count += 1; - } - if pointers.joystick_getaxis.is_some() { - loaded_count += 1; - } - if pointers.joystick_getbuttonmask.is_some() { - loaded_count += 1; - } - if pointers.joystick_getinfo.is_some() { - loaded_count += 1; - } - if pointers.joystick_getpov.is_some() { - loaded_count += 1; - } - if pointers.joystick_update.is_some() { - loaded_count += 1; - } - if pointers.kbd_enumerateActions.is_some() { - loaded_count += 1; - } - if pointers.kbd_formatKeyName.is_some() { - loaded_count += 1; - } - if pointers.kbd_getCommandName.is_some() { - loaded_count += 1; - } - if pointers.kbd_getTextFromCmd.is_some() { - loaded_count += 1; - } - if pointers.KBD_OnMainActionEx.is_some() { - loaded_count += 1; - } - if pointers.kbd_OnMidiEvent.is_some() { - loaded_count += 1; - } - if pointers.kbd_OnMidiList.is_some() { - loaded_count += 1; - } - if pointers.kbd_ProcessActionsMenu.is_some() { - loaded_count += 1; - } - if pointers.kbd_processMidiEventActionEx.is_some() { - loaded_count += 1; - } - if pointers.kbd_reprocessMenu.is_some() { - loaded_count += 1; - } - if pointers.kbd_RunCommandThroughHooks.is_some() { - loaded_count += 1; - } - if pointers.kbd_translateAccelerator.is_some() { - loaded_count += 1; - } - if pointers.LICE__Destroy.is_some() { - loaded_count += 1; - } - if pointers.LICE__DestroyFont.is_some() { - loaded_count += 1; - } - if pointers.LICE__DrawText.is_some() { - loaded_count += 1; - } - if pointers.LICE__GetBits.is_some() { - loaded_count += 1; - } - if pointers.LICE__GetDC.is_some() { - loaded_count += 1; - } - if pointers.LICE__GetHeight.is_some() { - loaded_count += 1; - } - if pointers.LICE__GetRowSpan.is_some() { - loaded_count += 1; - } - if pointers.LICE__GetWidth.is_some() { - loaded_count += 1; - } - if pointers.LICE__IsFlipped.is_some() { - loaded_count += 1; - } - if pointers.LICE__resize.is_some() { - loaded_count += 1; - } - if pointers.LICE__SetBkColor.is_some() { - loaded_count += 1; - } - if pointers.LICE__SetFromHFont.is_some() { - loaded_count += 1; - } - if pointers.LICE__SetTextColor.is_some() { - loaded_count += 1; - } - if pointers.LICE__SetTextCombineMode.is_some() { - loaded_count += 1; - } - if pointers.LICE_Arc.is_some() { - loaded_count += 1; - } - if pointers.LICE_Blit.is_some() { - loaded_count += 1; - } - if pointers.LICE_Blur.is_some() { - loaded_count += 1; - } - if pointers.LICE_BorderedRect.is_some() { - loaded_count += 1; - } - if pointers.LICE_Circle.is_some() { - loaded_count += 1; - } - if pointers.LICE_Clear.is_some() { - loaded_count += 1; - } - if pointers.LICE_ClearRect.is_some() { - loaded_count += 1; - } - if pointers.LICE_ClipLine.is_some() { - loaded_count += 1; - } - if pointers.LICE_CombinePixels.is_some() { - loaded_count += 1; - } - if pointers.LICE_Copy.is_some() { - loaded_count += 1; - } - if pointers.LICE_CreateBitmap.is_some() { - loaded_count += 1; - } - if pointers.LICE_CreateFont.is_some() { - loaded_count += 1; - } - if pointers.LICE_DrawCBezier.is_some() { - loaded_count += 1; - } - if pointers.LICE_DrawChar.is_some() { - loaded_count += 1; - } - if pointers.LICE_DrawGlyph.is_some() { - loaded_count += 1; - } - if pointers.LICE_DrawRect.is_some() { - loaded_count += 1; - } - if pointers.LICE_DrawText.is_some() { - loaded_count += 1; - } - if pointers.LICE_FillCBezier.is_some() { - loaded_count += 1; - } - if pointers.LICE_FillCircle.is_some() { - loaded_count += 1; - } - if pointers.LICE_FillConvexPolygon.is_some() { - loaded_count += 1; - } - if pointers.LICE_FillRect.is_some() { - loaded_count += 1; - } - if pointers.LICE_FillTrapezoid.is_some() { - loaded_count += 1; - } - if pointers.LICE_FillTriangle.is_some() { - loaded_count += 1; - } - if pointers.LICE_GetPixel.is_some() { - loaded_count += 1; - } - if pointers.LICE_GradRect.is_some() { - loaded_count += 1; - } - if pointers.LICE_Line.is_some() { - loaded_count += 1; - } - if pointers.LICE_LineInt.is_some() { - loaded_count += 1; - } - if pointers.LICE_LoadPNG.is_some() { - loaded_count += 1; - } - if pointers.LICE_LoadPNGFromResource.is_some() { - loaded_count += 1; - } - if pointers.LICE_MeasureText.is_some() { - loaded_count += 1; - } - if pointers.LICE_MultiplyAddRect.is_some() { - loaded_count += 1; - } - if pointers.LICE_PutPixel.is_some() { - loaded_count += 1; - } - if pointers.LICE_RotatedBlit.is_some() { - loaded_count += 1; - } - if pointers.LICE_RoundRect.is_some() { - loaded_count += 1; - } - if pointers.LICE_ScaledBlit.is_some() { - loaded_count += 1; - } - if pointers.LICE_SimpleFill.is_some() { - loaded_count += 1; - } - if pointers.LICE_ThickFLine.is_some() { - loaded_count += 1; - } - if pointers.LocalizeString.is_some() { - loaded_count += 1; - } - if pointers.Loop_OnArrow.is_some() { - loaded_count += 1; - } - if pointers.Main_OnCommand.is_some() { - loaded_count += 1; - } - if pointers.Main_OnCommandEx.is_some() { - loaded_count += 1; - } - if pointers.Main_openProject.is_some() { - loaded_count += 1; - } - if pointers.Main_SaveProject.is_some() { - loaded_count += 1; - } - if pointers.Main_SaveProjectEx.is_some() { - loaded_count += 1; - } - if pointers.Main_UpdateLoopInfo.is_some() { - loaded_count += 1; - } - if pointers.MarkProjectDirty.is_some() { - loaded_count += 1; - } - if pointers.MarkTrackItemsDirty.is_some() { - loaded_count += 1; - } - if pointers.Master_GetPlayRate.is_some() { - loaded_count += 1; - } - if pointers.Master_GetPlayRateAtTime.is_some() { - loaded_count += 1; - } - if pointers.Master_GetTempo.is_some() { - loaded_count += 1; - } - if pointers.Master_NormalizePlayRate.is_some() { - loaded_count += 1; - } - if pointers.Master_NormalizeTempo.is_some() { - loaded_count += 1; - } - if pointers.MB.is_some() { - loaded_count += 1; - } - if pointers.MediaItemDescendsFromTrack.is_some() { - loaded_count += 1; - } - if pointers.Menu_GetHash.is_some() { - loaded_count += 1; - } - if pointers.MIDI_CountEvts.is_some() { - loaded_count += 1; - } - if pointers.MIDI_DeleteCC.is_some() { - loaded_count += 1; - } - if pointers.MIDI_DeleteEvt.is_some() { - loaded_count += 1; - } - if pointers.MIDI_DeleteNote.is_some() { - loaded_count += 1; - } - if pointers.MIDI_DeleteTextSysexEvt.is_some() { - loaded_count += 1; - } - if pointers.MIDI_DisableSort.is_some() { - loaded_count += 1; - } - if pointers.MIDI_EnumSelCC.is_some() { - loaded_count += 1; - } - if pointers.MIDI_EnumSelEvts.is_some() { - loaded_count += 1; - } - if pointers.MIDI_EnumSelNotes.is_some() { - loaded_count += 1; - } - if pointers.MIDI_EnumSelTextSysexEvts.is_some() { - loaded_count += 1; - } - if pointers.MIDI_eventlist_Create.is_some() { - loaded_count += 1; - } - if pointers.MIDI_eventlist_Destroy.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetAllEvts.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetCC.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetCCShape.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetEvt.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetGrid.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetHash.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetNote.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetPPQPos_EndOfMeasure.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetPPQPos_StartOfMeasure.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetPPQPosFromProjQN.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetPPQPosFromProjTime.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetProjQNFromPPQPos.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetProjTimeFromPPQPos.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetRecentInputEvent.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetScale.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetTextSysexEvt.is_some() { - loaded_count += 1; - } - if pointers.MIDI_GetTrackHash.is_some() { - loaded_count += 1; - } - if pointers.midi_init.is_some() { - loaded_count += 1; - } - if pointers.MIDI_InsertCC.is_some() { - loaded_count += 1; - } - if pointers.MIDI_InsertEvt.is_some() { - loaded_count += 1; - } - if pointers.MIDI_InsertNote.is_some() { - loaded_count += 1; - } - if pointers.MIDI_InsertTextSysexEvt.is_some() { - loaded_count += 1; - } - if pointers.MIDI_RefreshEditors.is_some() { - loaded_count += 1; - } - if pointers.midi_reinit.is_some() { - loaded_count += 1; - } - if pointers.MIDI_SelectAll.is_some() { - loaded_count += 1; - } - if pointers.MIDI_SetAllEvts.is_some() { - loaded_count += 1; - } - if pointers.MIDI_SetCC.is_some() { - loaded_count += 1; - } - if pointers.MIDI_SetCCShape.is_some() { - loaded_count += 1; - } - if pointers.MIDI_SetEvt.is_some() { - loaded_count += 1; - } - if pointers.MIDI_SetItemExtents.is_some() { - loaded_count += 1; - } - if pointers.MIDI_SetNote.is_some() { - loaded_count += 1; - } - if pointers.MIDI_SetTextSysexEvt.is_some() { - loaded_count += 1; - } - if pointers.MIDI_Sort.is_some() { - loaded_count += 1; - } - if pointers.MIDIEditor_EnumTakes.is_some() { - loaded_count += 1; - } - if pointers.MIDIEditor_GetActive.is_some() { - loaded_count += 1; - } - if pointers.MIDIEditor_GetMode.is_some() { - loaded_count += 1; - } - if pointers.MIDIEditor_GetSetting_int.is_some() { - loaded_count += 1; - } - if pointers.MIDIEditor_GetSetting_str.is_some() { - loaded_count += 1; - } - if pointers.MIDIEditor_GetTake.is_some() { - loaded_count += 1; - } - if pointers.MIDIEditor_LastFocused_OnCommand.is_some() { - loaded_count += 1; - } - if pointers.MIDIEditor_OnCommand.is_some() { - loaded_count += 1; - } - if pointers.MIDIEditor_SetSetting_int.is_some() { - loaded_count += 1; - } - if pointers.MIDIEditorFlagsForTrack.is_some() { - loaded_count += 1; - } - if pointers.mkpanstr.is_some() { - loaded_count += 1; - } - if pointers.mkvolpanstr.is_some() { - loaded_count += 1; - } - if pointers.mkvolstr.is_some() { - loaded_count += 1; - } - if pointers.MoveEditCursor.is_some() { - loaded_count += 1; - } - if pointers.MoveMediaItemToTrack.is_some() { - loaded_count += 1; - } - if pointers.MuteAllTracks.is_some() { - loaded_count += 1; - } - if pointers.my_getViewport.is_some() { - loaded_count += 1; - } - if pointers.NamedCommandLookup.is_some() { - loaded_count += 1; - } - if pointers.OnPauseButton.is_some() { - loaded_count += 1; - } - if pointers.OnPauseButtonEx.is_some() { - loaded_count += 1; - } - if pointers.OnPlayButton.is_some() { - loaded_count += 1; - } - if pointers.OnPlayButtonEx.is_some() { - loaded_count += 1; - } - if pointers.OnStopButton.is_some() { - loaded_count += 1; - } - if pointers.OnStopButtonEx.is_some() { - loaded_count += 1; - } - if pointers.OpenColorThemeFile.is_some() { - loaded_count += 1; - } - if pointers.OpenMediaExplorer.is_some() { - loaded_count += 1; - } - if pointers.OscLocalMessageToHost.is_some() { - loaded_count += 1; - } - if pointers.parse_timestr.is_some() { - loaded_count += 1; - } - if pointers.parse_timestr_len.is_some() { - loaded_count += 1; - } - if pointers.parse_timestr_pos.is_some() { - loaded_count += 1; - } - if pointers.parsepanstr.is_some() { - loaded_count += 1; - } - if pointers.PCM_Sink_Create.is_some() { - loaded_count += 1; - } - if pointers.PCM_Sink_CreateEx.is_some() { - loaded_count += 1; - } - if pointers.PCM_Sink_CreateMIDIFile.is_some() { - loaded_count += 1; - } - if pointers.PCM_Sink_CreateMIDIFileEx.is_some() { - loaded_count += 1; - } - if pointers.PCM_Sink_Enum.is_some() { - loaded_count += 1; - } - if pointers.PCM_Sink_GetExtension.is_some() { - loaded_count += 1; - } - if pointers.PCM_Sink_ShowConfig.is_some() { - loaded_count += 1; - } - if pointers.PCM_Source_BuildPeaks.is_some() { - loaded_count += 1; - } - if pointers.PCM_Source_CreateFromFile.is_some() { - loaded_count += 1; - } - if pointers.PCM_Source_CreateFromFileEx.is_some() { - loaded_count += 1; - } - if pointers.PCM_Source_CreateFromSimple.is_some() { - loaded_count += 1; - } - if pointers.PCM_Source_CreateFromType.is_some() { - loaded_count += 1; - } - if pointers.PCM_Source_Destroy.is_some() { - loaded_count += 1; - } - if pointers.PCM_Source_GetPeaks.is_some() { - loaded_count += 1; - } - if pointers.PCM_Source_GetSectionInfo.is_some() { - loaded_count += 1; - } - if pointers.PeakBuild_Create.is_some() { - loaded_count += 1; - } - if pointers.PeakBuild_CreateEx.is_some() { - loaded_count += 1; - } - if pointers.PeakGet_Create.is_some() { - loaded_count += 1; - } - if pointers.PitchShiftSubModeMenu.is_some() { - loaded_count += 1; - } - if pointers.PlayPreview.is_some() { - loaded_count += 1; - } - if pointers.PlayPreviewEx.is_some() { - loaded_count += 1; - } - if pointers.PlayTrackPreview.is_some() { - loaded_count += 1; - } - if pointers.PlayTrackPreview2.is_some() { - loaded_count += 1; - } - if pointers.PlayTrackPreview2Ex.is_some() { - loaded_count += 1; - } - if pointers.plugin_getapi.is_some() { - loaded_count += 1; - } - if pointers.plugin_getFilterList.is_some() { - loaded_count += 1; - } - if pointers.plugin_getImportableProjectFilterList.is_some() { - loaded_count += 1; - } - if pointers.plugin_register.is_some() { - loaded_count += 1; - } - if pointers.PluginWantsAlwaysRunFx.is_some() { - loaded_count += 1; - } - if pointers.PreventUIRefresh.is_some() { - loaded_count += 1; - } - if pointers.projectconfig_var_addr.is_some() { - loaded_count += 1; - } - if pointers.projectconfig_var_getoffs.is_some() { - loaded_count += 1; - } - if pointers.PromptForAction.is_some() { - loaded_count += 1; - } - if pointers.realloc_cmd_clear.is_some() { - loaded_count += 1; - } - if pointers.realloc_cmd_ptr.is_some() { - loaded_count += 1; - } - if pointers.realloc_cmd_register_buf.is_some() { - loaded_count += 1; - } - if pointers.ReaperGetPitchShiftAPI.is_some() { - loaded_count += 1; - } - if pointers.ReaScriptError.is_some() { - loaded_count += 1; - } - if pointers.RecursiveCreateDirectory.is_some() { - loaded_count += 1; - } - if pointers.reduce_open_files.is_some() { - loaded_count += 1; - } - if pointers.RefreshToolbar.is_some() { - loaded_count += 1; - } - if pointers.RefreshToolbar2.is_some() { - loaded_count += 1; - } - if pointers.relative_fn.is_some() { - loaded_count += 1; - } - if pointers.RemoveTrackSend.is_some() { - loaded_count += 1; - } - if pointers.RenderFileSection.is_some() { - loaded_count += 1; - } - if pointers.ReorderSelectedTracks.is_some() { - loaded_count += 1; - } - if pointers.Resample_EnumModes.is_some() { - loaded_count += 1; - } - if pointers.Resampler_Create.is_some() { - loaded_count += 1; - } - if pointers.resolve_fn.is_some() { - loaded_count += 1; - } - if pointers.resolve_fn2.is_some() { - loaded_count += 1; - } - if pointers.ResolveRenderPattern.is_some() { - loaded_count += 1; - } - if pointers.ReverseNamedCommandLookup.is_some() { - loaded_count += 1; - } - if pointers.ScaleFromEnvelopeMode.is_some() { - loaded_count += 1; - } - if pointers.ScaleToEnvelopeMode.is_some() { - loaded_count += 1; - } - if pointers.screenset_register.is_some() { - loaded_count += 1; - } - if pointers.screenset_registerNew.is_some() { - loaded_count += 1; - } - if pointers.screenset_unregister.is_some() { - loaded_count += 1; - } - if pointers.screenset_unregisterByParam.is_some() { - loaded_count += 1; - } - if pointers.screenset_updateLastFocus.is_some() { - loaded_count += 1; - } - if pointers.SectionFromUniqueID.is_some() { - loaded_count += 1; - } - if pointers.SelectAllMediaItems.is_some() { - loaded_count += 1; - } - if pointers.SelectProjectInstance.is_some() { - loaded_count += 1; - } - if pointers.SendLocalOscMessage.is_some() { - loaded_count += 1; - } - if pointers.SendMIDIMessageToHardware.is_some() { - loaded_count += 1; - } - if pointers.SetActiveTake.is_some() { - loaded_count += 1; - } - if pointers.SetAutomationMode.is_some() { - loaded_count += 1; - } - if pointers.SetCurrentBPM.is_some() { - loaded_count += 1; - } - if pointers.SetCursorContext.is_some() { - loaded_count += 1; - } - if pointers.SetEditCurPos.is_some() { - loaded_count += 1; - } - if pointers.SetEditCurPos2.is_some() { - loaded_count += 1; - } - if pointers.SetEnvelopePoint.is_some() { - loaded_count += 1; - } - if pointers.SetEnvelopePointEx.is_some() { - loaded_count += 1; - } - if pointers.SetEnvelopeStateChunk.is_some() { - loaded_count += 1; - } - if pointers.SetExtState.is_some() { - loaded_count += 1; - } - if pointers.SetGlobalAutomationOverride.is_some() { - loaded_count += 1; - } - if pointers.SetItemStateChunk.is_some() { - loaded_count += 1; - } - if pointers.SetMasterTrackVisibility.is_some() { - loaded_count += 1; - } - if pointers.SetMediaItemInfo_Value.is_some() { - loaded_count += 1; - } - if pointers.SetMediaItemLength.is_some() { - loaded_count += 1; - } - if pointers.SetMediaItemPosition.is_some() { - loaded_count += 1; - } - if pointers.SetMediaItemSelected.is_some() { - loaded_count += 1; - } - if pointers.SetMediaItemTake_Source.is_some() { - loaded_count += 1; - } - if pointers.SetMediaItemTakeInfo_Value.is_some() { - loaded_count += 1; - } - if pointers.SetMediaTrackInfo_Value.is_some() { - loaded_count += 1; - } - if pointers.SetMIDIEditorGrid.is_some() { - loaded_count += 1; - } - if pointers.SetMixerScroll.is_some() { - loaded_count += 1; - } - if pointers.SetMouseModifier.is_some() { - loaded_count += 1; - } - if pointers.SetOnlyTrackSelected.is_some() { - loaded_count += 1; - } - if pointers.SetProjectGrid.is_some() { - loaded_count += 1; - } - if pointers.SetProjectMarker.is_some() { - loaded_count += 1; - } - if pointers.SetProjectMarker2.is_some() { - loaded_count += 1; - } - if pointers.SetProjectMarker3.is_some() { - loaded_count += 1; - } - if pointers.SetProjectMarker4.is_some() { - loaded_count += 1; - } - if pointers.SetProjectMarkerByIndex.is_some() { - loaded_count += 1; - } - if pointers.SetProjectMarkerByIndex2.is_some() { - loaded_count += 1; - } - if pointers.SetProjExtState.is_some() { - loaded_count += 1; - } - if pointers.SetRegionRenderMatrix.is_some() { - loaded_count += 1; - } - if pointers.SetRenderLastError.is_some() { - loaded_count += 1; - } - if pointers.SetTakeMarker.is_some() { - loaded_count += 1; - } - if pointers.SetTakeStretchMarker.is_some() { - loaded_count += 1; - } - if pointers.SetTakeStretchMarkerSlope.is_some() { - loaded_count += 1; - } - if pointers.SetTempoTimeSigMarker.is_some() { - loaded_count += 1; - } - if pointers.SetThemeColor.is_some() { - loaded_count += 1; - } - if pointers.SetToggleCommandState.is_some() { - loaded_count += 1; - } - if pointers.SetTrackAutomationMode.is_some() { - loaded_count += 1; - } - if pointers.SetTrackColor.is_some() { - loaded_count += 1; - } - if pointers.SetTrackMIDILyrics.is_some() { - loaded_count += 1; - } - if pointers.SetTrackMIDINoteName.is_some() { - loaded_count += 1; - } - if pointers.SetTrackMIDINoteNameEx.is_some() { - loaded_count += 1; - } - if pointers.SetTrackSelected.is_some() { - loaded_count += 1; - } - if pointers.SetTrackSendInfo_Value.is_some() { - loaded_count += 1; - } - if pointers.SetTrackSendUIPan.is_some() { - loaded_count += 1; - } - if pointers.SetTrackSendUIVol.is_some() { - loaded_count += 1; - } - if pointers.SetTrackStateChunk.is_some() { - loaded_count += 1; - } - if pointers.SetTrackUIInputMonitor.is_some() { - loaded_count += 1; - } - if pointers.SetTrackUIMute.is_some() { - loaded_count += 1; - } - if pointers.SetTrackUIPan.is_some() { - loaded_count += 1; - } - if pointers.SetTrackUIPolarity.is_some() { - loaded_count += 1; - } - if pointers.SetTrackUIRecArm.is_some() { - loaded_count += 1; - } - if pointers.SetTrackUISolo.is_some() { - loaded_count += 1; - } - if pointers.SetTrackUIVolume.is_some() { - loaded_count += 1; - } - if pointers.SetTrackUIWidth.is_some() { - loaded_count += 1; - } - if pointers.ShowActionList.is_some() { - loaded_count += 1; - } - if pointers.ShowConsoleMsg.is_some() { - loaded_count += 1; - } - if pointers.ShowMessageBox.is_some() { - loaded_count += 1; - } - if pointers.ShowPopupMenu.is_some() { - loaded_count += 1; - } - if pointers.SLIDER2DB.is_some() { - loaded_count += 1; - } - if pointers.SnapToGrid.is_some() { - loaded_count += 1; - } - if pointers.SoloAllTracks.is_some() { - loaded_count += 1; - } - if pointers.Splash_GetWnd.is_some() { - loaded_count += 1; - } - if pointers.SplitMediaItem.is_some() { - loaded_count += 1; - } - if pointers.StopPreview.is_some() { - loaded_count += 1; - } - if pointers.StopTrackPreview.is_some() { - loaded_count += 1; - } - if pointers.StopTrackPreview2.is_some() { - loaded_count += 1; - } - if pointers.stringToGuid.is_some() { - loaded_count += 1; - } - if pointers.StuffMIDIMessage.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_AddByName.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_CopyToTake.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_CopyToTrack.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_Delete.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_EndParamEdit.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_FormatParamValue.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_FormatParamValueNormalized.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetChainVisible.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetCount.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetEnabled.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetEnvelope.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetFloatingWindow.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetFormattedParamValue.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetFXGUID.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetFXName.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetIOSize.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetNamedConfigParm.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetNumParams.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetOffline.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetOpen.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetParam.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetParameterStepSizes.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetParamEx.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetParamFromIdent.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetParamIdent.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetParamName.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetParamNormalized.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetPinMappings.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetPreset.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetPresetIndex.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_GetUserPresetFilename.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_NavigatePresets.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_SetEnabled.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_SetNamedConfigParm.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_SetOffline.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_SetOpen.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_SetParam.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_SetParamNormalized.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_SetPinMappings.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_SetPreset.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_SetPresetByIndex.is_some() { - loaded_count += 1; - } - if pointers.TakeFX_Show.is_some() { - loaded_count += 1; - } - if pointers.TakeIsMIDI.is_some() { - loaded_count += 1; - } - if pointers.ThemeLayout_GetLayout.is_some() { - loaded_count += 1; - } - if pointers.ThemeLayout_GetParameter.is_some() { - loaded_count += 1; - } - if pointers.ThemeLayout_RefreshAll.is_some() { - loaded_count += 1; - } - if pointers.ThemeLayout_SetLayout.is_some() { - loaded_count += 1; - } - if pointers.ThemeLayout_SetParameter.is_some() { - loaded_count += 1; - } - if pointers.time_precise.is_some() { - loaded_count += 1; - } - if pointers.TimeMap2_beatsToTime.is_some() { - loaded_count += 1; - } - if pointers.TimeMap2_GetDividedBpmAtTime.is_some() { - loaded_count += 1; - } - if pointers.TimeMap2_GetNextChangeTime.is_some() { - loaded_count += 1; - } - if pointers.TimeMap2_QNToTime.is_some() { - loaded_count += 1; - } - if pointers.TimeMap2_timeToBeats.is_some() { - loaded_count += 1; - } - if pointers.TimeMap2_timeToQN.is_some() { - loaded_count += 1; - } - if pointers.TimeMap_curFrameRate.is_some() { - loaded_count += 1; - } - if pointers.TimeMap_GetDividedBpmAtTime.is_some() { - loaded_count += 1; - } - if pointers.TimeMap_GetMeasureInfo.is_some() { - loaded_count += 1; - } - if pointers.TimeMap_GetMetronomePattern.is_some() { - loaded_count += 1; - } - if pointers.TimeMap_GetTimeSigAtTime.is_some() { - loaded_count += 1; - } - if pointers.TimeMap_QNToMeasures.is_some() { - loaded_count += 1; - } - if pointers.TimeMap_QNToTime.is_some() { - loaded_count += 1; - } - if pointers.TimeMap_QNToTime_abs.is_some() { - loaded_count += 1; - } - if pointers.TimeMap_timeToQN.is_some() { - loaded_count += 1; - } - if pointers.TimeMap_timeToQN_abs.is_some() { - loaded_count += 1; - } - if pointers.ToggleTrackSendUIMute.is_some() { - loaded_count += 1; - } - if pointers.Track_GetPeakHoldDB.is_some() { - loaded_count += 1; - } - if pointers.Track_GetPeakInfo.is_some() { - loaded_count += 1; - } - if pointers.TrackCtl_SetToolTip.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_AddByName.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_CopyToTake.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_CopyToTrack.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_Delete.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_EndParamEdit.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_FormatParamValue.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_FormatParamValueNormalized.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetByName.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetChainVisible.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetCount.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetEnabled.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetEQ.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetEQBandEnabled.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetEQParam.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetFloatingWindow.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetFormattedParamValue.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetFXGUID.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetFXName.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetInstrument.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetIOSize.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetNamedConfigParm.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetNumParams.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetOffline.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetOpen.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetParam.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetParameterStepSizes.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetParamEx.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetParamFromIdent.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetParamIdent.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetParamName.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetParamNormalized.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetPinMappings.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetPreset.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetPresetIndex.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetRecChainVisible.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetRecCount.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_GetUserPresetFilename.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_NavigatePresets.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_SetEnabled.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_SetEQBandEnabled.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_SetEQParam.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_SetNamedConfigParm.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_SetOffline.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_SetOpen.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_SetParam.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_SetParamNormalized.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_SetPinMappings.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_SetPreset.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_SetPresetByIndex.is_some() { - loaded_count += 1; - } - if pointers.TrackFX_Show.is_some() { - loaded_count += 1; - } - if pointers.TrackList_AdjustWindows.is_some() { - loaded_count += 1; - } - if pointers.TrackList_UpdateAllExternalSurfaces.is_some() { - loaded_count += 1; - } - if pointers.Undo_BeginBlock.is_some() { - loaded_count += 1; - } - if pointers.Undo_BeginBlock2.is_some() { - loaded_count += 1; - } - if pointers.Undo_CanRedo2.is_some() { - loaded_count += 1; - } - if pointers.Undo_CanUndo2.is_some() { - loaded_count += 1; - } - if pointers.Undo_DoRedo2.is_some() { - loaded_count += 1; - } - if pointers.Undo_DoUndo2.is_some() { - loaded_count += 1; - } - if pointers.Undo_EndBlock.is_some() { - loaded_count += 1; - } - if pointers.Undo_EndBlock2.is_some() { - loaded_count += 1; - } - if pointers.Undo_OnStateChange.is_some() { - loaded_count += 1; - } - if pointers.Undo_OnStateChange2.is_some() { - loaded_count += 1; - } - if pointers.Undo_OnStateChange_Item.is_some() { - loaded_count += 1; - } - if pointers.Undo_OnStateChangeEx.is_some() { - loaded_count += 1; - } - if pointers.Undo_OnStateChangeEx2.is_some() { - loaded_count += 1; - } - if pointers.update_disk_counters.is_some() { - loaded_count += 1; - } - if pointers.UpdateArrange.is_some() { - loaded_count += 1; - } - if pointers.UpdateItemInProject.is_some() { - loaded_count += 1; - } - if pointers.UpdateItemLanes.is_some() { - loaded_count += 1; - } - if pointers.UpdateTimeline.is_some() { - loaded_count += 1; - } - if pointers.ValidatePtr.is_some() { - loaded_count += 1; - } - if pointers.ValidatePtr2.is_some() { - loaded_count += 1; - } - if pointers.ViewPrefs.is_some() { - loaded_count += 1; - } - if pointers.WDL_VirtualWnd_ScaledBlitBG.is_some() { - loaded_count += 1; - } - if pointers.GetMidiInput.is_some() { - loaded_count += 1; - } - if pointers.GetMidiOutput.is_some() { - loaded_count += 1; - } - if pointers.fxDoReaperPresetAction.is_some() { - loaded_count += 1; - } - if pointers.AddCustomMenuOrToolbarItem.is_some() { - loaded_count += 1; - } - if pointers.DeleteCustomMenuOrToolbarItem.is_some() { - loaded_count += 1; - } - if pointers.GetCustomMenuOrToolbarItem.is_some() { - loaded_count += 1; - } - if pointers.AdvancePlaybackPosition.is_some() { - loaded_count += 1; - } - if pointers.GetPlayLoopCnt.is_some() { - loaded_count += 1; - } - if pointers.InitializeCoolSB.is_some() { - loaded_count += 1; - } - if pointers.UninitializeCoolSB.is_some() { - loaded_count += 1; - } - if pointers.CoolSB_SetMinThumbSize.is_some() { - loaded_count += 1; - } - if pointers.CoolSB_GetScrollInfo.is_some() { - loaded_count += 1; - } - if pointers.CoolSB_SetScrollInfo.is_some() { - loaded_count += 1; - } - if pointers.CoolSB_SetScrollPos.is_some() { - loaded_count += 1; - } - if pointers.CoolSB_SetScrollRange.is_some() { - loaded_count += 1; - } - if pointers.CoolSB_ShowScrollBar.is_some() { - loaded_count += 1; - } - if pointers.CoolSB_SetResizingThumb.is_some() { - loaded_count += 1; - } - if pointers.CoolSB_SetThemeIndex.is_some() { - loaded_count += 1; - } - pointers.loaded_count = loaded_count; - Reaper { - pointers, - plugin_context: Some(plugin_context), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn __mergesort( - &self, - base: *mut ::std::os::raw::c_void, - nmemb: usize, - size: usize, - cmpfunc: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int, - >, - tmpspace: *mut ::std::os::raw::c_void, - ) { - match self.pointers.__mergesort { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(__mergesort) - ), - Some(f) => f(base, nmemb, size, cmpfunc, tmpspace), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn AddCustomizableMenu( - &self, - menuidstr: *const ::std::os::raw::c_char, - menuname: *const ::std::os::raw::c_char, - kbdsecname: *const ::std::os::raw::c_char, - addtomainmenu: bool, - ) -> bool { - match self.pointers.AddCustomizableMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AddCustomizableMenu) - ), - Some(f) => f(menuidstr, menuname, kbdsecname, addtomainmenu), - } - } - pub fn AddExtensionsMainMenu(&self) -> bool { - match self.pointers.AddExtensionsMainMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AddExtensionsMainMenu) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn AddMediaItemToTrack(&self, tr: *mut root::MediaTrack) -> *mut root::MediaItem { - match self.pointers.AddMediaItemToTrack { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AddMediaItemToTrack) - ), - Some(f) => f(tr), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn AddProjectMarker( - &self, - proj: *mut root::ReaProject, - isrgn: bool, - pos: f64, - rgnend: f64, - name: *const ::std::os::raw::c_char, - wantidx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.AddProjectMarker { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AddProjectMarker) - ), - Some(f) => f(proj, isrgn, pos, rgnend, name, wantidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn AddProjectMarker2( - &self, - proj: *mut root::ReaProject, - isrgn: bool, - pos: f64, - rgnend: f64, - name: *const ::std::os::raw::c_char, - wantidx: ::std::os::raw::c_int, - color: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.AddProjectMarker2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AddProjectMarker2) - ), - Some(f) => f(proj, isrgn, pos, rgnend, name, wantidx, color), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn AddRemoveReaScript( - &self, - add: bool, - sectionID: ::std::os::raw::c_int, - scriptfn: *const ::std::os::raw::c_char, - commit: bool, - ) -> ::std::os::raw::c_int { - match self.pointers.AddRemoveReaScript { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AddRemoveReaScript) - ), - Some(f) => f(add, sectionID, scriptfn, commit), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn AddTakeToMediaItem( - &self, - item: *mut root::MediaItem, - ) -> *mut root::MediaItem_Take { - match self.pointers.AddTakeToMediaItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AddTakeToMediaItem) - ), - Some(f) => f(item), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn AddTempoTimeSigMarker( - &self, - proj: *mut root::ReaProject, - timepos: f64, - bpm: f64, - timesig_num: ::std::os::raw::c_int, - timesig_denom: ::std::os::raw::c_int, - lineartempochange: bool, - ) -> bool { - match self.pointers.AddTempoTimeSigMarker { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AddTempoTimeSigMarker) - ), - Some(f) => f( - proj, - timepos, - bpm, - timesig_num, - timesig_denom, - lineartempochange, - ), - } - } - pub fn adjustZoom( - &self, - amt: f64, - forceset: ::std::os::raw::c_int, - doupd: bool, - centermode: ::std::os::raw::c_int, - ) { - match self.pointers.adjustZoom { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(adjustZoom) - ), - Some(f) => f(amt, forceset, doupd, centermode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn AnyTrackSolo(&self, proj: *mut root::ReaProject) -> bool { - match self.pointers.AnyTrackSolo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AnyTrackSolo) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn APIExists(&self, function_name: *const ::std::os::raw::c_char) -> bool { - match self.pointers.APIExists { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(APIExists) - ), - Some(f) => f(function_name), - } - } - pub fn APITest(&self) { - match self.pointers.APITest { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(APITest) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ApplyNudge( - &self, - project: *mut root::ReaProject, - nudgeflag: ::std::os::raw::c_int, - nudgewhat: ::std::os::raw::c_int, - nudgeunits: ::std::os::raw::c_int, - value: f64, - reverse: bool, - copies: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.ApplyNudge { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ApplyNudge) - ), - Some(f) => f( - project, nudgeflag, nudgewhat, nudgeunits, value, reverse, copies, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ArmCommand( - &self, - cmd: ::std::os::raw::c_int, - sectionname: *const ::std::os::raw::c_char, - ) { - match self.pointers.ArmCommand { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ArmCommand) - ), - Some(f) => f(cmd, sectionname), - } - } - pub fn Audio_Init(&self) { - match self.pointers.Audio_Init { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Audio_Init) - ), - Some(f) => f(), - } - } - pub fn Audio_IsPreBuffer(&self) -> ::std::os::raw::c_int { - match self.pointers.Audio_IsPreBuffer { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Audio_IsPreBuffer) - ), - Some(f) => f(), - } - } - pub fn Audio_IsRunning(&self) -> ::std::os::raw::c_int { - match self.pointers.Audio_IsRunning { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Audio_IsRunning) - ), - Some(f) => f(), - } - } - pub fn Audio_Quit(&self) { - match self.pointers.Audio_Quit { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Audio_Quit) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Audio_RegHardwareHook( - &self, - isAdd: bool, - reg: *mut root::audio_hook_register_t, - ) -> ::std::os::raw::c_int { - match self.pointers.Audio_RegHardwareHook { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Audio_RegHardwareHook) - ), - Some(f) => f(isAdd, reg), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn AudioAccessorStateChanged( - &self, - accessor: *mut root::reaper_functions::AudioAccessor, - ) -> bool { - match self.pointers.AudioAccessorStateChanged { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AudioAccessorStateChanged) - ), - Some(f) => f(accessor), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn AudioAccessorUpdate(&self, accessor: *mut root::reaper_functions::AudioAccessor) { - match self.pointers.AudioAccessorUpdate { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AudioAccessorUpdate) - ), - Some(f) => f(accessor), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn AudioAccessorValidateState( - &self, - accessor: *mut root::reaper_functions::AudioAccessor, - ) -> bool { - match self.pointers.AudioAccessorValidateState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AudioAccessorValidateState) - ), - Some(f) => f(accessor), - } - } - pub fn BypassFxAllTracks(&self, bypass: ::std::os::raw::c_int) { - match self.pointers.BypassFxAllTracks { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(BypassFxAllTracks) - ), - Some(f) => f(bypass), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CalcMediaSrcLoudness( - &self, - mediasource: *mut root::PCM_source, - ) -> ::std::os::raw::c_int { - match self.pointers.CalcMediaSrcLoudness { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CalcMediaSrcLoudness) - ), - Some(f) => f(mediasource), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CalculateNormalization( - &self, - source: *mut root::PCM_source, - normalizeTo: ::std::os::raw::c_int, - normalizeTarget: f64, - normalizeStart: f64, - normalizeEnd: f64, - ) -> f64 { - match self.pointers.CalculateNormalization { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CalculateNormalization) - ), - Some(f) => f( - source, - normalizeTo, - normalizeTarget, - normalizeStart, - normalizeEnd, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CalculatePeaks( - &self, - srcBlock: *mut root::PCM_source_transfer_t, - pksBlock: *mut root::PCM_source_peaktransfer_t, - ) -> ::std::os::raw::c_int { - match self.pointers.CalculatePeaks { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CalculatePeaks) - ), - Some(f) => f(srcBlock, pksBlock), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CalculatePeaksFloatSrcPtr( - &self, - srcBlock: *mut root::PCM_source_transfer_t, - pksBlock: *mut root::PCM_source_peaktransfer_t, - ) -> ::std::os::raw::c_int { - match self.pointers.CalculatePeaksFloatSrcPtr { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CalculatePeaksFloatSrcPtr) - ), - Some(f) => f(srcBlock, pksBlock), - } - } - pub fn ClearAllRecArmed(&self) { - match self.pointers.ClearAllRecArmed { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ClearAllRecArmed) - ), - Some(f) => f(), - } - } - pub fn ClearConsole(&self) { - match self.pointers.ClearConsole { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ClearConsole) - ), - Some(f) => f(), - } - } - pub fn ClearPeakCache(&self) { - match self.pointers.ClearPeakCache { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ClearPeakCache) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ColorFromNative( - &self, - col: ::std::os::raw::c_int, - rOut: *mut ::std::os::raw::c_int, - gOut: *mut ::std::os::raw::c_int, - bOut: *mut ::std::os::raw::c_int, - ) { - match self.pointers.ColorFromNative { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ColorFromNative) - ), - Some(f) => f(col, rOut, gOut, bOut), - } - } - pub fn ColorToNative( - &self, - r: ::std::os::raw::c_int, - g: ::std::os::raw::c_int, - b: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.ColorToNative { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ColorToNative) - ), - Some(f) => f(r, g, b), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountActionShortcuts( - &self, - section: *mut root::KbdSectionInfo, - cmdID: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.CountActionShortcuts { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountActionShortcuts) - ), - Some(f) => f(section, cmdID), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountAutomationItems( - &self, - env: *mut root::TrackEnvelope, - ) -> ::std::os::raw::c_int { - match self.pointers.CountAutomationItems { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountAutomationItems) - ), - Some(f) => f(env), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountEnvelopePoints( - &self, - envelope: *mut root::TrackEnvelope, - ) -> ::std::os::raw::c_int { - match self.pointers.CountEnvelopePoints { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountEnvelopePoints) - ), - Some(f) => f(envelope), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountEnvelopePointsEx( - &self, - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.CountEnvelopePointsEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountEnvelopePointsEx) - ), - Some(f) => f(envelope, autoitem_idx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountMediaItems(&self, proj: *mut root::ReaProject) -> ::std::os::raw::c_int { - match self.pointers.CountMediaItems { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountMediaItems) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountProjectMarkers( - &self, - proj: *mut root::ReaProject, - num_markersOut: *mut ::std::os::raw::c_int, - num_regionsOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.CountProjectMarkers { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountProjectMarkers) - ), - Some(f) => f(proj, num_markersOut, num_regionsOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountSelectedMediaItems( - &self, - proj: *mut root::ReaProject, - ) -> ::std::os::raw::c_int { - match self.pointers.CountSelectedMediaItems { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountSelectedMediaItems) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountSelectedTracks(&self, proj: *mut root::ReaProject) -> ::std::os::raw::c_int { - match self.pointers.CountSelectedTracks { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountSelectedTracks) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountSelectedTracks2( - &self, - proj: *mut root::ReaProject, - wantmaster: bool, - ) -> ::std::os::raw::c_int { - match self.pointers.CountSelectedTracks2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountSelectedTracks2) - ), - Some(f) => f(proj, wantmaster), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountTakeEnvelopes( - &self, - take: *mut root::MediaItem_Take, - ) -> ::std::os::raw::c_int { - match self.pointers.CountTakeEnvelopes { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountTakeEnvelopes) - ), - Some(f) => f(take), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountTakes(&self, item: *mut root::MediaItem) -> ::std::os::raw::c_int { - match self.pointers.CountTakes { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountTakes) - ), - Some(f) => f(item), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountTCPFXParms( - &self, - project: *mut root::ReaProject, - track: *mut root::MediaTrack, - ) -> ::std::os::raw::c_int { - match self.pointers.CountTCPFXParms { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountTCPFXParms) - ), - Some(f) => f(project, track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountTempoTimeSigMarkers( - &self, - proj: *mut root::ReaProject, - ) -> ::std::os::raw::c_int { - match self.pointers.CountTempoTimeSigMarkers { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountTempoTimeSigMarkers) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountTrackEnvelopes( - &self, - track: *mut root::MediaTrack, - ) -> ::std::os::raw::c_int { - match self.pointers.CountTrackEnvelopes { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountTrackEnvelopes) - ), - Some(f) => f(track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountTrackMediaItems( - &self, - track: *mut root::MediaTrack, - ) -> ::std::os::raw::c_int { - match self.pointers.CountTrackMediaItems { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountTrackMediaItems) - ), - Some(f) => f(track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CountTracks(&self, projOptional: *mut root::ReaProject) -> ::std::os::raw::c_int { - match self.pointers.CountTracks { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CountTracks) - ), - Some(f) => f(projOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CreateLocalOscHandler( - &self, - obj: *mut ::std::os::raw::c_void, - callback: *mut ::std::os::raw::c_void, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.CreateLocalOscHandler { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateLocalOscHandler) - ), - Some(f) => f(obj, callback), - } - } - pub fn CreateMIDIInput(&self, dev: ::std::os::raw::c_int) -> *mut root::midi_Input { - match self.pointers.CreateMIDIInput { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateMIDIInput) - ), - Some(f) => f(dev), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CreateMIDIOutput( - &self, - dev: ::std::os::raw::c_int, - streamMode: bool, - msoffset100: *mut ::std::os::raw::c_int, - ) -> *mut root::midi_Output { - match self.pointers.CreateMIDIOutput { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateMIDIOutput) - ), - Some(f) => f(dev, streamMode, msoffset100), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CreateNewMIDIItemInProj( - &self, - track: *mut root::MediaTrack, - starttime: f64, - endtime: f64, - qnInOptional: *const bool, - ) -> *mut root::MediaItem { - match self.pointers.CreateNewMIDIItemInProj { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateNewMIDIItemInProj) - ), - Some(f) => f(track, starttime, endtime, qnInOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CreateTakeAudioAccessor( - &self, - take: *mut root::MediaItem_Take, - ) -> *mut root::reaper_functions::AudioAccessor { - match self.pointers.CreateTakeAudioAccessor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateTakeAudioAccessor) - ), - Some(f) => f(take), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CreateTrackAudioAccessor( - &self, - track: *mut root::MediaTrack, - ) -> *mut root::reaper_functions::AudioAccessor { - match self.pointers.CreateTrackAudioAccessor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateTrackAudioAccessor) - ), - Some(f) => f(track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CreateTrackSend( - &self, - tr: *mut root::MediaTrack, - desttrInOptional: *mut root::MediaTrack, - ) -> ::std::os::raw::c_int { - match self.pointers.CreateTrackSend { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateTrackSend) - ), - Some(f) => f(tr, desttrInOptional), - } - } - pub fn CSurf_FlushUndo(&self, force: bool) { - match self.pointers.CSurf_FlushUndo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_FlushUndo) - ), - Some(f) => f(force), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_GetTouchState( - &self, - trackid: *mut root::MediaTrack, - isPan: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.CSurf_GetTouchState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_GetTouchState) - ), - Some(f) => f(trackid, isPan), - } - } - pub fn CSurf_GoEnd(&self) { - match self.pointers.CSurf_GoEnd { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_GoEnd) - ), - Some(f) => f(), - } - } - pub fn CSurf_GoStart(&self) { - match self.pointers.CSurf_GoStart { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_GoStart) - ), - Some(f) => f(), - } - } - pub fn CSurf_NumTracks(&self, mcpView: bool) -> ::std::os::raw::c_int { - match self.pointers.CSurf_NumTracks { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_NumTracks) - ), - Some(f) => f(mcpView), - } - } - pub fn CSurf_OnArrow(&self, whichdir: ::std::os::raw::c_int, wantzoom: bool) { - match self.pointers.CSurf_OnArrow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnArrow) - ), - Some(f) => f(whichdir, wantzoom), - } - } - pub fn CSurf_OnFwd(&self, seekplay: ::std::os::raw::c_int) { - match self.pointers.CSurf_OnFwd { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnFwd) - ), - Some(f) => f(seekplay), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnFXChange( - &self, - trackid: *mut root::MediaTrack, - en: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.CSurf_OnFXChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnFXChange) - ), - Some(f) => f(trackid, en), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnInputMonitorChange( - &self, - trackid: *mut root::MediaTrack, - monitor: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.CSurf_OnInputMonitorChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnInputMonitorChange) - ), - Some(f) => f(trackid, monitor), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnInputMonitorChangeEx( - &self, - trackid: *mut root::MediaTrack, - monitor: ::std::os::raw::c_int, - allowgang: bool, - ) -> ::std::os::raw::c_int { - match self.pointers.CSurf_OnInputMonitorChangeEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnInputMonitorChangeEx) - ), - Some(f) => f(trackid, monitor, allowgang), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnMuteChange( - &self, - trackid: *mut root::MediaTrack, - mute: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.CSurf_OnMuteChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnMuteChange) - ), - Some(f) => f(trackid, mute), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnMuteChangeEx( - &self, - trackid: *mut root::MediaTrack, - mute: ::std::os::raw::c_int, - allowgang: bool, - ) -> bool { - match self.pointers.CSurf_OnMuteChangeEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnMuteChangeEx) - ), - Some(f) => f(trackid, mute, allowgang), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnOscControlMessage( - &self, - msg: *const ::std::os::raw::c_char, - arg: *const f32, - ) { - match self.pointers.CSurf_OnOscControlMessage { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnOscControlMessage) - ), - Some(f) => f(msg, arg), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnOscControlMessage2( - &self, - msg: *const ::std::os::raw::c_char, - arg: *const f32, - argstr: *const ::std::os::raw::c_char, - ) { - match self.pointers.CSurf_OnOscControlMessage2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnOscControlMessage2) - ), - Some(f) => f(msg, arg, argstr), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnPanChange( - &self, - trackid: *mut root::MediaTrack, - pan: f64, - relative: bool, - ) -> f64 { - match self.pointers.CSurf_OnPanChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnPanChange) - ), - Some(f) => f(trackid, pan, relative), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnPanChangeEx( - &self, - trackid: *mut root::MediaTrack, - pan: f64, - relative: bool, - allowGang: bool, - ) -> f64 { - match self.pointers.CSurf_OnPanChangeEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnPanChangeEx) - ), - Some(f) => f(trackid, pan, relative, allowGang), - } - } - pub fn CSurf_OnPause(&self) { - match self.pointers.CSurf_OnPause { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnPause) - ), - Some(f) => f(), - } - } - pub fn CSurf_OnPlay(&self) { - match self.pointers.CSurf_OnPlay { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnPlay) - ), - Some(f) => f(), - } - } - pub fn CSurf_OnPlayRateChange(&self, playrate: f64) { - match self.pointers.CSurf_OnPlayRateChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnPlayRateChange) - ), - Some(f) => f(playrate), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnRecArmChange( - &self, - trackid: *mut root::MediaTrack, - recarm: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.CSurf_OnRecArmChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnRecArmChange) - ), - Some(f) => f(trackid, recarm), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnRecArmChangeEx( - &self, - trackid: *mut root::MediaTrack, - recarm: ::std::os::raw::c_int, - allowgang: bool, - ) -> bool { - match self.pointers.CSurf_OnRecArmChangeEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnRecArmChangeEx) - ), - Some(f) => f(trackid, recarm, allowgang), - } - } - pub fn CSurf_OnRecord(&self) { - match self.pointers.CSurf_OnRecord { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnRecord) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnRecvPanChange( - &self, - trackid: *mut root::MediaTrack, - recv_index: ::std::os::raw::c_int, - pan: f64, - relative: bool, - ) -> f64 { - match self.pointers.CSurf_OnRecvPanChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnRecvPanChange) - ), - Some(f) => f(trackid, recv_index, pan, relative), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnRecvVolumeChange( - &self, - trackid: *mut root::MediaTrack, - recv_index: ::std::os::raw::c_int, - volume: f64, - relative: bool, - ) -> f64 { - match self.pointers.CSurf_OnRecvVolumeChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnRecvVolumeChange) - ), - Some(f) => f(trackid, recv_index, volume, relative), - } - } - pub fn CSurf_OnRew(&self, seekplay: ::std::os::raw::c_int) { - match self.pointers.CSurf_OnRew { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnRew) - ), - Some(f) => f(seekplay), - } - } - pub fn CSurf_OnRewFwd(&self, seekplay: ::std::os::raw::c_int, dir: ::std::os::raw::c_int) { - match self.pointers.CSurf_OnRewFwd { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnRewFwd) - ), - Some(f) => f(seekplay, dir), - } - } - pub fn CSurf_OnScroll(&self, xdir: ::std::os::raw::c_int, ydir: ::std::os::raw::c_int) { - match self.pointers.CSurf_OnScroll { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnScroll) - ), - Some(f) => f(xdir, ydir), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnSelectedChange( - &self, - trackid: *mut root::MediaTrack, - selected: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.CSurf_OnSelectedChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnSelectedChange) - ), - Some(f) => f(trackid, selected), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnSendPanChange( - &self, - trackid: *mut root::MediaTrack, - send_index: ::std::os::raw::c_int, - pan: f64, - relative: bool, - ) -> f64 { - match self.pointers.CSurf_OnSendPanChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnSendPanChange) - ), - Some(f) => f(trackid, send_index, pan, relative), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnSendVolumeChange( - &self, - trackid: *mut root::MediaTrack, - send_index: ::std::os::raw::c_int, - volume: f64, - relative: bool, - ) -> f64 { - match self.pointers.CSurf_OnSendVolumeChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnSendVolumeChange) - ), - Some(f) => f(trackid, send_index, volume, relative), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnSoloChange( - &self, - trackid: *mut root::MediaTrack, - solo: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.CSurf_OnSoloChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnSoloChange) - ), - Some(f) => f(trackid, solo), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnSoloChangeEx( - &self, - trackid: *mut root::MediaTrack, - solo: ::std::os::raw::c_int, - allowgang: bool, - ) -> bool { - match self.pointers.CSurf_OnSoloChangeEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnSoloChangeEx) - ), - Some(f) => f(trackid, solo, allowgang), - } - } - pub fn CSurf_OnStop(&self) { - match self.pointers.CSurf_OnStop { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnStop) - ), - Some(f) => f(), - } - } - pub fn CSurf_OnTempoChange(&self, bpm: f64) { - match self.pointers.CSurf_OnTempoChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnTempoChange) - ), - Some(f) => f(bpm), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnTrackSelection(&self, trackid: *mut root::MediaTrack) { - match self.pointers.CSurf_OnTrackSelection { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnTrackSelection) - ), - Some(f) => f(trackid), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnVolumeChange( - &self, - trackid: *mut root::MediaTrack, - volume: f64, - relative: bool, - ) -> f64 { - match self.pointers.CSurf_OnVolumeChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnVolumeChange) - ), - Some(f) => f(trackid, volume, relative), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnVolumeChangeEx( - &self, - trackid: *mut root::MediaTrack, - volume: f64, - relative: bool, - allowGang: bool, - ) -> f64 { - match self.pointers.CSurf_OnVolumeChangeEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnVolumeChangeEx) - ), - Some(f) => f(trackid, volume, relative, allowGang), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnWidthChange( - &self, - trackid: *mut root::MediaTrack, - width: f64, - relative: bool, - ) -> f64 { - match self.pointers.CSurf_OnWidthChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnWidthChange) - ), - Some(f) => f(trackid, width, relative), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_OnWidthChangeEx( - &self, - trackid: *mut root::MediaTrack, - width: f64, - relative: bool, - allowGang: bool, - ) -> f64 { - match self.pointers.CSurf_OnWidthChangeEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnWidthChangeEx) - ), - Some(f) => f(trackid, width, relative, allowGang), - } - } - pub fn CSurf_OnZoom(&self, xdir: ::std::os::raw::c_int, ydir: ::std::os::raw::c_int) { - match self.pointers.CSurf_OnZoom { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_OnZoom) - ), - Some(f) => f(xdir, ydir), - } - } - pub fn CSurf_ResetAllCachedVolPanStates(&self) { - match self.pointers.CSurf_ResetAllCachedVolPanStates { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_ResetAllCachedVolPanStates) - ), - Some(f) => f(), - } - } - pub fn CSurf_ScrubAmt(&self, amt: f64) { - match self.pointers.CSurf_ScrubAmt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_ScrubAmt) - ), - Some(f) => f(amt), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_SetAutoMode( - &self, - mode: ::std::os::raw::c_int, - ignoresurf: *mut root::IReaperControlSurface, - ) { - match self.pointers.CSurf_SetAutoMode { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_SetAutoMode) - ), - Some(f) => f(mode, ignoresurf), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_SetPlayState( - &self, - play: bool, - pause: bool, - rec: bool, - ignoresurf: *mut root::IReaperControlSurface, - ) { - match self.pointers.CSurf_SetPlayState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_SetPlayState) - ), - Some(f) => f(play, pause, rec, ignoresurf), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_SetRepeatState( - &self, - rep: bool, - ignoresurf: *mut root::IReaperControlSurface, - ) { - match self.pointers.CSurf_SetRepeatState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_SetRepeatState) - ), - Some(f) => f(rep, ignoresurf), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_SetSurfaceMute( - &self, - trackid: *mut root::MediaTrack, - mute: bool, - ignoresurf: *mut root::IReaperControlSurface, - ) { - match self.pointers.CSurf_SetSurfaceMute { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_SetSurfaceMute) - ), - Some(f) => f(trackid, mute, ignoresurf), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_SetSurfacePan( - &self, - trackid: *mut root::MediaTrack, - pan: f64, - ignoresurf: *mut root::IReaperControlSurface, - ) { - match self.pointers.CSurf_SetSurfacePan { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_SetSurfacePan) - ), - Some(f) => f(trackid, pan, ignoresurf), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_SetSurfaceRecArm( - &self, - trackid: *mut root::MediaTrack, - recarm: bool, - ignoresurf: *mut root::IReaperControlSurface, - ) { - match self.pointers.CSurf_SetSurfaceRecArm { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_SetSurfaceRecArm) - ), - Some(f) => f(trackid, recarm, ignoresurf), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_SetSurfaceSelected( - &self, - trackid: *mut root::MediaTrack, - selected: bool, - ignoresurf: *mut root::IReaperControlSurface, - ) { - match self.pointers.CSurf_SetSurfaceSelected { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_SetSurfaceSelected) - ), - Some(f) => f(trackid, selected, ignoresurf), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_SetSurfaceSolo( - &self, - trackid: *mut root::MediaTrack, - solo: bool, - ignoresurf: *mut root::IReaperControlSurface, - ) { - match self.pointers.CSurf_SetSurfaceSolo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_SetSurfaceSolo) - ), - Some(f) => f(trackid, solo, ignoresurf), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_SetSurfaceVolume( - &self, - trackid: *mut root::MediaTrack, - volume: f64, - ignoresurf: *mut root::IReaperControlSurface, - ) { - match self.pointers.CSurf_SetSurfaceVolume { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_SetSurfaceVolume) - ), - Some(f) => f(trackid, volume, ignoresurf), - } - } - pub fn CSurf_SetTrackListChange(&self) { - match self.pointers.CSurf_SetTrackListChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_SetTrackListChange) - ), - Some(f) => f(), - } - } - pub fn CSurf_TrackFromID( - &self, - idx: ::std::os::raw::c_int, - mcpView: bool, - ) -> *mut root::MediaTrack { - match self.pointers.CSurf_TrackFromID { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_TrackFromID) - ), - Some(f) => f(idx, mcpView), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CSurf_TrackToID( - &self, - track: *mut root::MediaTrack, - mcpView: bool, - ) -> ::std::os::raw::c_int { - match self.pointers.CSurf_TrackToID { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CSurf_TrackToID) - ), - Some(f) => f(track, mcpView), - } - } - pub fn DB2SLIDER(&self, x: f64) -> f64 { - match self.pointers.DB2SLIDER { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DB2SLIDER) - ), - Some(f) => f(x), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteActionShortcut( - &self, - section: *mut root::KbdSectionInfo, - cmdID: ::std::os::raw::c_int, - shortcutidx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.DeleteActionShortcut { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DeleteActionShortcut) - ), - Some(f) => f(section, cmdID, shortcutidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteEnvelopePointEx( - &self, - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - ptidx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.DeleteEnvelopePointEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DeleteEnvelopePointEx) - ), - Some(f) => f(envelope, autoitem_idx, ptidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteEnvelopePointRange( - &self, - envelope: *mut root::TrackEnvelope, - time_start: f64, - time_end: f64, - ) -> bool { - match self.pointers.DeleteEnvelopePointRange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DeleteEnvelopePointRange) - ), - Some(f) => f(envelope, time_start, time_end), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteEnvelopePointRangeEx( - &self, - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - time_start: f64, - time_end: f64, - ) -> bool { - match self.pointers.DeleteEnvelopePointRangeEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DeleteEnvelopePointRangeEx) - ), - Some(f) => f(envelope, autoitem_idx, time_start, time_end), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteExtState( - &self, - section: *const ::std::os::raw::c_char, - key: *const ::std::os::raw::c_char, - persist: bool, - ) { - match self.pointers.DeleteExtState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DeleteExtState) - ), - Some(f) => f(section, key, persist), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteProjectMarker( - &self, - proj: *mut root::ReaProject, - markrgnindexnumber: ::std::os::raw::c_int, - isrgn: bool, - ) -> bool { - match self.pointers.DeleteProjectMarker { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DeleteProjectMarker) - ), - Some(f) => f(proj, markrgnindexnumber, isrgn), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteProjectMarkerByIndex( - &self, - proj: *mut root::ReaProject, - markrgnidx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.DeleteProjectMarkerByIndex { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DeleteProjectMarkerByIndex) - ), - Some(f) => f(proj, markrgnidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteTakeMarker( - &self, - take: *mut root::MediaItem_Take, - idx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.DeleteTakeMarker { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DeleteTakeMarker) - ), - Some(f) => f(take, idx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteTakeStretchMarkers( - &self, - take: *mut root::MediaItem_Take, - idx: ::std::os::raw::c_int, - countInOptional: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.DeleteTakeStretchMarkers { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DeleteTakeStretchMarkers) - ), - Some(f) => f(take, idx, countInOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteTempoTimeSigMarker( - &self, - project: *mut root::ReaProject, - markerindex: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.DeleteTempoTimeSigMarker { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DeleteTempoTimeSigMarker) - ), - Some(f) => f(project, markerindex), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteTrack(&self, tr: *mut root::MediaTrack) { - match self.pointers.DeleteTrack { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DeleteTrack) - ), - Some(f) => f(tr), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteTrackMediaItem( - &self, - tr: *mut root::MediaTrack, - it: *mut root::MediaItem, - ) -> bool { - match self.pointers.DeleteTrackMediaItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DeleteTrackMediaItem) - ), - Some(f) => f(tr, it), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DestroyAudioAccessor( - &self, - accessor: *mut root::reaper_functions::AudioAccessor, - ) { - match self.pointers.DestroyAudioAccessor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DestroyAudioAccessor) - ), - Some(f) => f(accessor), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DestroyLocalOscHandler(&self, local_osc_handler: *mut ::std::os::raw::c_void) { - match self.pointers.DestroyLocalOscHandler { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DestroyLocalOscHandler) - ), - Some(f) => f(local_osc_handler), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DoActionShortcutDialog( - &self, - hwnd: root::HWND, - section: *mut root::KbdSectionInfo, - cmdID: ::std::os::raw::c_int, - shortcutidx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.DoActionShortcutDialog { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DoActionShortcutDialog) - ), - Some(f) => f(hwnd, section, cmdID, shortcutidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Dock_UpdateDockID( - &self, - ident_str: *const ::std::os::raw::c_char, - whichDock: ::std::os::raw::c_int, - ) { - match self.pointers.Dock_UpdateDockID { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Dock_UpdateDockID) - ), - Some(f) => f(ident_str, whichDock), - } - } - pub fn DockGetPosition(&self, whichDock: ::std::os::raw::c_int) -> ::std::os::raw::c_int { - match self.pointers.DockGetPosition { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DockGetPosition) - ), - Some(f) => f(whichDock), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DockIsChildOfDock( - &self, - hwnd: root::HWND, - isFloatingDockerOut: *mut bool, - ) -> ::std::os::raw::c_int { - match self.pointers.DockIsChildOfDock { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DockIsChildOfDock) - ), - Some(f) => f(hwnd, isFloatingDockerOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DockWindowActivate(&self, hwnd: root::HWND) { - match self.pointers.DockWindowActivate { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DockWindowActivate) - ), - Some(f) => f(hwnd), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DockWindowAdd( - &self, - hwnd: root::HWND, - name: *const ::std::os::raw::c_char, - pos: ::std::os::raw::c_int, - allowShow: bool, - ) { - match self.pointers.DockWindowAdd { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DockWindowAdd) - ), - Some(f) => f(hwnd, name, pos, allowShow), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DockWindowAddEx( - &self, - hwnd: root::HWND, - name: *const ::std::os::raw::c_char, - identstr: *const ::std::os::raw::c_char, - allowShow: bool, - ) { - match self.pointers.DockWindowAddEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DockWindowAddEx) - ), - Some(f) => f(hwnd, name, identstr, allowShow), - } - } - pub fn DockWindowRefresh(&self) { - match self.pointers.DockWindowRefresh { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DockWindowRefresh) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DockWindowRefreshForHWND(&self, hwnd: root::HWND) { - match self.pointers.DockWindowRefreshForHWND { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DockWindowRefreshForHWND) - ), - Some(f) => f(hwnd), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DockWindowRemove(&self, hwnd: root::HWND) { - match self.pointers.DockWindowRemove { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DockWindowRemove) - ), - Some(f) => f(hwnd), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DuplicateCustomizableMenu( - &self, - srcmenu: *mut ::std::os::raw::c_void, - destmenu: *mut ::std::os::raw::c_void, - ) -> bool { - match self.pointers.DuplicateCustomizableMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DuplicateCustomizableMenu) - ), - Some(f) => f(srcmenu, destmenu), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EditTempoTimeSigMarker( - &self, - project: *mut root::ReaProject, - markerindex: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.EditTempoTimeSigMarker { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EditTempoTimeSigMarker) - ), - Some(f) => f(project, markerindex), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnsureNotCompletelyOffscreen(&self, rInOut: *mut root::RECT) { - match self.pointers.EnsureNotCompletelyOffscreen { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnsureNotCompletelyOffscreen) - ), - Some(f) => f(rInOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumerateFiles( - &self, - path: *const ::std::os::raw::c_char, - fileindex: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char { - match self.pointers.EnumerateFiles { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumerateFiles) - ), - Some(f) => f(path, fileindex), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumerateSubdirectories( - &self, - path: *const ::std::os::raw::c_char, - subdirindex: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char { - match self.pointers.EnumerateSubdirectories { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumerateSubdirectories) - ), - Some(f) => f(path, subdirindex), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumInstalledFX( - &self, - index: ::std::os::raw::c_int, - nameOut: *mut *const ::std::os::raw::c_char, - identOut: *mut *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.EnumInstalledFX { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumInstalledFX) - ), - Some(f) => f(index, nameOut, identOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumPitchShiftModes( - &self, - mode: ::std::os::raw::c_int, - strOut: *mut *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.EnumPitchShiftModes { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumPitchShiftModes) - ), - Some(f) => f(mode, strOut), - } - } - pub fn EnumPitchShiftSubModes( - &self, - mode: ::std::os::raw::c_int, - submode: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char { - match self.pointers.EnumPitchShiftSubModes { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumPitchShiftSubModes) - ), - Some(f) => f(mode, submode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumProjectMarkers( - &self, - idx: ::std::os::raw::c_int, - isrgnOut: *mut bool, - posOut: *mut f64, - rgnendOut: *mut f64, - nameOut: *mut *const ::std::os::raw::c_char, - markrgnindexnumberOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.EnumProjectMarkers { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumProjectMarkers) - ), - Some(f) => f( - idx, - isrgnOut, - posOut, - rgnendOut, - nameOut, - markrgnindexnumberOut, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumProjectMarkers2( - &self, - proj: *mut root::ReaProject, - idx: ::std::os::raw::c_int, - isrgnOut: *mut bool, - posOut: *mut f64, - rgnendOut: *mut f64, - nameOut: *mut *const ::std::os::raw::c_char, - markrgnindexnumberOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.EnumProjectMarkers2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumProjectMarkers2) - ), - Some(f) => f( - proj, - idx, - isrgnOut, - posOut, - rgnendOut, - nameOut, - markrgnindexnumberOut, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumProjectMarkers3( - &self, - proj: *mut root::ReaProject, - idx: ::std::os::raw::c_int, - isrgnOut: *mut bool, - posOut: *mut f64, - rgnendOut: *mut f64, - nameOut: *mut *const ::std::os::raw::c_char, - markrgnindexnumberOut: *mut ::std::os::raw::c_int, - colorOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.EnumProjectMarkers3 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumProjectMarkers3) - ), - Some(f) => f( - proj, - idx, - isrgnOut, - posOut, - rgnendOut, - nameOut, - markrgnindexnumberOut, - colorOut, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumProjects( - &self, - idx: ::std::os::raw::c_int, - projfnOutOptional: *mut ::std::os::raw::c_char, - projfnOutOptional_sz: ::std::os::raw::c_int, - ) -> *mut root::ReaProject { - match self.pointers.EnumProjects { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumProjects) - ), - Some(f) => f(idx, projfnOutOptional, projfnOutOptional_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumProjExtState( - &self, - proj: *mut root::ReaProject, - extname: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - keyOutOptional: *mut ::std::os::raw::c_char, - keyOutOptional_sz: ::std::os::raw::c_int, - valOutOptional: *mut ::std::os::raw::c_char, - valOutOptional_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.EnumProjExtState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumProjExtState) - ), - Some(f) => f( - proj, - extname, - idx, - keyOutOptional, - keyOutOptional_sz, - valOutOptional, - valOutOptional_sz, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumRegionRenderMatrix( - &self, - proj: *mut root::ReaProject, - regionindex: ::std::os::raw::c_int, - rendertrack: ::std::os::raw::c_int, - ) -> *mut root::MediaTrack { - match self.pointers.EnumRegionRenderMatrix { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumRegionRenderMatrix) - ), - Some(f) => f(proj, regionindex, rendertrack), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumTrackMIDIProgramNames( - &self, - track: ::std::os::raw::c_int, - programNumber: ::std::os::raw::c_int, - programName: *mut ::std::os::raw::c_char, - programName_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.EnumTrackMIDIProgramNames { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumTrackMIDIProgramNames) - ), - Some(f) => f(track, programNumber, programName, programName_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumTrackMIDIProgramNamesEx( - &self, - proj: *mut root::ReaProject, - track: *mut root::MediaTrack, - programNumber: ::std::os::raw::c_int, - programName: *mut ::std::os::raw::c_char, - programName_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.EnumTrackMIDIProgramNamesEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumTrackMIDIProgramNamesEx) - ), - Some(f) => f(proj, track, programNumber, programName, programName_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Envelope_Evaluate( - &self, - envelope: *mut root::TrackEnvelope, - time: f64, - samplerate: f64, - samplesRequested: ::std::os::raw::c_int, - valueOut: *mut f64, - dVdSOut: *mut f64, - ddVdSOut: *mut f64, - dddVdSOut: *mut f64, - ) -> ::std::os::raw::c_int { - match self.pointers.Envelope_Evaluate { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Envelope_Evaluate) - ), - Some(f) => f( - envelope, - time, - samplerate, - samplesRequested, - valueOut, - dVdSOut, - ddVdSOut, - dddVdSOut, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Envelope_FormatValue( - &self, - env: *mut root::TrackEnvelope, - value: f64, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) { - match self.pointers.Envelope_FormatValue { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Envelope_FormatValue) - ), - Some(f) => f(env, value, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Envelope_GetParentTake( - &self, - env: *mut root::TrackEnvelope, - indexOut: *mut ::std::os::raw::c_int, - index2Out: *mut ::std::os::raw::c_int, - ) -> *mut root::MediaItem_Take { - match self.pointers.Envelope_GetParentTake { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Envelope_GetParentTake) - ), - Some(f) => f(env, indexOut, index2Out), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Envelope_GetParentTrack( - &self, - env: *mut root::TrackEnvelope, - indexOut: *mut ::std::os::raw::c_int, - index2Out: *mut ::std::os::raw::c_int, - ) -> *mut root::MediaTrack { - match self.pointers.Envelope_GetParentTrack { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Envelope_GetParentTrack) - ), - Some(f) => f(env, indexOut, index2Out), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Envelope_SortPoints(&self, envelope: *mut root::TrackEnvelope) -> bool { - match self.pointers.Envelope_SortPoints { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Envelope_SortPoints) - ), - Some(f) => f(envelope), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Envelope_SortPointsEx( - &self, - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.Envelope_SortPointsEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Envelope_SortPointsEx) - ), - Some(f) => f(envelope, autoitem_idx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ExecProcess( - &self, - cmdline: *const ::std::os::raw::c_char, - timeoutmsec: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char { - match self.pointers.ExecProcess { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ExecProcess) - ), - Some(f) => f(cmdline, timeoutmsec), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn file_exists(&self, path: *const ::std::os::raw::c_char) -> bool { - match self.pointers.file_exists { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(file_exists) - ), - Some(f) => f(path), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn FindTempoTimeSigMarker( - &self, - project: *mut root::ReaProject, - time: f64, - ) -> ::std::os::raw::c_int { - match self.pointers.FindTempoTimeSigMarker { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(FindTempoTimeSigMarker) - ), - Some(f) => f(project, time), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn format_timestr( - &self, - tpos: f64, - buf: *mut ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - ) { - match self.pointers.format_timestr { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(format_timestr) - ), - Some(f) => f(tpos, buf, buf_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn format_timestr_len( - &self, - tpos: f64, - buf: *mut ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - offset: f64, - modeoverride: ::std::os::raw::c_int, - ) { - match self.pointers.format_timestr_len { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(format_timestr_len) - ), - Some(f) => f(tpos, buf, buf_sz, offset, modeoverride), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn format_timestr_pos( - &self, - tpos: f64, - buf: *mut ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - modeoverride: ::std::os::raw::c_int, - ) { - match self.pointers.format_timestr_pos { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(format_timestr_pos) - ), - Some(f) => f(tpos, buf, buf_sz, modeoverride), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn FreeHeapPtr(&self, ptr: *mut ::std::os::raw::c_void) { - match self.pointers.FreeHeapPtr { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(FreeHeapPtr) - ), - Some(f) => f(ptr), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn genGuid(&self, g: *mut root::GUID) { - match self.pointers.genGuid { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(genGuid) - ), - Some(f) => f(g), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn get_config_var( - &self, - name: *const ::std::os::raw::c_char, - szOut: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.get_config_var { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(get_config_var) - ), - Some(f) => f(name, szOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn get_config_var_string( - &self, - name: *const ::std::os::raw::c_char, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.get_config_var_string { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(get_config_var_string) - ), - Some(f) => f(name, bufOut, bufOut_sz), - } - } - pub fn get_ini_file(&self) -> *const ::std::os::raw::c_char { - match self.pointers.get_ini_file { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(get_ini_file) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn get_midi_config_var( - &self, - name: *const ::std::os::raw::c_char, - szOut: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.get_midi_config_var { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(get_midi_config_var) - ), - Some(f) => f(name, szOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetActionShortcutDesc( - &self, - section: *mut root::KbdSectionInfo, - cmdID: ::std::os::raw::c_int, - shortcutidx: ::std::os::raw::c_int, - descOut: *mut ::std::os::raw::c_char, - descOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetActionShortcutDesc { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetActionShortcutDesc) - ), - Some(f) => f(section, cmdID, shortcutidx, descOut, descOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetActiveTake(&self, item: *mut root::MediaItem) -> *mut root::MediaItem_Take { - match self.pointers.GetActiveTake { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetActiveTake) - ), - Some(f) => f(item), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetAllProjectPlayStates( - &self, - ignoreProject: *mut root::ReaProject, - ) -> ::std::os::raw::c_int { - match self.pointers.GetAllProjectPlayStates { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetAllProjectPlayStates) - ), - Some(f) => f(ignoreProject), - } - } - pub fn GetAppVersion(&self) -> *const ::std::os::raw::c_char { - match self.pointers.GetAppVersion { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetAppVersion) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetArmedCommand( - &self, - secOut: *mut ::std::os::raw::c_char, - secOut_sz: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetArmedCommand { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetArmedCommand) - ), - Some(f) => f(secOut, secOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetAudioAccessorEndTime( - &self, - accessor: *mut root::reaper_functions::AudioAccessor, - ) -> f64 { - match self.pointers.GetAudioAccessorEndTime { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetAudioAccessorEndTime) - ), - Some(f) => f(accessor), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetAudioAccessorHash( - &self, - accessor: *mut root::reaper_functions::AudioAccessor, - hashNeed128: *mut ::std::os::raw::c_char, - ) { - match self.pointers.GetAudioAccessorHash { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetAudioAccessorHash) - ), - Some(f) => f(accessor, hashNeed128), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetAudioAccessorSamples( - &self, - accessor: *mut root::reaper_functions::AudioAccessor, - samplerate: ::std::os::raw::c_int, - numchannels: ::std::os::raw::c_int, - starttime_sec: f64, - numsamplesperchannel: ::std::os::raw::c_int, - samplebuffer: *mut f64, - ) -> ::std::os::raw::c_int { - match self.pointers.GetAudioAccessorSamples { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetAudioAccessorSamples) - ), - Some(f) => f( - accessor, - samplerate, - numchannels, - starttime_sec, - numsamplesperchannel, - samplebuffer, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetAudioAccessorStartTime( - &self, - accessor: *mut root::reaper_functions::AudioAccessor, - ) -> f64 { - match self.pointers.GetAudioAccessorStartTime { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetAudioAccessorStartTime) - ), - Some(f) => f(accessor), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetAudioDeviceInfo( - &self, - attribute: *const ::std::os::raw::c_char, - descOut: *mut ::std::os::raw::c_char, - descOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetAudioDeviceInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetAudioDeviceInfo) - ), - Some(f) => f(attribute, descOut, descOut_sz), - } - } - pub fn GetColorTheme( - &self, - idx: ::std::os::raw::c_int, - defval: ::std::os::raw::c_int, - ) -> root::INT_PTR { - match self.pointers.GetColorTheme { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetColorTheme) - ), - Some(f) => f(idx, defval), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetColorThemeStruct( - &self, - szOut: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.GetColorThemeStruct { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetColorThemeStruct) - ), - Some(f) => f(szOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetConfigWantsDock( - &self, - ident_str: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int { - match self.pointers.GetConfigWantsDock { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetConfigWantsDock) - ), - Some(f) => f(ident_str), - } - } - pub fn GetContextMenu(&self, idx: ::std::os::raw::c_int) -> root::HMENU { - match self.pointers.GetContextMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetContextMenu) - ), - Some(f) => f(idx), - } - } - pub fn GetCurrentProjectInLoadSave(&self) -> *mut root::ReaProject { - match self.pointers.GetCurrentProjectInLoadSave { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetCurrentProjectInLoadSave) - ), - Some(f) => f(), - } - } - pub fn GetCursorContext(&self) -> ::std::os::raw::c_int { - match self.pointers.GetCursorContext { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetCursorContext) - ), - Some(f) => f(), - } - } - pub fn GetCursorContext2(&self, want_last_valid: bool) -> ::std::os::raw::c_int { - match self.pointers.GetCursorContext2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetCursorContext2) - ), - Some(f) => f(want_last_valid), - } - } - pub fn GetCursorPosition(&self) -> f64 { - match self.pointers.GetCursorPosition { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetCursorPosition) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetCursorPositionEx(&self, proj: *mut root::ReaProject) -> f64 { - match self.pointers.GetCursorPositionEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetCursorPositionEx) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetDisplayedMediaItemColor( - &self, - item: *mut root::MediaItem, - ) -> ::std::os::raw::c_int { - match self.pointers.GetDisplayedMediaItemColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetDisplayedMediaItemColor) - ), - Some(f) => f(item), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetDisplayedMediaItemColor2( - &self, - item: *mut root::MediaItem, - take: *mut root::MediaItem_Take, - ) -> ::std::os::raw::c_int { - match self.pointers.GetDisplayedMediaItemColor2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetDisplayedMediaItemColor2) - ), - Some(f) => f(item, take), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetEnvelopeInfo_Value( - &self, - env: *mut root::TrackEnvelope, - parmname: *const ::std::os::raw::c_char, - ) -> f64 { - match self.pointers.GetEnvelopeInfo_Value { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetEnvelopeInfo_Value) - ), - Some(f) => f(env, parmname), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetEnvelopeName( - &self, - env: *mut root::TrackEnvelope, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetEnvelopeName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetEnvelopeName) - ), - Some(f) => f(env, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetEnvelopePoint( - &self, - envelope: *mut root::TrackEnvelope, - ptidx: ::std::os::raw::c_int, - timeOut: *mut f64, - valueOut: *mut f64, - shapeOut: *mut ::std::os::raw::c_int, - tensionOut: *mut f64, - selectedOut: *mut bool, - ) -> bool { - match self.pointers.GetEnvelopePoint { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetEnvelopePoint) - ), - Some(f) => f( - envelope, - ptidx, - timeOut, - valueOut, - shapeOut, - tensionOut, - selectedOut, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetEnvelopePointByTime( - &self, - envelope: *mut root::TrackEnvelope, - time: f64, - ) -> ::std::os::raw::c_int { - match self.pointers.GetEnvelopePointByTime { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetEnvelopePointByTime) - ), - Some(f) => f(envelope, time), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetEnvelopePointByTimeEx( - &self, - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - time: f64, - ) -> ::std::os::raw::c_int { - match self.pointers.GetEnvelopePointByTimeEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetEnvelopePointByTimeEx) - ), - Some(f) => f(envelope, autoitem_idx, time), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetEnvelopePointEx( - &self, - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - ptidx: ::std::os::raw::c_int, - timeOut: *mut f64, - valueOut: *mut f64, - shapeOut: *mut ::std::os::raw::c_int, - tensionOut: *mut f64, - selectedOut: *mut bool, - ) -> bool { - match self.pointers.GetEnvelopePointEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetEnvelopePointEx) - ), - Some(f) => f( - envelope, - autoitem_idx, - ptidx, - timeOut, - valueOut, - shapeOut, - tensionOut, - selectedOut, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetEnvelopeScalingMode( - &self, - env: *mut root::TrackEnvelope, - ) -> ::std::os::raw::c_int { - match self.pointers.GetEnvelopeScalingMode { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetEnvelopeScalingMode) - ), - Some(f) => f(env), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetEnvelopeStateChunk( - &self, - env: *mut root::TrackEnvelope, - strNeedBig: *mut ::std::os::raw::c_char, - strNeedBig_sz: ::std::os::raw::c_int, - isundoOptional: bool, - ) -> bool { - match self.pointers.GetEnvelopeStateChunk { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetEnvelopeStateChunk) - ), - Some(f) => f(env, strNeedBig, strNeedBig_sz, isundoOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetEnvelopeUIState( - &self, - env: *mut root::TrackEnvelope, - ) -> ::std::os::raw::c_int { - match self.pointers.GetEnvelopeUIState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetEnvelopeUIState) - ), - Some(f) => f(env), - } - } - pub fn GetExePath(&self) -> *const ::std::os::raw::c_char { - match self.pointers.GetExePath { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetExePath) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetExtState( - &self, - section: *const ::std::os::raw::c_char, - key: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char { - match self.pointers.GetExtState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetExtState) - ), - Some(f) => f(section, key), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetFocusedFX( - &self, - tracknumberOut: *mut ::std::os::raw::c_int, - itemnumberOut: *mut ::std::os::raw::c_int, - fxnumberOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetFocusedFX { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetFocusedFX) - ), - Some(f) => f(tracknumberOut, itemnumberOut, fxnumberOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetFocusedFX2( - &self, - tracknumberOut: *mut ::std::os::raw::c_int, - itemnumberOut: *mut ::std::os::raw::c_int, - fxnumberOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetFocusedFX2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetFocusedFX2) - ), - Some(f) => f(tracknumberOut, itemnumberOut, fxnumberOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetFreeDiskSpaceForRecordPath( - &self, - proj: *mut root::ReaProject, - pathidx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetFreeDiskSpaceForRecordPath { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetFreeDiskSpaceForRecordPath) - ), - Some(f) => f(proj, pathidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetFXEnvelope( - &self, - track: *mut root::MediaTrack, - fxindex: ::std::os::raw::c_int, - parameterindex: ::std::os::raw::c_int, - create: bool, - ) -> *mut root::TrackEnvelope { - match self.pointers.GetFXEnvelope { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetFXEnvelope) - ), - Some(f) => f(track, fxindex, parameterindex, create), - } - } - pub fn GetGlobalAutomationOverride(&self) -> ::std::os::raw::c_int { - match self.pointers.GetGlobalAutomationOverride { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetGlobalAutomationOverride) - ), - Some(f) => f(), - } - } - pub fn GetHZoomLevel(&self) -> f64 { - match self.pointers.GetHZoomLevel { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetHZoomLevel) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetIconThemePointer( - &self, - name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.GetIconThemePointer { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetIconThemePointer) - ), - Some(f) => f(name), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetIconThemePointerForDPI( - &self, - name: *const ::std::os::raw::c_char, - dpisc: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.GetIconThemePointerForDPI { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetIconThemePointerForDPI) - ), - Some(f) => f(name, dpisc), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetIconThemeStruct( - &self, - szOut: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.GetIconThemeStruct { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetIconThemeStruct) - ), - Some(f) => f(szOut), - } - } - pub fn GetInputActivityLevel(&self, input_id: ::std::os::raw::c_int) -> f64 { - match self.pointers.GetInputActivityLevel { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetInputActivityLevel) - ), - Some(f) => f(input_id), - } - } - pub fn GetInputChannelName( - &self, - channelIndex: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char { - match self.pointers.GetInputChannelName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetInputChannelName) - ), - Some(f) => f(channelIndex), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetInputOutputLatency( - &self, - inputlatencyOut: *mut ::std::os::raw::c_int, - outputLatencyOut: *mut ::std::os::raw::c_int, - ) { - match self.pointers.GetInputOutputLatency { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetInputOutputLatency) - ), - Some(f) => f(inputlatencyOut, outputLatencyOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetItemEditingTime2( - &self, - which_itemOut: *mut *mut root::PCM_source, - flagsOut: *mut ::std::os::raw::c_int, - ) -> f64 { - match self.pointers.GetItemEditingTime2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetItemEditingTime2) - ), - Some(f) => f(which_itemOut, flagsOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetItemFromPoint( - &self, - screen_x: ::std::os::raw::c_int, - screen_y: ::std::os::raw::c_int, - allow_locked: bool, - takeOutOptional: *mut *mut root::MediaItem_Take, - ) -> *mut root::MediaItem { - match self.pointers.GetItemFromPoint { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetItemFromPoint) - ), - Some(f) => f(screen_x, screen_y, allow_locked, takeOutOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetItemProjectContext( - &self, - item: *mut root::MediaItem, - ) -> *mut root::ReaProject { - match self.pointers.GetItemProjectContext { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetItemProjectContext) - ), - Some(f) => f(item), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetItemStateChunk( - &self, - item: *mut root::MediaItem, - strNeedBig: *mut ::std::os::raw::c_char, - strNeedBig_sz: ::std::os::raw::c_int, - isundoOptional: bool, - ) -> bool { - match self.pointers.GetItemStateChunk { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetItemStateChunk) - ), - Some(f) => f(item, strNeedBig, strNeedBig_sz, isundoOptional), - } - } - pub fn GetLastColorThemeFile(&self) -> *const ::std::os::raw::c_char { - match self.pointers.GetLastColorThemeFile { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetLastColorThemeFile) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetLastMarkerAndCurRegion( - &self, - proj: *mut root::ReaProject, - time: f64, - markeridxOut: *mut ::std::os::raw::c_int, - regionidxOut: *mut ::std::os::raw::c_int, - ) { - match self.pointers.GetLastMarkerAndCurRegion { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetLastMarkerAndCurRegion) - ), - Some(f) => f(proj, time, markeridxOut, regionidxOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetLastTouchedFX( - &self, - tracknumberOut: *mut ::std::os::raw::c_int, - fxnumberOut: *mut ::std::os::raw::c_int, - paramnumberOut: *mut ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetLastTouchedFX { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetLastTouchedFX) - ), - Some(f) => f(tracknumberOut, fxnumberOut, paramnumberOut), - } - } - pub fn GetLastTouchedTrack(&self) -> *mut root::MediaTrack { - match self.pointers.GetLastTouchedTrack { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetLastTouchedTrack) - ), - Some(f) => f(), - } - } - pub fn GetMainHwnd(&self) -> root::HWND { - match self.pointers.GetMainHwnd { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMainHwnd) - ), - Some(f) => f(), - } - } - pub fn GetMasterMuteSoloFlags(&self) -> ::std::os::raw::c_int { - match self.pointers.GetMasterMuteSoloFlags { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMasterMuteSoloFlags) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMasterTrack(&self, proj: *mut root::ReaProject) -> *mut root::MediaTrack { - match self.pointers.GetMasterTrack { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMasterTrack) - ), - Some(f) => f(proj), - } - } - pub fn GetMasterTrackVisibility(&self) -> ::std::os::raw::c_int { - match self.pointers.GetMasterTrackVisibility { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMasterTrackVisibility) - ), - Some(f) => f(), - } - } - pub fn GetMaxMidiInputs(&self) -> ::std::os::raw::c_int { - match self.pointers.GetMaxMidiInputs { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMaxMidiInputs) - ), - Some(f) => f(), - } - } - pub fn GetMaxMidiOutputs(&self) -> ::std::os::raw::c_int { - match self.pointers.GetMaxMidiOutputs { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMaxMidiOutputs) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaFileMetadata( - &self, - mediaSource: *mut root::PCM_source, - identifier: *const ::std::os::raw::c_char, - bufOutNeedBig: *mut ::std::os::raw::c_char, - bufOutNeedBig_sz: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetMediaFileMetadata { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaFileMetadata) - ), - Some(f) => f(mediaSource, identifier, bufOutNeedBig, bufOutNeedBig_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaItem( - &self, - proj: *mut root::ReaProject, - itemidx: ::std::os::raw::c_int, - ) -> *mut root::MediaItem { - match self.pointers.GetMediaItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaItem) - ), - Some(f) => f(proj, itemidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaItem_Track(&self, item: *mut root::MediaItem) -> *mut root::MediaTrack { - match self.pointers.GetMediaItem_Track { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaItem_Track) - ), - Some(f) => f(item), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaItemInfo_Value( - &self, - item: *mut root::MediaItem, - parmname: *const ::std::os::raw::c_char, - ) -> f64 { - match self.pointers.GetMediaItemInfo_Value { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaItemInfo_Value) - ), - Some(f) => f(item, parmname), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaItemNumTakes(&self, item: *mut root::MediaItem) -> ::std::os::raw::c_int { - match self.pointers.GetMediaItemNumTakes { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaItemNumTakes) - ), - Some(f) => f(item), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaItemTake( - &self, - item: *mut root::MediaItem, - tk: ::std::os::raw::c_int, - ) -> *mut root::MediaItem_Take { - match self.pointers.GetMediaItemTake { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaItemTake) - ), - Some(f) => f(item, tk), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaItemTake_Item( - &self, - take: *mut root::MediaItem_Take, - ) -> *mut root::MediaItem { - match self.pointers.GetMediaItemTake_Item { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaItemTake_Item) - ), - Some(f) => f(take), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaItemTake_Peaks( - &self, - take: *mut root::MediaItem_Take, - peakrate: f64, - starttime: f64, - numchannels: ::std::os::raw::c_int, - numsamplesperchannel: ::std::os::raw::c_int, - want_extra_type: ::std::os::raw::c_int, - buf: *mut f64, - ) -> ::std::os::raw::c_int { - match self.pointers.GetMediaItemTake_Peaks { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaItemTake_Peaks) - ), - Some(f) => f( - take, - peakrate, - starttime, - numchannels, - numsamplesperchannel, - want_extra_type, - buf, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaItemTake_Source( - &self, - take: *mut root::MediaItem_Take, - ) -> *mut root::PCM_source { - match self.pointers.GetMediaItemTake_Source { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaItemTake_Source) - ), - Some(f) => f(take), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaItemTake_Track( - &self, - take: *mut root::MediaItem_Take, - ) -> *mut root::MediaTrack { - match self.pointers.GetMediaItemTake_Track { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaItemTake_Track) - ), - Some(f) => f(take), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaItemTakeByGUID( - &self, - project: *mut root::ReaProject, - guid: *const root::GUID, - ) -> *mut root::MediaItem_Take { - match self.pointers.GetMediaItemTakeByGUID { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaItemTakeByGUID) - ), - Some(f) => f(project, guid), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaItemTakeInfo_Value( - &self, - take: *mut root::MediaItem_Take, - parmname: *const ::std::os::raw::c_char, - ) -> f64 { - match self.pointers.GetMediaItemTakeInfo_Value { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaItemTakeInfo_Value) - ), - Some(f) => f(take, parmname), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaItemTrack(&self, item: *mut root::MediaItem) -> *mut root::MediaTrack { - match self.pointers.GetMediaItemTrack { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaItemTrack) - ), - Some(f) => f(item), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaSourceFileName( - &self, - source: *mut root::PCM_source, - filenamebufOut: *mut ::std::os::raw::c_char, - filenamebufOut_sz: ::std::os::raw::c_int, - ) { - match self.pointers.GetMediaSourceFileName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaSourceFileName) - ), - Some(f) => f(source, filenamebufOut, filenamebufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaSourceLength( - &self, - source: *mut root::PCM_source, - lengthIsQNOut: *mut bool, - ) -> f64 { - match self.pointers.GetMediaSourceLength { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaSourceLength) - ), - Some(f) => f(source, lengthIsQNOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaSourceNumChannels( - &self, - source: *mut root::PCM_source, - ) -> ::std::os::raw::c_int { - match self.pointers.GetMediaSourceNumChannels { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaSourceNumChannels) - ), - Some(f) => f(source), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaSourceParent(&self, src: *mut root::PCM_source) -> *mut root::PCM_source { - match self.pointers.GetMediaSourceParent { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaSourceParent) - ), - Some(f) => f(src), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaSourceSampleRate( - &self, - source: *mut root::PCM_source, - ) -> ::std::os::raw::c_int { - match self.pointers.GetMediaSourceSampleRate { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaSourceSampleRate) - ), - Some(f) => f(source), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaSourceType( - &self, - source: *mut root::PCM_source, - typebufOut: *mut ::std::os::raw::c_char, - typebufOut_sz: ::std::os::raw::c_int, - ) { - match self.pointers.GetMediaSourceType { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaSourceType) - ), - Some(f) => f(source, typebufOut, typebufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMediaTrackInfo_Value( - &self, - tr: *mut root::MediaTrack, - parmname: *const ::std::os::raw::c_char, - ) -> f64 { - match self.pointers.GetMediaTrackInfo_Value { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMediaTrackInfo_Value) - ), - Some(f) => f(tr, parmname), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMIDIInputName( - &self, - dev: ::std::os::raw::c_int, - nameout: *mut ::std::os::raw::c_char, - nameout_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetMIDIInputName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMIDIInputName) - ), - Some(f) => f(dev, nameout, nameout_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMIDIOutputName( - &self, - dev: ::std::os::raw::c_int, - nameout: *mut ::std::os::raw::c_char, - nameout_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetMIDIOutputName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMIDIOutputName) - ), - Some(f) => f(dev, nameout, nameout_sz), - } - } - pub fn GetMixerScroll(&self) -> *mut root::MediaTrack { - match self.pointers.GetMixerScroll { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMixerScroll) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMouseModifier( - &self, - context: *const ::std::os::raw::c_char, - modifier_flag: ::std::os::raw::c_int, - actionOut: *mut ::std::os::raw::c_char, - actionOut_sz: ::std::os::raw::c_int, - ) { - match self.pointers.GetMouseModifier { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMouseModifier) - ), - Some(f) => f(context, modifier_flag, actionOut, actionOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMousePosition( - &self, - xOut: *mut ::std::os::raw::c_int, - yOut: *mut ::std::os::raw::c_int, - ) { - match self.pointers.GetMousePosition { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMousePosition) - ), - Some(f) => f(xOut, yOut), - } - } - pub fn GetNumAudioInputs(&self) -> ::std::os::raw::c_int { - match self.pointers.GetNumAudioInputs { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetNumAudioInputs) - ), - Some(f) => f(), - } - } - pub fn GetNumAudioOutputs(&self) -> ::std::os::raw::c_int { - match self.pointers.GetNumAudioOutputs { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetNumAudioOutputs) - ), - Some(f) => f(), - } - } - pub fn GetNumMIDIInputs(&self) -> ::std::os::raw::c_int { - match self.pointers.GetNumMIDIInputs { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetNumMIDIInputs) - ), - Some(f) => f(), - } - } - pub fn GetNumMIDIOutputs(&self) -> ::std::os::raw::c_int { - match self.pointers.GetNumMIDIOutputs { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetNumMIDIOutputs) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetNumTakeMarkers( - &self, - take: *mut root::MediaItem_Take, - ) -> ::std::os::raw::c_int { - match self.pointers.GetNumTakeMarkers { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetNumTakeMarkers) - ), - Some(f) => f(take), - } - } - pub fn GetNumTracks(&self) -> ::std::os::raw::c_int { - match self.pointers.GetNumTracks { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetNumTracks) - ), - Some(f) => f(), - } - } - pub fn GetOS(&self) -> *const ::std::os::raw::c_char { - match self.pointers.GetOS { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetOS) - ), - Some(f) => f(), - } - } - pub fn GetOutputChannelName( - &self, - channelIndex: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char { - match self.pointers.GetOutputChannelName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetOutputChannelName) - ), - Some(f) => f(channelIndex), - } - } - pub fn GetOutputLatency(&self) -> f64 { - match self.pointers.GetOutputLatency { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetOutputLatency) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetParentTrack(&self, track: *mut root::MediaTrack) -> *mut root::MediaTrack { - match self.pointers.GetParentTrack { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetParentTrack) - ), - Some(f) => f(track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetPeakFileName( - &self, - fn_: *const ::std::os::raw::c_char, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) { - match self.pointers.GetPeakFileName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPeakFileName) - ), - Some(f) => f(fn_, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetPeakFileNameEx( - &self, - fn_: *const ::std::os::raw::c_char, - buf: *mut ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - forWrite: bool, - ) { - match self.pointers.GetPeakFileNameEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPeakFileNameEx) - ), - Some(f) => f(fn_, buf, buf_sz, forWrite), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetPeakFileNameEx2( - &self, - fn_: *const ::std::os::raw::c_char, - buf: *mut ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - forWrite: bool, - peaksfileextension: *const ::std::os::raw::c_char, - ) { - match self.pointers.GetPeakFileNameEx2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPeakFileNameEx2) - ), - Some(f) => f(fn_, buf, buf_sz, forWrite, peaksfileextension), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetPeaksBitmap( - &self, - pks: *mut root::PCM_source_peaktransfer_t, - maxamp: f64, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - bmp: *mut root::reaper_functions::LICE_IBitmap, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.GetPeaksBitmap { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPeaksBitmap) - ), - Some(f) => f(pks, maxamp, w, h, bmp), - } - } - pub fn GetPlayPosition(&self) -> f64 { - match self.pointers.GetPlayPosition { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPlayPosition) - ), - Some(f) => f(), - } - } - pub fn GetPlayPosition2(&self) -> f64 { - match self.pointers.GetPlayPosition2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPlayPosition2) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetPlayPosition2Ex(&self, proj: *mut root::ReaProject) -> f64 { - match self.pointers.GetPlayPosition2Ex { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPlayPosition2Ex) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetPlayPositionEx(&self, proj: *mut root::ReaProject) -> f64 { - match self.pointers.GetPlayPositionEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPlayPositionEx) - ), - Some(f) => f(proj), - } - } - pub fn GetPlayState(&self) -> ::std::os::raw::c_int { - match self.pointers.GetPlayState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPlayState) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetPlayStateEx(&self, proj: *mut root::ReaProject) -> ::std::os::raw::c_int { - match self.pointers.GetPlayStateEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPlayStateEx) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetPreferredDiskReadMode( - &self, - mode: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - bs: *mut ::std::os::raw::c_int, - ) { - match self.pointers.GetPreferredDiskReadMode { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPreferredDiskReadMode) - ), - Some(f) => f(mode, nb, bs), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetPreferredDiskReadModePeak( - &self, - mode: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - bs: *mut ::std::os::raw::c_int, - ) { - match self.pointers.GetPreferredDiskReadModePeak { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPreferredDiskReadModePeak) - ), - Some(f) => f(mode, nb, bs), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetPreferredDiskWriteMode( - &self, - mode: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - bs: *mut ::std::os::raw::c_int, - ) { - match self.pointers.GetPreferredDiskWriteMode { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPreferredDiskWriteMode) - ), - Some(f) => f(mode, nb, bs), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetProjectLength(&self, proj: *mut root::ReaProject) -> f64 { - match self.pointers.GetProjectLength { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetProjectLength) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetProjectName( - &self, - proj: *mut root::ReaProject, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) { - match self.pointers.GetProjectName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetProjectName) - ), - Some(f) => f(proj, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetProjectPath( - &self, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) { - match self.pointers.GetProjectPath { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetProjectPath) - ), - Some(f) => f(bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetProjectPathEx( - &self, - proj: *mut root::ReaProject, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) { - match self.pointers.GetProjectPathEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetProjectPathEx) - ), - Some(f) => f(proj, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetProjectStateChangeCount( - &self, - proj: *mut root::ReaProject, - ) -> ::std::os::raw::c_int { - match self.pointers.GetProjectStateChangeCount { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetProjectStateChangeCount) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetProjectTimeOffset(&self, proj: *mut root::ReaProject, rndframe: bool) -> f64 { - match self.pointers.GetProjectTimeOffset { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetProjectTimeOffset) - ), - Some(f) => f(proj, rndframe), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetProjectTimeSignature(&self, bpmOut: *mut f64, bpiOut: *mut f64) { - match self.pointers.GetProjectTimeSignature { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetProjectTimeSignature) - ), - Some(f) => f(bpmOut, bpiOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetProjectTimeSignature2( - &self, - proj: *mut root::ReaProject, - bpmOut: *mut f64, - bpiOut: *mut f64, - ) { - match self.pointers.GetProjectTimeSignature2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetProjectTimeSignature2) - ), - Some(f) => f(proj, bpmOut, bpiOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetProjExtState( - &self, - proj: *mut root::ReaProject, - extname: *const ::std::os::raw::c_char, - key: *const ::std::os::raw::c_char, - valOutNeedBig: *mut ::std::os::raw::c_char, - valOutNeedBig_sz: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetProjExtState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetProjExtState) - ), - Some(f) => f(proj, extname, key, valOutNeedBig, valOutNeedBig_sz), - } - } - pub fn GetResourcePath(&self) -> *const ::std::os::raw::c_char { - match self.pointers.GetResourcePath { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetResourcePath) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSelectedEnvelope( - &self, - proj: *mut root::ReaProject, - ) -> *mut root::TrackEnvelope { - match self.pointers.GetSelectedEnvelope { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSelectedEnvelope) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSelectedMediaItem( - &self, - proj: *mut root::ReaProject, - selitem: ::std::os::raw::c_int, - ) -> *mut root::MediaItem { - match self.pointers.GetSelectedMediaItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSelectedMediaItem) - ), - Some(f) => f(proj, selitem), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSelectedTrack( - &self, - proj: *mut root::ReaProject, - seltrackidx: ::std::os::raw::c_int, - ) -> *mut root::MediaTrack { - match self.pointers.GetSelectedTrack { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSelectedTrack) - ), - Some(f) => f(proj, seltrackidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSelectedTrack2( - &self, - proj: *mut root::ReaProject, - seltrackidx: ::std::os::raw::c_int, - wantmaster: bool, - ) -> *mut root::MediaTrack { - match self.pointers.GetSelectedTrack2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSelectedTrack2) - ), - Some(f) => f(proj, seltrackidx, wantmaster), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSelectedTrackEnvelope( - &self, - proj: *mut root::ReaProject, - ) -> *mut root::TrackEnvelope { - match self.pointers.GetSelectedTrackEnvelope { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSelectedTrackEnvelope) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSet_ArrangeView2( - &self, - proj: *mut root::ReaProject, - isSet: bool, - screen_x_start: ::std::os::raw::c_int, - screen_x_end: ::std::os::raw::c_int, - start_timeInOut: *mut f64, - end_timeInOut: *mut f64, - ) { - match self.pointers.GetSet_ArrangeView2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSet_ArrangeView2) - ), - Some(f) => f( - proj, - isSet, - screen_x_start, - screen_x_end, - start_timeInOut, - end_timeInOut, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSet_LoopTimeRange( - &self, - isSet: bool, - isLoop: bool, - startOut: *mut f64, - endOut: *mut f64, - allowautoseek: bool, - ) { - match self.pointers.GetSet_LoopTimeRange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSet_LoopTimeRange) - ), - Some(f) => f(isSet, isLoop, startOut, endOut, allowautoseek), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSet_LoopTimeRange2( - &self, - proj: *mut root::ReaProject, - isSet: bool, - isLoop: bool, - startOut: *mut f64, - endOut: *mut f64, - allowautoseek: bool, - ) { - match self.pointers.GetSet_LoopTimeRange2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSet_LoopTimeRange2) - ), - Some(f) => f(proj, isSet, isLoop, startOut, endOut, allowautoseek), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetAutomationItemInfo( - &self, - env: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - desc: *const ::std::os::raw::c_char, - value: f64, - is_set: bool, - ) -> f64 { - match self.pointers.GetSetAutomationItemInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetAutomationItemInfo) - ), - Some(f) => f(env, autoitem_idx, desc, value, is_set), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetAutomationItemInfo_String( - &self, - env: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - desc: *const ::std::os::raw::c_char, - valuestrNeedBig: *mut ::std::os::raw::c_char, - is_set: bool, - ) -> bool { - match self.pointers.GetSetAutomationItemInfo_String { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetAutomationItemInfo_String) - ), - Some(f) => f(env, autoitem_idx, desc, valuestrNeedBig, is_set), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetEnvelopeInfo_String( - &self, - env: *mut root::TrackEnvelope, - parmname: *const ::std::os::raw::c_char, - stringNeedBig: *mut ::std::os::raw::c_char, - setNewValue: bool, - ) -> bool { - match self.pointers.GetSetEnvelopeInfo_String { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetEnvelopeInfo_String) - ), - Some(f) => f(env, parmname, stringNeedBig, setNewValue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetEnvelopeState( - &self, - env: *mut root::TrackEnvelope, - str: *mut ::std::os::raw::c_char, - str_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetSetEnvelopeState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetEnvelopeState) - ), - Some(f) => f(env, str, str_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetEnvelopeState2( - &self, - env: *mut root::TrackEnvelope, - str: *mut ::std::os::raw::c_char, - str_sz: ::std::os::raw::c_int, - isundo: bool, - ) -> bool { - match self.pointers.GetSetEnvelopeState2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetEnvelopeState2) - ), - Some(f) => f(env, str, str_sz, isundo), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetItemState( - &self, - item: *mut root::MediaItem, - str: *mut ::std::os::raw::c_char, - str_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetSetItemState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetItemState) - ), - Some(f) => f(item, str, str_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetItemState2( - &self, - item: *mut root::MediaItem, - str: *mut ::std::os::raw::c_char, - str_sz: ::std::os::raw::c_int, - isundo: bool, - ) -> bool { - match self.pointers.GetSetItemState2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetItemState2) - ), - Some(f) => f(item, str, str_sz, isundo), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetMediaItemInfo( - &self, - item: *mut root::MediaItem, - parmname: *const ::std::os::raw::c_char, - setNewValue: *mut ::std::os::raw::c_void, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.GetSetMediaItemInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetMediaItemInfo) - ), - Some(f) => f(item, parmname, setNewValue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetMediaItemInfo_String( - &self, - item: *mut root::MediaItem, - parmname: *const ::std::os::raw::c_char, - stringNeedBig: *mut ::std::os::raw::c_char, - setNewValue: bool, - ) -> bool { - match self.pointers.GetSetMediaItemInfo_String { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetMediaItemInfo_String) - ), - Some(f) => f(item, parmname, stringNeedBig, setNewValue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetMediaItemTakeInfo( - &self, - tk: *mut root::MediaItem_Take, - parmname: *const ::std::os::raw::c_char, - setNewValue: *mut ::std::os::raw::c_void, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.GetSetMediaItemTakeInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetMediaItemTakeInfo) - ), - Some(f) => f(tk, parmname, setNewValue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetMediaItemTakeInfo_String( - &self, - tk: *mut root::MediaItem_Take, - parmname: *const ::std::os::raw::c_char, - stringNeedBig: *mut ::std::os::raw::c_char, - setNewValue: bool, - ) -> bool { - match self.pointers.GetSetMediaItemTakeInfo_String { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetMediaItemTakeInfo_String) - ), - Some(f) => f(tk, parmname, stringNeedBig, setNewValue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetMediaTrackInfo( - &self, - tr: *mut root::MediaTrack, - parmname: *const ::std::os::raw::c_char, - setNewValue: *mut ::std::os::raw::c_void, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.GetSetMediaTrackInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetMediaTrackInfo) - ), - Some(f) => f(tr, parmname, setNewValue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetMediaTrackInfo_String( - &self, - tr: *mut root::MediaTrack, - parmname: *const ::std::os::raw::c_char, - stringNeedBig: *mut ::std::os::raw::c_char, - setNewValue: bool, - ) -> bool { - match self.pointers.GetSetMediaTrackInfo_String { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetMediaTrackInfo_String) - ), - Some(f) => f(tr, parmname, stringNeedBig, setNewValue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetObjectState( - &self, - obj: *mut ::std::os::raw::c_void, - str: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char { - match self.pointers.GetSetObjectState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetObjectState) - ), - Some(f) => f(obj, str), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetObjectState2( - &self, - obj: *mut ::std::os::raw::c_void, - str: *const ::std::os::raw::c_char, - isundo: bool, - ) -> *mut ::std::os::raw::c_char { - match self.pointers.GetSetObjectState2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetObjectState2) - ), - Some(f) => f(obj, str, isundo), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetProjectAuthor( - &self, - proj: *mut root::ReaProject, - set: bool, - author: *mut ::std::os::raw::c_char, - author_sz: ::std::os::raw::c_int, - ) { - match self.pointers.GetSetProjectAuthor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetProjectAuthor) - ), - Some(f) => f(proj, set, author, author_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetProjectGrid( - &self, - project: *mut root::ReaProject, - set: bool, - divisionInOutOptional: *mut f64, - swingmodeInOutOptional: *mut ::std::os::raw::c_int, - swingamtInOutOptional: *mut f64, - ) -> ::std::os::raw::c_int { - match self.pointers.GetSetProjectGrid { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetProjectGrid) - ), - Some(f) => f( - project, - set, - divisionInOutOptional, - swingmodeInOutOptional, - swingamtInOutOptional, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetProjectInfo( - &self, - project: *mut root::ReaProject, - desc: *const ::std::os::raw::c_char, - value: f64, - is_set: bool, - ) -> f64 { - match self.pointers.GetSetProjectInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetProjectInfo) - ), - Some(f) => f(project, desc, value, is_set), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetProjectInfo_String( - &self, - project: *mut root::ReaProject, - desc: *const ::std::os::raw::c_char, - valuestrNeedBig: *mut ::std::os::raw::c_char, - is_set: bool, - ) -> bool { - match self.pointers.GetSetProjectInfo_String { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetProjectInfo_String) - ), - Some(f) => f(project, desc, valuestrNeedBig, is_set), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetProjectNotes( - &self, - proj: *mut root::ReaProject, - set: bool, - notesNeedBig: *mut ::std::os::raw::c_char, - notesNeedBig_sz: ::std::os::raw::c_int, - ) { - match self.pointers.GetSetProjectNotes { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetProjectNotes) - ), - Some(f) => f(proj, set, notesNeedBig, notesNeedBig_sz), - } - } - pub fn GetSetRepeat(&self, val: ::std::os::raw::c_int) -> ::std::os::raw::c_int { - match self.pointers.GetSetRepeat { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetRepeat) - ), - Some(f) => f(val), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetRepeatEx( - &self, - proj: *mut root::ReaProject, - val: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetSetRepeatEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetRepeatEx) - ), - Some(f) => f(proj, val), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetTempoTimeSigMarkerFlag( - &self, - project: *mut root::ReaProject, - point_index: ::std::os::raw::c_int, - flag: ::std::os::raw::c_int, - is_set: bool, - ) -> ::std::os::raw::c_int { - match self.pointers.GetSetTempoTimeSigMarkerFlag { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetTempoTimeSigMarkerFlag) - ), - Some(f) => f(project, point_index, flag, is_set), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetTrackGroupMembership( - &self, - tr: *mut root::MediaTrack, - groupname: *const ::std::os::raw::c_char, - setmask: ::std::os::raw::c_uint, - setvalue: ::std::os::raw::c_uint, - ) -> ::std::os::raw::c_uint { - match self.pointers.GetSetTrackGroupMembership { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetTrackGroupMembership) - ), - Some(f) => f(tr, groupname, setmask, setvalue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetTrackGroupMembershipEx( - &self, - tr: *mut root::MediaTrack, - groupname: *const ::std::os::raw::c_char, - offset: ::std::os::raw::c_int, - setmask: ::std::os::raw::c_uint, - setvalue: ::std::os::raw::c_uint, - ) -> ::std::os::raw::c_uint { - match self.pointers.GetSetTrackGroupMembershipEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetTrackGroupMembershipEx) - ), - Some(f) => f(tr, groupname, offset, setmask, setvalue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetTrackGroupMembershipHigh( - &self, - tr: *mut root::MediaTrack, - groupname: *const ::std::os::raw::c_char, - setmask: ::std::os::raw::c_uint, - setvalue: ::std::os::raw::c_uint, - ) -> ::std::os::raw::c_uint { - match self.pointers.GetSetTrackGroupMembershipHigh { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetTrackGroupMembershipHigh) - ), - Some(f) => f(tr, groupname, setmask, setvalue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetTrackMIDISupportFile( - &self, - proj: *mut root::ReaProject, - track: *mut root::MediaTrack, - which: ::std::os::raw::c_int, - filename: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char { - match self.pointers.GetSetTrackMIDISupportFile { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetTrackMIDISupportFile) - ), - Some(f) => f(proj, track, which, filename), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetTrackSendInfo( - &self, - tr: *mut root::MediaTrack, - category: ::std::os::raw::c_int, - sendidx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - setNewValue: *mut ::std::os::raw::c_void, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.GetSetTrackSendInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetTrackSendInfo) - ), - Some(f) => f(tr, category, sendidx, parmname, setNewValue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetTrackSendInfo_String( - &self, - tr: *mut root::MediaTrack, - category: ::std::os::raw::c_int, - sendidx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - stringNeedBig: *mut ::std::os::raw::c_char, - setNewValue: bool, - ) -> bool { - match self.pointers.GetSetTrackSendInfo_String { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetTrackSendInfo_String) - ), - Some(f) => f(tr, category, sendidx, parmname, stringNeedBig, setNewValue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetTrackState( - &self, - track: *mut root::MediaTrack, - str: *mut ::std::os::raw::c_char, - str_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetSetTrackState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetTrackState) - ), - Some(f) => f(track, str, str_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSetTrackState2( - &self, - track: *mut root::MediaTrack, - str: *mut ::std::os::raw::c_char, - str_sz: ::std::os::raw::c_int, - isundo: bool, - ) -> bool { - match self.pointers.GetSetTrackState2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSetTrackState2) - ), - Some(f) => f(track, str, str_sz, isundo), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSubProjectFromSource( - &self, - src: *mut root::PCM_source, - ) -> *mut root::ReaProject { - match self.pointers.GetSubProjectFromSource { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSubProjectFromSource) - ), - Some(f) => f(src), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTake( - &self, - item: *mut root::MediaItem, - takeidx: ::std::os::raw::c_int, - ) -> *mut root::MediaItem_Take { - match self.pointers.GetTake { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTake) - ), - Some(f) => f(item, takeidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTakeEnvelope( - &self, - take: *mut root::MediaItem_Take, - envidx: ::std::os::raw::c_int, - ) -> *mut root::TrackEnvelope { - match self.pointers.GetTakeEnvelope { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTakeEnvelope) - ), - Some(f) => f(take, envidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTakeEnvelopeByName( - &self, - take: *mut root::MediaItem_Take, - envname: *const ::std::os::raw::c_char, - ) -> *mut root::TrackEnvelope { - match self.pointers.GetTakeEnvelopeByName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTakeEnvelopeByName) - ), - Some(f) => f(take, envname), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTakeMarker( - &self, - take: *mut root::MediaItem_Take, - idx: ::std::os::raw::c_int, - nameOut: *mut ::std::os::raw::c_char, - nameOut_sz: ::std::os::raw::c_int, - colorOutOptional: *mut ::std::os::raw::c_int, - ) -> f64 { - match self.pointers.GetTakeMarker { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTakeMarker) - ), - Some(f) => f(take, idx, nameOut, nameOut_sz, colorOutOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTakeName( - &self, - take: *mut root::MediaItem_Take, - ) -> *const ::std::os::raw::c_char { - match self.pointers.GetTakeName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTakeName) - ), - Some(f) => f(take), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTakeNumStretchMarkers( - &self, - take: *mut root::MediaItem_Take, - ) -> ::std::os::raw::c_int { - match self.pointers.GetTakeNumStretchMarkers { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTakeNumStretchMarkers) - ), - Some(f) => f(take), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTakeStretchMarker( - &self, - take: *mut root::MediaItem_Take, - idx: ::std::os::raw::c_int, - posOut: *mut f64, - srcposOutOptional: *mut f64, - ) -> ::std::os::raw::c_int { - match self.pointers.GetTakeStretchMarker { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTakeStretchMarker) - ), - Some(f) => f(take, idx, posOut, srcposOutOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTakeStretchMarkerSlope( - &self, - take: *mut root::MediaItem_Take, - idx: ::std::os::raw::c_int, - ) -> f64 { - match self.pointers.GetTakeStretchMarkerSlope { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTakeStretchMarkerSlope) - ), - Some(f) => f(take, idx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTCPFXParm( - &self, - project: *mut root::ReaProject, - track: *mut root::MediaTrack, - index: ::std::os::raw::c_int, - fxindexOut: *mut ::std::os::raw::c_int, - parmidxOut: *mut ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetTCPFXParm { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTCPFXParm) - ), - Some(f) => f(project, track, index, fxindexOut, parmidxOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTempoMatchPlayRate( - &self, - source: *mut root::PCM_source, - srcscale: f64, - position: f64, - mult: f64, - rateOut: *mut f64, - targetlenOut: *mut f64, - ) -> bool { - match self.pointers.GetTempoMatchPlayRate { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTempoMatchPlayRate) - ), - Some(f) => f(source, srcscale, position, mult, rateOut, targetlenOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTempoTimeSigMarker( - &self, - proj: *mut root::ReaProject, - ptidx: ::std::os::raw::c_int, - timeposOut: *mut f64, - measureposOut: *mut ::std::os::raw::c_int, - beatposOut: *mut f64, - bpmOut: *mut f64, - timesig_numOut: *mut ::std::os::raw::c_int, - timesig_denomOut: *mut ::std::os::raw::c_int, - lineartempoOut: *mut bool, - ) -> bool { - match self.pointers.GetTempoTimeSigMarker { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTempoTimeSigMarker) - ), - Some(f) => f( - proj, - ptidx, - timeposOut, - measureposOut, - beatposOut, - bpmOut, - timesig_numOut, - timesig_denomOut, - lineartempoOut, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetThemeColor( - &self, - ini_key: *const ::std::os::raw::c_char, - flagsOptional: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetThemeColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetThemeColor) - ), - Some(f) => f(ini_key, flagsOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetThingFromPoint( - &self, - screen_x: ::std::os::raw::c_int, - screen_y: ::std::os::raw::c_int, - infoOut: *mut ::std::os::raw::c_char, - infoOut_sz: ::std::os::raw::c_int, - ) -> *mut root::MediaTrack { - match self.pointers.GetThingFromPoint { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetThingFromPoint) - ), - Some(f) => f(screen_x, screen_y, infoOut, infoOut_sz), - } - } - pub fn GetToggleCommandState( - &self, - command_id: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetToggleCommandState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetToggleCommandState) - ), - Some(f) => f(command_id), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetToggleCommandState2( - &self, - section: *mut root::KbdSectionInfo, - command_id: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetToggleCommandState2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetToggleCommandState2) - ), - Some(f) => f(section, command_id), - } - } - pub fn GetToggleCommandStateEx( - &self, - section_id: ::std::os::raw::c_int, - command_id: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetToggleCommandStateEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetToggleCommandStateEx) - ), - Some(f) => f(section_id, command_id), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetToggleCommandStateThroughHooks( - &self, - section: *mut root::KbdSectionInfo, - command_id: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetToggleCommandStateThroughHooks { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetToggleCommandStateThroughHooks) - ), - Some(f) => f(section, command_id), - } - } - pub fn GetTooltipWindow(&self) -> root::HWND { - match self.pointers.GetTooltipWindow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTooltipWindow) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTouchedOrFocusedFX( - &self, - mode: ::std::os::raw::c_int, - trackidxOut: *mut ::std::os::raw::c_int, - itemidxOut: *mut ::std::os::raw::c_int, - takeidxOut: *mut ::std::os::raw::c_int, - fxidxOut: *mut ::std::os::raw::c_int, - parmOut: *mut ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetTouchedOrFocusedFX { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTouchedOrFocusedFX) - ), - Some(f) => f(mode, trackidxOut, itemidxOut, takeidxOut, fxidxOut, parmOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrack( - &self, - proj: *mut root::ReaProject, - trackidx: ::std::os::raw::c_int, - ) -> *mut root::MediaTrack { - match self.pointers.GetTrack { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrack) - ), - Some(f) => f(proj, trackidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackAutomationMode( - &self, - tr: *mut root::MediaTrack, - ) -> ::std::os::raw::c_int { - match self.pointers.GetTrackAutomationMode { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackAutomationMode) - ), - Some(f) => f(tr), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackColor(&self, track: *mut root::MediaTrack) -> ::std::os::raw::c_int { - match self.pointers.GetTrackColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackColor) - ), - Some(f) => f(track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackDepth(&self, track: *mut root::MediaTrack) -> ::std::os::raw::c_int { - match self.pointers.GetTrackDepth { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackDepth) - ), - Some(f) => f(track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackEnvelope( - &self, - track: *mut root::MediaTrack, - envidx: ::std::os::raw::c_int, - ) -> *mut root::TrackEnvelope { - match self.pointers.GetTrackEnvelope { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackEnvelope) - ), - Some(f) => f(track, envidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackEnvelopeByChunkName( - &self, - tr: *mut root::MediaTrack, - cfgchunkname_or_guid: *const ::std::os::raw::c_char, - ) -> *mut root::TrackEnvelope { - match self.pointers.GetTrackEnvelopeByChunkName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackEnvelopeByChunkName) - ), - Some(f) => f(tr, cfgchunkname_or_guid), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackEnvelopeByName( - &self, - track: *mut root::MediaTrack, - envname: *const ::std::os::raw::c_char, - ) -> *mut root::TrackEnvelope { - match self.pointers.GetTrackEnvelopeByName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackEnvelopeByName) - ), - Some(f) => f(track, envname), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackFromPoint( - &self, - screen_x: ::std::os::raw::c_int, - screen_y: ::std::os::raw::c_int, - infoOutOptional: *mut ::std::os::raw::c_int, - ) -> *mut root::MediaTrack { - match self.pointers.GetTrackFromPoint { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackFromPoint) - ), - Some(f) => f(screen_x, screen_y, infoOutOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackGUID(&self, tr: *mut root::MediaTrack) -> *mut root::GUID { - match self.pointers.GetTrackGUID { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackGUID) - ), - Some(f) => f(tr), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackInfo( - &self, - track: root::INT_PTR, - flags: *mut ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char { - match self.pointers.GetTrackInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackInfo) - ), - Some(f) => f(track, flags), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackMediaItem( - &self, - tr: *mut root::MediaTrack, - itemidx: ::std::os::raw::c_int, - ) -> *mut root::MediaItem { - match self.pointers.GetTrackMediaItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackMediaItem) - ), - Some(f) => f(tr, itemidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackMIDILyrics( - &self, - track: *mut root::MediaTrack, - flag: ::std::os::raw::c_int, - bufOutWantNeedBig: *mut ::std::os::raw::c_char, - bufOutWantNeedBig_sz: *mut ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetTrackMIDILyrics { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackMIDILyrics) - ), - Some(f) => f(track, flag, bufOutWantNeedBig, bufOutWantNeedBig_sz), - } - } - pub fn GetTrackMIDINoteName( - &self, - track: ::std::os::raw::c_int, - pitch: ::std::os::raw::c_int, - chan: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char { - match self.pointers.GetTrackMIDINoteName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackMIDINoteName) - ), - Some(f) => f(track, pitch, chan), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackMIDINoteNameEx( - &self, - proj: *mut root::ReaProject, - track: *mut root::MediaTrack, - pitch: ::std::os::raw::c_int, - chan: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char { - match self.pointers.GetTrackMIDINoteNameEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackMIDINoteNameEx) - ), - Some(f) => f(proj, track, pitch, chan), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackMIDINoteRange( - &self, - proj: *mut root::ReaProject, - track: *mut root::MediaTrack, - note_loOut: *mut ::std::os::raw::c_int, - note_hiOut: *mut ::std::os::raw::c_int, - ) { - match self.pointers.GetTrackMIDINoteRange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackMIDINoteRange) - ), - Some(f) => f(proj, track, note_loOut, note_hiOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackName( - &self, - track: *mut root::MediaTrack, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetTrackName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackName) - ), - Some(f) => f(track, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackNumMediaItems(&self, tr: *mut root::MediaTrack) -> ::std::os::raw::c_int { - match self.pointers.GetTrackNumMediaItems { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackNumMediaItems) - ), - Some(f) => f(tr), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackNumSends( - &self, - tr: *mut root::MediaTrack, - category: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetTrackNumSends { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackNumSends) - ), - Some(f) => f(tr, category), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackReceiveName( - &self, - track: *mut root::MediaTrack, - recv_index: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetTrackReceiveName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackReceiveName) - ), - Some(f) => f(track, recv_index, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackReceiveUIMute( - &self, - track: *mut root::MediaTrack, - recv_index: ::std::os::raw::c_int, - muteOut: *mut bool, - ) -> bool { - match self.pointers.GetTrackReceiveUIMute { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackReceiveUIMute) - ), - Some(f) => f(track, recv_index, muteOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackReceiveUIVolPan( - &self, - track: *mut root::MediaTrack, - recv_index: ::std::os::raw::c_int, - volumeOut: *mut f64, - panOut: *mut f64, - ) -> bool { - match self.pointers.GetTrackReceiveUIVolPan { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackReceiveUIVolPan) - ), - Some(f) => f(track, recv_index, volumeOut, panOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackSendInfo_Value( - &self, - tr: *mut root::MediaTrack, - category: ::std::os::raw::c_int, - sendidx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - ) -> f64 { - match self.pointers.GetTrackSendInfo_Value { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackSendInfo_Value) - ), - Some(f) => f(tr, category, sendidx, parmname), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackSendName( - &self, - track: *mut root::MediaTrack, - send_index: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetTrackSendName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackSendName) - ), - Some(f) => f(track, send_index, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackSendUIMute( - &self, - track: *mut root::MediaTrack, - send_index: ::std::os::raw::c_int, - muteOut: *mut bool, - ) -> bool { - match self.pointers.GetTrackSendUIMute { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackSendUIMute) - ), - Some(f) => f(track, send_index, muteOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackSendUIVolPan( - &self, - track: *mut root::MediaTrack, - send_index: ::std::os::raw::c_int, - volumeOut: *mut f64, - panOut: *mut f64, - ) -> bool { - match self.pointers.GetTrackSendUIVolPan { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackSendUIVolPan) - ), - Some(f) => f(track, send_index, volumeOut, panOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackState( - &self, - track: *mut root::MediaTrack, - flagsOut: *mut ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char { - match self.pointers.GetTrackState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackState) - ), - Some(f) => f(track, flagsOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackStateChunk( - &self, - track: *mut root::MediaTrack, - strNeedBig: *mut ::std::os::raw::c_char, - strNeedBig_sz: ::std::os::raw::c_int, - isundoOptional: bool, - ) -> bool { - match self.pointers.GetTrackStateChunk { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackStateChunk) - ), - Some(f) => f(track, strNeedBig, strNeedBig_sz, isundoOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackUIMute(&self, track: *mut root::MediaTrack, muteOut: *mut bool) -> bool { - match self.pointers.GetTrackUIMute { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackUIMute) - ), - Some(f) => f(track, muteOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackUIPan( - &self, - track: *mut root::MediaTrack, - pan1Out: *mut f64, - pan2Out: *mut f64, - panmodeOut: *mut ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetTrackUIPan { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackUIPan) - ), - Some(f) => f(track, pan1Out, pan2Out, panmodeOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTrackUIVolPan( - &self, - track: *mut root::MediaTrack, - volumeOut: *mut f64, - panOut: *mut f64, - ) -> bool { - match self.pointers.GetTrackUIVolPan { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTrackUIVolPan) - ), - Some(f) => f(track, volumeOut, panOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetUnderrunTime( - &self, - audio_xrunOut: *mut ::std::os::raw::c_uint, - media_xrunOut: *mut ::std::os::raw::c_uint, - curtimeOut: *mut ::std::os::raw::c_uint, - ) { - match self.pointers.GetUnderrunTime { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetUnderrunTime) - ), - Some(f) => f(audio_xrunOut, media_xrunOut, curtimeOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetUserFileNameForRead( - &self, - filenameNeed4096: *mut ::std::os::raw::c_char, - title: *const ::std::os::raw::c_char, - defext: *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.GetUserFileNameForRead { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetUserFileNameForRead) - ), - Some(f) => f(filenameNeed4096, title, defext), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetUserInputs( - &self, - title: *const ::std::os::raw::c_char, - num_inputs: ::std::os::raw::c_int, - captions_csv: *const ::std::os::raw::c_char, - retvals_csv: *mut ::std::os::raw::c_char, - retvals_csv_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.GetUserInputs { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetUserInputs) - ), - Some(f) => f(title, num_inputs, captions_csv, retvals_csv, retvals_csv_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GoToMarker( - &self, - proj: *mut root::ReaProject, - marker_index: ::std::os::raw::c_int, - use_timeline_order: bool, - ) { - match self.pointers.GoToMarker { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GoToMarker) - ), - Some(f) => f(proj, marker_index, use_timeline_order), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GoToRegion( - &self, - proj: *mut root::ReaProject, - region_index: ::std::os::raw::c_int, - use_timeline_order: bool, - ) { - match self.pointers.GoToRegion { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GoToRegion) - ), - Some(f) => f(proj, region_index, use_timeline_order), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GR_SelectColor( - &self, - hwnd: root::HWND, - colorOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GR_SelectColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GR_SelectColor) - ), - Some(f) => f(hwnd, colorOut), - } - } - pub fn GSC_mainwnd(&self, t: ::std::os::raw::c_int) -> ::std::os::raw::c_int { - match self.pointers.GSC_mainwnd { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GSC_mainwnd) - ), - Some(f) => f(t), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn guidToString( - &self, - g: *const root::GUID, - destNeed64: *mut ::std::os::raw::c_char, - ) { - match self.pointers.guidToString { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(guidToString) - ), - Some(f) => f(g, destNeed64), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn HasExtState( - &self, - section: *const ::std::os::raw::c_char, - key: *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.HasExtState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(HasExtState) - ), - Some(f) => f(section, key), - } - } - pub fn HasTrackMIDIPrograms( - &self, - track: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char { - match self.pointers.HasTrackMIDIPrograms { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(HasTrackMIDIPrograms) - ), - Some(f) => f(track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn HasTrackMIDIProgramsEx( - &self, - proj: *mut root::ReaProject, - track: *mut root::MediaTrack, - ) -> *const ::std::os::raw::c_char { - match self.pointers.HasTrackMIDIProgramsEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(HasTrackMIDIProgramsEx) - ), - Some(f) => f(proj, track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Help_Set( - &self, - helpstring: *const ::std::os::raw::c_char, - is_temporary_help: bool, - ) { - match self.pointers.Help_Set { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Help_Set) - ), - Some(f) => f(helpstring, is_temporary_help), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn HiresPeaksFromSource( - &self, - src: *mut root::PCM_source, - block: *mut root::PCM_source_peaktransfer_t, - ) { - match self.pointers.HiresPeaksFromSource { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(HiresPeaksFromSource) - ), - Some(f) => f(src, block), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn image_resolve_fn( - &self, - in_: *const ::std::os::raw::c_char, - out: *mut ::std::os::raw::c_char, - out_sz: ::std::os::raw::c_int, - ) { - match self.pointers.image_resolve_fn { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(image_resolve_fn) - ), - Some(f) => f(in_, out, out_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn InsertAutomationItem( - &self, - env: *mut root::TrackEnvelope, - pool_id: ::std::os::raw::c_int, - position: f64, - length: f64, - ) -> ::std::os::raw::c_int { - match self.pointers.InsertAutomationItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(InsertAutomationItem) - ), - Some(f) => f(env, pool_id, position, length), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn InsertEnvelopePoint( - &self, - envelope: *mut root::TrackEnvelope, - time: f64, - value: f64, - shape: ::std::os::raw::c_int, - tension: f64, - selected: bool, - noSortInOptional: *mut bool, - ) -> bool { - match self.pointers.InsertEnvelopePoint { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(InsertEnvelopePoint) - ), - Some(f) => f( - envelope, - time, - value, - shape, - tension, - selected, - noSortInOptional, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn InsertEnvelopePointEx( - &self, - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - time: f64, - value: f64, - shape: ::std::os::raw::c_int, - tension: f64, - selected: bool, - noSortInOptional: *mut bool, - ) -> bool { - match self.pointers.InsertEnvelopePointEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(InsertEnvelopePointEx) - ), - Some(f) => f( - envelope, - autoitem_idx, - time, - value, - shape, - tension, - selected, - noSortInOptional, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn InsertMedia( - &self, - file: *const ::std::os::raw::c_char, - mode: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.InsertMedia { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(InsertMedia) - ), - Some(f) => f(file, mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn InsertMediaSection( - &self, - file: *const ::std::os::raw::c_char, - mode: ::std::os::raw::c_int, - startpct: f64, - endpct: f64, - pitchshift: f64, - ) -> ::std::os::raw::c_int { - match self.pointers.InsertMediaSection { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(InsertMediaSection) - ), - Some(f) => f(file, mode, startpct, endpct, pitchshift), - } - } - pub fn InsertTrackAtIndex(&self, idx: ::std::os::raw::c_int, wantDefaults: bool) { - match self.pointers.InsertTrackAtIndex { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(InsertTrackAtIndex) - ), - Some(f) => f(idx, wantDefaults), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn InsertTrackInProject( - &self, - proj: *mut root::ReaProject, - idx: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) { - match self.pointers.InsertTrackInProject { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(InsertTrackInProject) - ), - Some(f) => f(proj, idx, flags), - } - } - pub fn IsInRealTimeAudio(&self) -> ::std::os::raw::c_int { - match self.pointers.IsInRealTimeAudio { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(IsInRealTimeAudio) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsItemTakeActiveForPlayback( - &self, - item: *mut root::MediaItem, - take: *mut root::MediaItem_Take, - ) -> bool { - match self.pointers.IsItemTakeActiveForPlayback { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(IsItemTakeActiveForPlayback) - ), - Some(f) => f(item, take), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsMediaExtension( - &self, - ext: *const ::std::os::raw::c_char, - wantOthers: bool, - ) -> bool { - match self.pointers.IsMediaExtension { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(IsMediaExtension) - ), - Some(f) => f(ext, wantOthers), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsMediaItemSelected(&self, item: *mut root::MediaItem) -> bool { - match self.pointers.IsMediaItemSelected { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(IsMediaItemSelected) - ), - Some(f) => f(item), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsProjectDirty(&self, proj: *mut root::ReaProject) -> ::std::os::raw::c_int { - match self.pointers.IsProjectDirty { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(IsProjectDirty) - ), - Some(f) => f(proj), - } - } - pub fn IsREAPER(&self) -> bool { - match self.pointers.IsREAPER { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(IsREAPER) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsTrackSelected(&self, track: *mut root::MediaTrack) -> bool { - match self.pointers.IsTrackSelected { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(IsTrackSelected) - ), - Some(f) => f(track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsTrackVisible(&self, track: *mut root::MediaTrack, mixer: bool) -> bool { - match self.pointers.IsTrackVisible { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(IsTrackVisible) - ), - Some(f) => f(track, mixer), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsWindowTextField(&self, hwnd: root::HWND) -> bool { - match self.pointers.IsWindowTextField { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(IsWindowTextField) - ), - Some(f) => f(hwnd), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn joystick_create( - &self, - guid: *const root::GUID, - ) -> *mut root::reaper_functions::joystick_device { - match self.pointers.joystick_create { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(joystick_create) - ), - Some(f) => f(guid), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn joystick_destroy(&self, device: *mut root::reaper_functions::joystick_device) { - match self.pointers.joystick_destroy { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(joystick_destroy) - ), - Some(f) => f(device), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn joystick_enum( - &self, - index: ::std::os::raw::c_int, - namestrOutOptional: *mut *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char { - match self.pointers.joystick_enum { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(joystick_enum) - ), - Some(f) => f(index, namestrOutOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn joystick_getaxis( - &self, - dev: *mut root::reaper_functions::joystick_device, - axis: ::std::os::raw::c_int, - ) -> f64 { - match self.pointers.joystick_getaxis { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(joystick_getaxis) - ), - Some(f) => f(dev, axis), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn joystick_getbuttonmask( - &self, - dev: *mut root::reaper_functions::joystick_device, - ) -> ::std::os::raw::c_uint { - match self.pointers.joystick_getbuttonmask { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(joystick_getbuttonmask) - ), - Some(f) => f(dev), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn joystick_getinfo( - &self, - dev: *mut root::reaper_functions::joystick_device, - axesOutOptional: *mut ::std::os::raw::c_int, - povsOutOptional: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.joystick_getinfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(joystick_getinfo) - ), - Some(f) => f(dev, axesOutOptional, povsOutOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn joystick_getpov( - &self, - dev: *mut root::reaper_functions::joystick_device, - pov: ::std::os::raw::c_int, - ) -> f64 { - match self.pointers.joystick_getpov { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(joystick_getpov) - ), - Some(f) => f(dev, pov), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn joystick_update( - &self, - dev: *mut root::reaper_functions::joystick_device, - ) -> bool { - match self.pointers.joystick_update { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(joystick_update) - ), - Some(f) => f(dev), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn kbd_enumerateActions( - &self, - section: *mut root::KbdSectionInfo, - idx: ::std::os::raw::c_int, - nameOut: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int { - match self.pointers.kbd_enumerateActions { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(kbd_enumerateActions) - ), - Some(f) => f(section, idx, nameOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn kbd_formatKeyName(&self, ac: *mut root::ACCEL, s: *mut ::std::os::raw::c_char) { - match self.pointers.kbd_formatKeyName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(kbd_formatKeyName) - ), - Some(f) => f(ac, s), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn kbd_getCommandName( - &self, - cmd: ::std::os::raw::c_int, - s: *mut ::std::os::raw::c_char, - section: *mut root::KbdSectionInfo, - ) { - match self.pointers.kbd_getCommandName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(kbd_getCommandName) - ), - Some(f) => f(cmd, s, section), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn kbd_getTextFromCmd( - &self, - cmd: ::std::os::raw::c_int, - section: *mut root::KbdSectionInfo, - ) -> *const ::std::os::raw::c_char { - match self.pointers.kbd_getTextFromCmd { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(kbd_getTextFromCmd) - ), - Some(f) => f(cmd, section), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn KBD_OnMainActionEx( - &self, - cmd: ::std::os::raw::c_int, - val: ::std::os::raw::c_int, - valhw: ::std::os::raw::c_int, - relmode: ::std::os::raw::c_int, - hwnd: root::HWND, - proj: *mut root::ReaProject, - ) -> ::std::os::raw::c_int { - match self.pointers.KBD_OnMainActionEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(KBD_OnMainActionEx) - ), - Some(f) => f(cmd, val, valhw, relmode, hwnd, proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn kbd_OnMidiEvent( - &self, - evt: *mut root::MIDI_event_t, - dev_index: ::std::os::raw::c_int, - ) { - match self.pointers.kbd_OnMidiEvent { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(kbd_OnMidiEvent) - ), - Some(f) => f(evt, dev_index), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn kbd_OnMidiList( - &self, - list: *mut root::MIDI_eventlist, - dev_index: ::std::os::raw::c_int, - ) { - match self.pointers.kbd_OnMidiList { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(kbd_OnMidiList) - ), - Some(f) => f(list, dev_index), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn kbd_ProcessActionsMenu( - &self, - menu: root::HMENU, - section: *mut root::KbdSectionInfo, - ) { - match self.pointers.kbd_ProcessActionsMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(kbd_ProcessActionsMenu) - ), - Some(f) => f(menu, section), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn kbd_processMidiEventActionEx( - &self, - evt: *mut root::MIDI_event_t, - section: *mut root::KbdSectionInfo, - hwndCtx: root::HWND, - ) -> bool { - match self.pointers.kbd_processMidiEventActionEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(kbd_processMidiEventActionEx) - ), - Some(f) => f(evt, section, hwndCtx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn kbd_reprocessMenu(&self, menu: root::HMENU, section: *mut root::KbdSectionInfo) { - match self.pointers.kbd_reprocessMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(kbd_reprocessMenu) - ), - Some(f) => f(menu, section), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn kbd_RunCommandThroughHooks( - &self, - section: *mut root::KbdSectionInfo, - actionCommandID: *const ::std::os::raw::c_int, - val: *const ::std::os::raw::c_int, - valhw: *const ::std::os::raw::c_int, - relmode: *const ::std::os::raw::c_int, - hwnd: root::HWND, - ) -> bool { - match self.pointers.kbd_RunCommandThroughHooks { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(kbd_RunCommandThroughHooks) - ), - Some(f) => f(section, actionCommandID, val, valhw, relmode, hwnd), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn kbd_translateAccelerator( - &self, - hwnd: root::HWND, - msg: *mut root::MSG, - section: *mut root::KbdSectionInfo, - ) -> ::std::os::raw::c_int { - match self.pointers.kbd_translateAccelerator { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(kbd_translateAccelerator) - ), - Some(f) => f(hwnd, msg, section), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE__Destroy(&self, bm: *mut root::reaper_functions::LICE_IBitmap) { - match self.pointers.LICE__Destroy { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE__Destroy) - ), - Some(f) => f(bm), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE__DestroyFont(&self, font: *mut root::reaper_functions::LICE_IFont) { - match self.pointers.LICE__DestroyFont { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE__DestroyFont) - ), - Some(f) => f(font), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE__DrawText( - &self, - font: *mut root::reaper_functions::LICE_IFont, - bm: *mut root::reaper_functions::LICE_IBitmap, - str: *const ::std::os::raw::c_char, - strcnt: ::std::os::raw::c_int, - rect: *mut root::RECT, - dtFlags: root::UINT, - ) -> ::std::os::raw::c_int { - match self.pointers.LICE__DrawText { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE__DrawText) - ), - Some(f) => f(font, bm, str, strcnt, rect, dtFlags), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE__GetBits( - &self, - bm: *mut root::reaper_functions::LICE_IBitmap, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.LICE__GetBits { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE__GetBits) - ), - Some(f) => f(bm), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE__GetDC(&self, bm: *mut root::reaper_functions::LICE_IBitmap) -> root::HDC { - match self.pointers.LICE__GetDC { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE__GetDC) - ), - Some(f) => f(bm), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE__GetHeight( - &self, - bm: *mut root::reaper_functions::LICE_IBitmap, - ) -> ::std::os::raw::c_int { - match self.pointers.LICE__GetHeight { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE__GetHeight) - ), - Some(f) => f(bm), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE__GetRowSpan( - &self, - bm: *mut root::reaper_functions::LICE_IBitmap, - ) -> ::std::os::raw::c_int { - match self.pointers.LICE__GetRowSpan { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE__GetRowSpan) - ), - Some(f) => f(bm), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE__GetWidth( - &self, - bm: *mut root::reaper_functions::LICE_IBitmap, - ) -> ::std::os::raw::c_int { - match self.pointers.LICE__GetWidth { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE__GetWidth) - ), - Some(f) => f(bm), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE__IsFlipped(&self, bm: *mut root::reaper_functions::LICE_IBitmap) -> bool { - match self.pointers.LICE__IsFlipped { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE__IsFlipped) - ), - Some(f) => f(bm), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE__resize( - &self, - bm: *mut root::reaper_functions::LICE_IBitmap, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.LICE__resize { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE__resize) - ), - Some(f) => f(bm, w, h), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE__SetBkColor( - &self, - font: *mut root::reaper_functions::LICE_IFont, - color: root::reaper_functions::LICE_pixel, - ) -> root::reaper_functions::LICE_pixel { - match self.pointers.LICE__SetBkColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE__SetBkColor) - ), - Some(f) => f(font, color), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE__SetFromHFont( - &self, - font: *mut root::reaper_functions::LICE_IFont, - hfont: root::HFONT, - flags: ::std::os::raw::c_int, - ) { - match self.pointers.LICE__SetFromHFont { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE__SetFromHFont) - ), - Some(f) => f(font, hfont, flags), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE__SetTextColor( - &self, - font: *mut root::reaper_functions::LICE_IFont, - color: root::reaper_functions::LICE_pixel, - ) -> root::reaper_functions::LICE_pixel { - match self.pointers.LICE__SetTextColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE__SetTextColor) - ), - Some(f) => f(font, color), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE__SetTextCombineMode( - &self, - ifont: *mut root::reaper_functions::LICE_IFont, - mode: ::std::os::raw::c_int, - alpha: f32, - ) { - match self.pointers.LICE__SetTextCombineMode { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE__SetTextCombineMode) - ), - Some(f) => f(ifont, mode, alpha), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_Arc( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - cx: f32, - cy: f32, - r: f32, - minAngle: f32, - maxAngle: f32, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - ) { - match self.pointers.LICE_Arc { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_Arc) - ), - Some(f) => f(dest, cx, cy, r, minAngle, maxAngle, color, alpha, mode, aa), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_Blit( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - src: *mut root::reaper_functions::LICE_IBitmap, - dstx: ::std::os::raw::c_int, - dsty: ::std::os::raw::c_int, - srcx: ::std::os::raw::c_int, - srcy: ::std::os::raw::c_int, - srcw: ::std::os::raw::c_int, - srch: ::std::os::raw::c_int, - alpha: f32, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.LICE_Blit { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_Blit) - ), - Some(f) => f(dest, src, dstx, dsty, srcx, srcy, srcw, srch, alpha, mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_Blur( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - src: *mut root::reaper_functions::LICE_IBitmap, - dstx: ::std::os::raw::c_int, - dsty: ::std::os::raw::c_int, - srcx: ::std::os::raw::c_int, - srcy: ::std::os::raw::c_int, - srcw: ::std::os::raw::c_int, - srch: ::std::os::raw::c_int, - ) { - match self.pointers.LICE_Blur { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_Blur) - ), - Some(f) => f(dest, src, dstx, dsty, srcx, srcy, srcw, srch), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_BorderedRect( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - bgcolor: root::reaper_functions::LICE_pixel, - fgcolor: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.LICE_BorderedRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_BorderedRect) - ), - Some(f) => f(dest, x, y, w, h, bgcolor, fgcolor, alpha, mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_Circle( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - cx: f32, - cy: f32, - r: f32, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - ) { - match self.pointers.LICE_Circle { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_Circle) - ), - Some(f) => f(dest, cx, cy, r, color, alpha, mode, aa), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_Clear( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - color: root::reaper_functions::LICE_pixel, - ) { - match self.pointers.LICE_Clear { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_Clear) - ), - Some(f) => f(dest, color), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_ClearRect( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - mask: root::reaper_functions::LICE_pixel, - orbits: root::reaper_functions::LICE_pixel, - ) { - match self.pointers.LICE_ClearRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_ClearRect) - ), - Some(f) => f(dest, x, y, w, h, mask, orbits), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_ClipLine( - &self, - pX1Out: *mut ::std::os::raw::c_int, - pY1Out: *mut ::std::os::raw::c_int, - pX2Out: *mut ::std::os::raw::c_int, - pY2Out: *mut ::std::os::raw::c_int, - xLo: ::std::os::raw::c_int, - yLo: ::std::os::raw::c_int, - xHi: ::std::os::raw::c_int, - yHi: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.LICE_ClipLine { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_ClipLine) - ), - Some(f) => f(pX1Out, pY1Out, pX2Out, pY2Out, xLo, yLo, xHi, yHi), - } - } - pub fn LICE_CombinePixels( - &self, - dest: root::reaper_functions::LICE_pixel, - src: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ) -> root::reaper_functions::LICE_pixel { - match self.pointers.LICE_CombinePixels { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_CombinePixels) - ), - Some(f) => f(dest, src, alpha, mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_Copy( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - src: *mut root::reaper_functions::LICE_IBitmap, - ) { - match self.pointers.LICE_Copy { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_Copy) - ), - Some(f) => f(dest, src), - } - } - pub fn LICE_CreateBitmap( - &self, - mode: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - ) -> *mut root::reaper_functions::LICE_IBitmap { - match self.pointers.LICE_CreateBitmap { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_CreateBitmap) - ), - Some(f) => f(mode, w, h), - } - } - pub fn LICE_CreateFont(&self) -> *mut root::reaper_functions::LICE_IFont { - match self.pointers.LICE_CreateFont { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_CreateFont) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_DrawCBezier( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - xstart: f64, - ystart: f64, - xctl1: f64, - yctl1: f64, - xctl2: f64, - yctl2: f64, - xend: f64, - yend: f64, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - tol: f64, - ) { - match self.pointers.LICE_DrawCBezier { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_DrawCBezier) - ), - Some(f) => f( - dest, xstart, ystart, xctl1, yctl1, xctl2, yctl2, xend, yend, color, alpha, mode, - aa, tol, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_DrawChar( - &self, - bm: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - c: ::std::os::raw::c_char, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.LICE_DrawChar { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_DrawChar) - ), - Some(f) => f(bm, x, y, c, color, alpha, mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_DrawGlyph( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alphas: *mut root::reaper_functions::LICE_pixel_chan, - glyph_w: ::std::os::raw::c_int, - glyph_h: ::std::os::raw::c_int, - alpha: f32, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.LICE_DrawGlyph { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_DrawGlyph) - ), - Some(f) => f(dest, x, y, color, alphas, glyph_w, glyph_h, alpha, mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_DrawRect( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.LICE_DrawRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_DrawRect) - ), - Some(f) => f(dest, x, y, w, h, color, alpha, mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_DrawText( - &self, - bm: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - string: *const ::std::os::raw::c_char, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.LICE_DrawText { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_DrawText) - ), - Some(f) => f(bm, x, y, string, color, alpha, mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_FillCBezier( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - xstart: f64, - ystart: f64, - xctl1: f64, - yctl1: f64, - xctl2: f64, - yctl2: f64, - xend: f64, - yend: f64, - yfill: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - tol: f64, - ) { - match self.pointers.LICE_FillCBezier { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_FillCBezier) - ), - Some(f) => f( - dest, xstart, ystart, xctl1, yctl1, xctl2, yctl2, xend, yend, yfill, color, alpha, - mode, aa, tol, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_FillCircle( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - cx: f32, - cy: f32, - r: f32, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - ) { - match self.pointers.LICE_FillCircle { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_FillCircle) - ), - Some(f) => f(dest, cx, cy, r, color, alpha, mode, aa), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_FillConvexPolygon( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - x: *mut ::std::os::raw::c_int, - y: *mut ::std::os::raw::c_int, - npoints: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.LICE_FillConvexPolygon { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_FillConvexPolygon) - ), - Some(f) => f(dest, x, y, npoints, color, alpha, mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_FillRect( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.LICE_FillRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_FillRect) - ), - Some(f) => f(dest, x, y, w, h, color, alpha, mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_FillTrapezoid( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - x1a: ::std::os::raw::c_int, - x1b: ::std::os::raw::c_int, - y1: ::std::os::raw::c_int, - x2a: ::std::os::raw::c_int, - x2b: ::std::os::raw::c_int, - y2: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.LICE_FillTrapezoid { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_FillTrapezoid) - ), - Some(f) => f(dest, x1a, x1b, y1, x2a, x2b, y2, color, alpha, mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_FillTriangle( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - x1: ::std::os::raw::c_int, - y1: ::std::os::raw::c_int, - x2: ::std::os::raw::c_int, - y2: ::std::os::raw::c_int, - x3: ::std::os::raw::c_int, - y3: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.LICE_FillTriangle { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_FillTriangle) - ), - Some(f) => f(dest, x1, y1, x2, y2, x3, y3, color, alpha, mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_GetPixel( - &self, - bm: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - ) -> root::reaper_functions::LICE_pixel { - match self.pointers.LICE_GetPixel { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_GetPixel) - ), - Some(f) => f(bm, x, y), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_GradRect( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - dstx: ::std::os::raw::c_int, - dsty: ::std::os::raw::c_int, - dstw: ::std::os::raw::c_int, - dsth: ::std::os::raw::c_int, - ir: f32, - ig: f32, - ib: f32, - ia: f32, - drdx: f32, - dgdx: f32, - dbdx: f32, - dadx: f32, - drdy: f32, - dgdy: f32, - dbdy: f32, - dady: f32, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.LICE_GradRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_GradRect) - ), - Some(f) => f( - dest, dstx, dsty, dstw, dsth, ir, ig, ib, ia, drdx, dgdx, dbdx, dadx, drdy, dgdy, - dbdy, dady, mode, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_Line( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - x1: f32, - y1: f32, - x2: f32, - y2: f32, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - ) { - match self.pointers.LICE_Line { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_Line) - ), - Some(f) => f(dest, x1, y1, x2, y2, color, alpha, mode, aa), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_LineInt( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - x1: ::std::os::raw::c_int, - y1: ::std::os::raw::c_int, - x2: ::std::os::raw::c_int, - y2: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - ) { - match self.pointers.LICE_LineInt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_LineInt) - ), - Some(f) => f(dest, x1, y1, x2, y2, color, alpha, mode, aa), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_LoadPNG( - &self, - filename: *const ::std::os::raw::c_char, - bmp: *mut root::reaper_functions::LICE_IBitmap, - ) -> *mut root::reaper_functions::LICE_IBitmap { - match self.pointers.LICE_LoadPNG { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_LoadPNG) - ), - Some(f) => f(filename, bmp), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_LoadPNGFromResource( - &self, - hInst: root::HINSTANCE, - resid: *const ::std::os::raw::c_char, - bmp: *mut root::reaper_functions::LICE_IBitmap, - ) -> *mut root::reaper_functions::LICE_IBitmap { - match self.pointers.LICE_LoadPNGFromResource { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_LoadPNGFromResource) - ), - Some(f) => f(hInst, resid, bmp), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_MeasureText( - &self, - string: *const ::std::os::raw::c_char, - w: *mut ::std::os::raw::c_int, - h: *mut ::std::os::raw::c_int, - ) { - match self.pointers.LICE_MeasureText { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_MeasureText) - ), - Some(f) => f(string, w, h), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_MultiplyAddRect( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - rsc: f32, - gsc: f32, - bsc: f32, - asc: f32, - radd: f32, - gadd: f32, - badd: f32, - aadd: f32, - ) { - match self.pointers.LICE_MultiplyAddRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_MultiplyAddRect) - ), - Some(f) => f(dest, x, y, w, h, rsc, gsc, bsc, asc, radd, gadd, badd, aadd), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_PutPixel( - &self, - bm: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.LICE_PutPixel { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_PutPixel) - ), - Some(f) => f(bm, x, y, color, alpha, mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_RotatedBlit( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - src: *mut root::reaper_functions::LICE_IBitmap, - dstx: ::std::os::raw::c_int, - dsty: ::std::os::raw::c_int, - dstw: ::std::os::raw::c_int, - dsth: ::std::os::raw::c_int, - srcx: f32, - srcy: f32, - srcw: f32, - srch: f32, - angle: f32, - cliptosourcerect: bool, - alpha: f32, - mode: ::std::os::raw::c_int, - rotxcent: f32, - rotycent: f32, - ) { - match self.pointers.LICE_RotatedBlit { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_RotatedBlit) - ), - Some(f) => f( - dest, - src, - dstx, - dsty, - dstw, - dsth, - srcx, - srcy, - srcw, - srch, - angle, - cliptosourcerect, - alpha, - mode, - rotxcent, - rotycent, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_RoundRect( - &self, - drawbm: *mut root::reaper_functions::LICE_IBitmap, - xpos: f32, - ypos: f32, - w: f32, - h: f32, - cornerradius: ::std::os::raw::c_int, - col: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - ) { - match self.pointers.LICE_RoundRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_RoundRect) - ), - Some(f) => f(drawbm, xpos, ypos, w, h, cornerradius, col, alpha, mode, aa), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_ScaledBlit( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - src: *mut root::reaper_functions::LICE_IBitmap, - dstx: ::std::os::raw::c_int, - dsty: ::std::os::raw::c_int, - dstw: ::std::os::raw::c_int, - dsth: ::std::os::raw::c_int, - srcx: f32, - srcy: f32, - srcw: f32, - srch: f32, - alpha: f32, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.LICE_ScaledBlit { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_ScaledBlit) - ), - Some(f) => f( - dest, src, dstx, dsty, dstw, dsth, srcx, srcy, srcw, srch, alpha, mode, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_SimpleFill( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - newcolor: root::reaper_functions::LICE_pixel, - comparemask: root::reaper_functions::LICE_pixel, - keepmask: root::reaper_functions::LICE_pixel, - ) { - match self.pointers.LICE_SimpleFill { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_SimpleFill) - ), - Some(f) => f(dest, x, y, newcolor, comparemask, keepmask), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LICE_ThickFLine( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - x1: f64, - y1: f64, - x2: f64, - y2: f64, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - wid: ::std::os::raw::c_int, - ) { - match self.pointers.LICE_ThickFLine { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LICE_ThickFLine) - ), - Some(f) => f(dest, x1, y1, x2, y2, color, alpha, mode, wid), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LocalizeString( - &self, - src_string: *const ::std::os::raw::c_char, - section: *const ::std::os::raw::c_char, - flagsOptional: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char { - match self.pointers.LocalizeString { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LocalizeString) - ), - Some(f) => f(src_string, section, flagsOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Loop_OnArrow( - &self, - project: *mut root::ReaProject, - direction: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.Loop_OnArrow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Loop_OnArrow) - ), - Some(f) => f(project, direction), - } - } - pub fn Main_OnCommand(&self, command: ::std::os::raw::c_int, flag: ::std::os::raw::c_int) { - match self.pointers.Main_OnCommand { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Main_OnCommand) - ), - Some(f) => f(command, flag), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Main_OnCommandEx( - &self, - command: ::std::os::raw::c_int, - flag: ::std::os::raw::c_int, - proj: *mut root::ReaProject, - ) { - match self.pointers.Main_OnCommandEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Main_OnCommandEx) - ), - Some(f) => f(command, flag, proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Main_openProject(&self, name: *const ::std::os::raw::c_char) { - match self.pointers.Main_openProject { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Main_openProject) - ), - Some(f) => f(name), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Main_SaveProject( - &self, - proj: *mut root::ReaProject, - forceSaveAsInOptional: bool, - ) { - match self.pointers.Main_SaveProject { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Main_SaveProject) - ), - Some(f) => f(proj, forceSaveAsInOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Main_SaveProjectEx( - &self, - proj: *mut root::ReaProject, - filename: *const ::std::os::raw::c_char, - options: ::std::os::raw::c_int, - ) { - match self.pointers.Main_SaveProjectEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Main_SaveProjectEx) - ), - Some(f) => f(proj, filename, options), - } - } - pub fn Main_UpdateLoopInfo(&self, ignoremask: ::std::os::raw::c_int) { - match self.pointers.Main_UpdateLoopInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Main_UpdateLoopInfo) - ), - Some(f) => f(ignoremask), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MarkProjectDirty(&self, proj: *mut root::ReaProject) { - match self.pointers.MarkProjectDirty { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MarkProjectDirty) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MarkTrackItemsDirty( - &self, - track: *mut root::MediaTrack, - item: *mut root::MediaItem, - ) { - match self.pointers.MarkTrackItemsDirty { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MarkTrackItemsDirty) - ), - Some(f) => f(track, item), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Master_GetPlayRate(&self, project: *mut root::ReaProject) -> f64 { - match self.pointers.Master_GetPlayRate { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Master_GetPlayRate) - ), - Some(f) => f(project), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Master_GetPlayRateAtTime(&self, time_s: f64, proj: *mut root::ReaProject) -> f64 { - match self.pointers.Master_GetPlayRateAtTime { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Master_GetPlayRateAtTime) - ), - Some(f) => f(time_s, proj), - } - } - pub fn Master_GetTempo(&self) -> f64 { - match self.pointers.Master_GetTempo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Master_GetTempo) - ), - Some(f) => f(), - } - } - pub fn Master_NormalizePlayRate(&self, playrate: f64, isnormalized: bool) -> f64 { - match self.pointers.Master_NormalizePlayRate { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Master_NormalizePlayRate) - ), - Some(f) => f(playrate, isnormalized), - } - } - pub fn Master_NormalizeTempo(&self, bpm: f64, isnormalized: bool) -> f64 { - match self.pointers.Master_NormalizeTempo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Master_NormalizeTempo) - ), - Some(f) => f(bpm, isnormalized), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MB( - &self, - msg: *const ::std::os::raw::c_char, - title: *const ::std::os::raw::c_char, - type_: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.MB { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MB) - ), - Some(f) => f(msg, title, type_), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MediaItemDescendsFromTrack( - &self, - item: *mut root::MediaItem, - track: *mut root::MediaTrack, - ) -> ::std::os::raw::c_int { - match self.pointers.MediaItemDescendsFromTrack { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MediaItemDescendsFromTrack) - ), - Some(f) => f(item, track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Menu_GetHash( - &self, - menuname: *const ::std::os::raw::c_char, - flag: ::std::os::raw::c_int, - hashOut: *mut ::std::os::raw::c_char, - hashOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.Menu_GetHash { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Menu_GetHash) - ), - Some(f) => f(menuname, flag, hashOut, hashOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_CountEvts( - &self, - take: *mut root::MediaItem_Take, - notecntOut: *mut ::std::os::raw::c_int, - ccevtcntOut: *mut ::std::os::raw::c_int, - textsyxevtcntOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.MIDI_CountEvts { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_CountEvts) - ), - Some(f) => f(take, notecntOut, ccevtcntOut, textsyxevtcntOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_DeleteCC( - &self, - take: *mut root::MediaItem_Take, - ccidx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_DeleteCC { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_DeleteCC) - ), - Some(f) => f(take, ccidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_DeleteEvt( - &self, - take: *mut root::MediaItem_Take, - evtidx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_DeleteEvt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_DeleteEvt) - ), - Some(f) => f(take, evtidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_DeleteNote( - &self, - take: *mut root::MediaItem_Take, - noteidx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_DeleteNote { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_DeleteNote) - ), - Some(f) => f(take, noteidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_DeleteTextSysexEvt( - &self, - take: *mut root::MediaItem_Take, - textsyxevtidx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_DeleteTextSysexEvt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_DeleteTextSysexEvt) - ), - Some(f) => f(take, textsyxevtidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_DisableSort(&self, take: *mut root::MediaItem_Take) { - match self.pointers.MIDI_DisableSort { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_DisableSort) - ), - Some(f) => f(take), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_EnumSelCC( - &self, - take: *mut root::MediaItem_Take, - ccidx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.MIDI_EnumSelCC { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_EnumSelCC) - ), - Some(f) => f(take, ccidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_EnumSelEvts( - &self, - take: *mut root::MediaItem_Take, - evtidx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.MIDI_EnumSelEvts { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_EnumSelEvts) - ), - Some(f) => f(take, evtidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_EnumSelNotes( - &self, - take: *mut root::MediaItem_Take, - noteidx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.MIDI_EnumSelNotes { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_EnumSelNotes) - ), - Some(f) => f(take, noteidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_EnumSelTextSysexEvts( - &self, - take: *mut root::MediaItem_Take, - textsyxidx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.MIDI_EnumSelTextSysexEvts { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_EnumSelTextSysexEvts) - ), - Some(f) => f(take, textsyxidx), - } - } - pub fn MIDI_eventlist_Create(&self) -> *mut root::MIDI_eventlist { - match self.pointers.MIDI_eventlist_Create { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_eventlist_Create) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_eventlist_Destroy(&self, evtlist: *mut root::MIDI_eventlist) { - match self.pointers.MIDI_eventlist_Destroy { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_eventlist_Destroy) - ), - Some(f) => f(evtlist), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetAllEvts( - &self, - take: *mut root::MediaItem_Take, - bufOutNeedBig: *mut ::std::os::raw::c_char, - bufOutNeedBig_sz: *mut ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_GetAllEvts { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetAllEvts) - ), - Some(f) => f(take, bufOutNeedBig, bufOutNeedBig_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetCC( - &self, - take: *mut root::MediaItem_Take, - ccidx: ::std::os::raw::c_int, - selectedOut: *mut bool, - mutedOut: *mut bool, - ppqposOut: *mut f64, - chanmsgOut: *mut ::std::os::raw::c_int, - chanOut: *mut ::std::os::raw::c_int, - msg2Out: *mut ::std::os::raw::c_int, - msg3Out: *mut ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_GetCC { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetCC) - ), - Some(f) => f( - take, - ccidx, - selectedOut, - mutedOut, - ppqposOut, - chanmsgOut, - chanOut, - msg2Out, - msg3Out, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetCCShape( - &self, - take: *mut root::MediaItem_Take, - ccidx: ::std::os::raw::c_int, - shapeOut: *mut ::std::os::raw::c_int, - beztensionOut: *mut f64, - ) -> bool { - match self.pointers.MIDI_GetCCShape { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetCCShape) - ), - Some(f) => f(take, ccidx, shapeOut, beztensionOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetEvt( - &self, - take: *mut root::MediaItem_Take, - evtidx: ::std::os::raw::c_int, - selectedOut: *mut bool, - mutedOut: *mut bool, - ppqposOut: *mut f64, - msgOut: *mut ::std::os::raw::c_char, - msgOut_sz: *mut ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_GetEvt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetEvt) - ), - Some(f) => f( - take, - evtidx, - selectedOut, - mutedOut, - ppqposOut, - msgOut, - msgOut_sz, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetGrid( - &self, - take: *mut root::MediaItem_Take, - swingOutOptional: *mut f64, - noteLenOutOptional: *mut f64, - ) -> f64 { - match self.pointers.MIDI_GetGrid { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetGrid) - ), - Some(f) => f(take, swingOutOptional, noteLenOutOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetHash( - &self, - take: *mut root::MediaItem_Take, - notesonly: bool, - hashOut: *mut ::std::os::raw::c_char, - hashOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_GetHash { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetHash) - ), - Some(f) => f(take, notesonly, hashOut, hashOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetNote( - &self, - take: *mut root::MediaItem_Take, - noteidx: ::std::os::raw::c_int, - selectedOut: *mut bool, - mutedOut: *mut bool, - startppqposOut: *mut f64, - endppqposOut: *mut f64, - chanOut: *mut ::std::os::raw::c_int, - pitchOut: *mut ::std::os::raw::c_int, - velOut: *mut ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_GetNote { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetNote) - ), - Some(f) => f( - take, - noteidx, - selectedOut, - mutedOut, - startppqposOut, - endppqposOut, - chanOut, - pitchOut, - velOut, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetPPQPos_EndOfMeasure( - &self, - take: *mut root::MediaItem_Take, - ppqpos: f64, - ) -> f64 { - match self.pointers.MIDI_GetPPQPos_EndOfMeasure { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetPPQPos_EndOfMeasure) - ), - Some(f) => f(take, ppqpos), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetPPQPos_StartOfMeasure( - &self, - take: *mut root::MediaItem_Take, - ppqpos: f64, - ) -> f64 { - match self.pointers.MIDI_GetPPQPos_StartOfMeasure { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetPPQPos_StartOfMeasure) - ), - Some(f) => f(take, ppqpos), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetPPQPosFromProjQN( - &self, - take: *mut root::MediaItem_Take, - projqn: f64, - ) -> f64 { - match self.pointers.MIDI_GetPPQPosFromProjQN { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetPPQPosFromProjQN) - ), - Some(f) => f(take, projqn), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetPPQPosFromProjTime( - &self, - take: *mut root::MediaItem_Take, - projtime: f64, - ) -> f64 { - match self.pointers.MIDI_GetPPQPosFromProjTime { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetPPQPosFromProjTime) - ), - Some(f) => f(take, projtime), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetProjQNFromPPQPos( - &self, - take: *mut root::MediaItem_Take, - ppqpos: f64, - ) -> f64 { - match self.pointers.MIDI_GetProjQNFromPPQPos { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetProjQNFromPPQPos) - ), - Some(f) => f(take, ppqpos), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetProjTimeFromPPQPos( - &self, - take: *mut root::MediaItem_Take, - ppqpos: f64, - ) -> f64 { - match self.pointers.MIDI_GetProjTimeFromPPQPos { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetProjTimeFromPPQPos) - ), - Some(f) => f(take, ppqpos), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetRecentInputEvent( - &self, - idx: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: *mut ::std::os::raw::c_int, - tsOut: *mut ::std::os::raw::c_int, - devIdxOut: *mut ::std::os::raw::c_int, - projPosOut: *mut f64, - projLoopCntOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.MIDI_GetRecentInputEvent { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetRecentInputEvent) - ), - Some(f) => f( - idx, - bufOut, - bufOut_sz, - tsOut, - devIdxOut, - projPosOut, - projLoopCntOut, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetScale( - &self, - take: *mut root::MediaItem_Take, - rootOut: *mut ::std::os::raw::c_int, - scaleOut: *mut ::std::os::raw::c_int, - nameOut: *mut ::std::os::raw::c_char, - nameOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_GetScale { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetScale) - ), - Some(f) => f(take, rootOut, scaleOut, nameOut, nameOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetTextSysexEvt( - &self, - take: *mut root::MediaItem_Take, - textsyxevtidx: ::std::os::raw::c_int, - selectedOutOptional: *mut bool, - mutedOutOptional: *mut bool, - ppqposOutOptional: *mut f64, - typeOutOptional: *mut ::std::os::raw::c_int, - msgOptional: *mut ::std::os::raw::c_char, - msgOptional_sz: *mut ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_GetTextSysexEvt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetTextSysexEvt) - ), - Some(f) => f( - take, - textsyxevtidx, - selectedOutOptional, - mutedOutOptional, - ppqposOutOptional, - typeOutOptional, - msgOptional, - msgOptional_sz, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_GetTrackHash( - &self, - track: *mut root::MediaTrack, - notesonly: bool, - hashOut: *mut ::std::os::raw::c_char, - hashOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_GetTrackHash { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_GetTrackHash) - ), - Some(f) => f(track, notesonly, hashOut, hashOut_sz), - } - } - pub fn midi_init( - &self, - force_reinit_input: ::std::os::raw::c_int, - force_reinit_output: ::std::os::raw::c_int, - ) { - match self.pointers.midi_init { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(midi_init) - ), - Some(f) => f(force_reinit_input, force_reinit_output), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_InsertCC( - &self, - take: *mut root::MediaItem_Take, - selected: bool, - muted: bool, - ppqpos: f64, - chanmsg: ::std::os::raw::c_int, - chan: ::std::os::raw::c_int, - msg2: ::std::os::raw::c_int, - msg3: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_InsertCC { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_InsertCC) - ), - Some(f) => f(take, selected, muted, ppqpos, chanmsg, chan, msg2, msg3), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_InsertEvt( - &self, - take: *mut root::MediaItem_Take, - selected: bool, - muted: bool, - ppqpos: f64, - bytestr: *const ::std::os::raw::c_char, - bytestr_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_InsertEvt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_InsertEvt) - ), - Some(f) => f(take, selected, muted, ppqpos, bytestr, bytestr_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_InsertNote( - &self, - take: *mut root::MediaItem_Take, - selected: bool, - muted: bool, - startppqpos: f64, - endppqpos: f64, - chan: ::std::os::raw::c_int, - pitch: ::std::os::raw::c_int, - vel: ::std::os::raw::c_int, - noSortInOptional: *const bool, - ) -> bool { - match self.pointers.MIDI_InsertNote { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_InsertNote) - ), - Some(f) => f( - take, - selected, - muted, - startppqpos, - endppqpos, - chan, - pitch, - vel, - noSortInOptional, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_InsertTextSysexEvt( - &self, - take: *mut root::MediaItem_Take, - selected: bool, - muted: bool, - ppqpos: f64, - type_: ::std::os::raw::c_int, - bytestr: *const ::std::os::raw::c_char, - bytestr_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_InsertTextSysexEvt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_InsertTextSysexEvt) - ), - Some(f) => f(take, selected, muted, ppqpos, type_, bytestr, bytestr_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_RefreshEditors(&self, tk: *mut root::MediaItem_Take) { - match self.pointers.MIDI_RefreshEditors { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_RefreshEditors) - ), - Some(f) => f(tk), - } - } - pub fn midi_reinit(&self) { - match self.pointers.midi_reinit { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(midi_reinit) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_SelectAll(&self, take: *mut root::MediaItem_Take, select: bool) { - match self.pointers.MIDI_SelectAll { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_SelectAll) - ), - Some(f) => f(take, select), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_SetAllEvts( - &self, - take: *mut root::MediaItem_Take, - buf: *const ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDI_SetAllEvts { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_SetAllEvts) - ), - Some(f) => f(take, buf, buf_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_SetCC( - &self, - take: *mut root::MediaItem_Take, - ccidx: ::std::os::raw::c_int, - selectedInOptional: *const bool, - mutedInOptional: *const bool, - ppqposInOptional: *const f64, - chanmsgInOptional: *const ::std::os::raw::c_int, - chanInOptional: *const ::std::os::raw::c_int, - msg2InOptional: *const ::std::os::raw::c_int, - msg3InOptional: *const ::std::os::raw::c_int, - noSortInOptional: *const bool, - ) -> bool { - match self.pointers.MIDI_SetCC { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_SetCC) - ), - Some(f) => f( - take, - ccidx, - selectedInOptional, - mutedInOptional, - ppqposInOptional, - chanmsgInOptional, - chanInOptional, - msg2InOptional, - msg3InOptional, - noSortInOptional, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_SetCCShape( - &self, - take: *mut root::MediaItem_Take, - ccidx: ::std::os::raw::c_int, - shape: ::std::os::raw::c_int, - beztension: f64, - noSortInOptional: *const bool, - ) -> bool { - match self.pointers.MIDI_SetCCShape { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_SetCCShape) - ), - Some(f) => f(take, ccidx, shape, beztension, noSortInOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_SetEvt( - &self, - take: *mut root::MediaItem_Take, - evtidx: ::std::os::raw::c_int, - selectedInOptional: *const bool, - mutedInOptional: *const bool, - ppqposInOptional: *const f64, - msgOptional: *const ::std::os::raw::c_char, - msgOptional_sz: ::std::os::raw::c_int, - noSortInOptional: *const bool, - ) -> bool { - match self.pointers.MIDI_SetEvt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_SetEvt) - ), - Some(f) => f( - take, - evtidx, - selectedInOptional, - mutedInOptional, - ppqposInOptional, - msgOptional, - msgOptional_sz, - noSortInOptional, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_SetItemExtents( - &self, - item: *mut root::MediaItem, - startQN: f64, - endQN: f64, - ) -> bool { - match self.pointers.MIDI_SetItemExtents { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_SetItemExtents) - ), - Some(f) => f(item, startQN, endQN), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_SetNote( - &self, - take: *mut root::MediaItem_Take, - noteidx: ::std::os::raw::c_int, - selectedInOptional: *const bool, - mutedInOptional: *const bool, - startppqposInOptional: *const f64, - endppqposInOptional: *const f64, - chanInOptional: *const ::std::os::raw::c_int, - pitchInOptional: *const ::std::os::raw::c_int, - velInOptional: *const ::std::os::raw::c_int, - noSortInOptional: *const bool, - ) -> bool { - match self.pointers.MIDI_SetNote { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_SetNote) - ), - Some(f) => f( - take, - noteidx, - selectedInOptional, - mutedInOptional, - startppqposInOptional, - endppqposInOptional, - chanInOptional, - pitchInOptional, - velInOptional, - noSortInOptional, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_SetTextSysexEvt( - &self, - take: *mut root::MediaItem_Take, - textsyxevtidx: ::std::os::raw::c_int, - selectedInOptional: *const bool, - mutedInOptional: *const bool, - ppqposInOptional: *const f64, - typeInOptional: *const ::std::os::raw::c_int, - msgOptional: *const ::std::os::raw::c_char, - msgOptional_sz: ::std::os::raw::c_int, - noSortInOptional: *const bool, - ) -> bool { - match self.pointers.MIDI_SetTextSysexEvt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_SetTextSysexEvt) - ), - Some(f) => f( - take, - textsyxevtidx, - selectedInOptional, - mutedInOptional, - ppqposInOptional, - typeInOptional, - msgOptional, - msgOptional_sz, - noSortInOptional, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDI_Sort(&self, take: *mut root::MediaItem_Take) { - match self.pointers.MIDI_Sort { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDI_Sort) - ), - Some(f) => f(take), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDIEditor_EnumTakes( - &self, - midieditor: root::HWND, - takeindex: ::std::os::raw::c_int, - editable_only: bool, - ) -> *mut root::MediaItem_Take { - match self.pointers.MIDIEditor_EnumTakes { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDIEditor_EnumTakes) - ), - Some(f) => f(midieditor, takeindex, editable_only), - } - } - pub fn MIDIEditor_GetActive(&self) -> root::HWND { - match self.pointers.MIDIEditor_GetActive { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDIEditor_GetActive) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDIEditor_GetMode(&self, midieditor: root::HWND) -> ::std::os::raw::c_int { - match self.pointers.MIDIEditor_GetMode { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDIEditor_GetMode) - ), - Some(f) => f(midieditor), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDIEditor_GetSetting_int( - &self, - midieditor: root::HWND, - setting_desc: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int { - match self.pointers.MIDIEditor_GetSetting_int { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDIEditor_GetSetting_int) - ), - Some(f) => f(midieditor, setting_desc), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDIEditor_GetSetting_str( - &self, - midieditor: root::HWND, - setting_desc: *const ::std::os::raw::c_char, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDIEditor_GetSetting_str { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDIEditor_GetSetting_str) - ), - Some(f) => f(midieditor, setting_desc, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDIEditor_GetTake(&self, midieditor: root::HWND) -> *mut root::MediaItem_Take { - match self.pointers.MIDIEditor_GetTake { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDIEditor_GetTake) - ), - Some(f) => f(midieditor), - } - } - pub fn MIDIEditor_LastFocused_OnCommand( - &self, - command_id: ::std::os::raw::c_int, - islistviewcommand: bool, - ) -> bool { - match self.pointers.MIDIEditor_LastFocused_OnCommand { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDIEditor_LastFocused_OnCommand) - ), - Some(f) => f(command_id, islistviewcommand), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDIEditor_OnCommand( - &self, - midieditor: root::HWND, - command_id: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDIEditor_OnCommand { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDIEditor_OnCommand) - ), - Some(f) => f(midieditor, command_id), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDIEditor_SetSetting_int( - &self, - midieditor: root::HWND, - setting_desc: *const ::std::os::raw::c_char, - setting: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.MIDIEditor_SetSetting_int { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDIEditor_SetSetting_int) - ), - Some(f) => f(midieditor, setting_desc, setting), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MIDIEditorFlagsForTrack( - &self, - track: *mut root::MediaTrack, - pitchwheelrangeInOut: *mut ::std::os::raw::c_int, - flagsInOut: *mut ::std::os::raw::c_int, - is_set: bool, - ) { - match self.pointers.MIDIEditorFlagsForTrack { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MIDIEditorFlagsForTrack) - ), - Some(f) => f(track, pitchwheelrangeInOut, flagsInOut, is_set), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn mkpanstr(&self, strNeed64: *mut ::std::os::raw::c_char, pan: f64) { - match self.pointers.mkpanstr { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(mkpanstr) - ), - Some(f) => f(strNeed64, pan), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn mkvolpanstr(&self, strNeed64: *mut ::std::os::raw::c_char, vol: f64, pan: f64) { - match self.pointers.mkvolpanstr { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(mkvolpanstr) - ), - Some(f) => f(strNeed64, vol, pan), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn mkvolstr(&self, strNeed64: *mut ::std::os::raw::c_char, vol: f64) { - match self.pointers.mkvolstr { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(mkvolstr) - ), - Some(f) => f(strNeed64, vol), - } - } - pub fn MoveEditCursor(&self, adjamt: f64, dosel: bool) { - match self.pointers.MoveEditCursor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MoveEditCursor) - ), - Some(f) => f(adjamt, dosel), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MoveMediaItemToTrack( - &self, - item: *mut root::MediaItem, - desttr: *mut root::MediaTrack, - ) -> bool { - match self.pointers.MoveMediaItemToTrack { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MoveMediaItemToTrack) - ), - Some(f) => f(item, desttr), - } - } - pub fn MuteAllTracks(&self, mute: bool) { - match self.pointers.MuteAllTracks { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MuteAllTracks) - ), - Some(f) => f(mute), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn my_getViewport( - &self, - r: *mut root::RECT, - sr: *const root::RECT, - wantWorkArea: bool, - ) { - match self.pointers.my_getViewport { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(my_getViewport) - ), - Some(f) => f(r, sr, wantWorkArea), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn NamedCommandLookup( - &self, - command_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int { - match self.pointers.NamedCommandLookup { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(NamedCommandLookup) - ), - Some(f) => f(command_name), - } - } - pub fn OnPauseButton(&self) { - match self.pointers.OnPauseButton { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(OnPauseButton) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn OnPauseButtonEx(&self, proj: *mut root::ReaProject) { - match self.pointers.OnPauseButtonEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(OnPauseButtonEx) - ), - Some(f) => f(proj), - } - } - pub fn OnPlayButton(&self) { - match self.pointers.OnPlayButton { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(OnPlayButton) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn OnPlayButtonEx(&self, proj: *mut root::ReaProject) { - match self.pointers.OnPlayButtonEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(OnPlayButtonEx) - ), - Some(f) => f(proj), - } - } - pub fn OnStopButton(&self) { - match self.pointers.OnStopButton { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(OnStopButton) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn OnStopButtonEx(&self, proj: *mut root::ReaProject) { - match self.pointers.OnStopButtonEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(OnStopButtonEx) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn OpenColorThemeFile(&self, fn_: *const ::std::os::raw::c_char) -> bool { - match self.pointers.OpenColorThemeFile { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(OpenColorThemeFile) - ), - Some(f) => f(fn_), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn OpenMediaExplorer( - &self, - mediafn: *const ::std::os::raw::c_char, - play: bool, - ) -> root::HWND { - match self.pointers.OpenMediaExplorer { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(OpenMediaExplorer) - ), - Some(f) => f(mediafn, play), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn OscLocalMessageToHost( - &self, - message: *const ::std::os::raw::c_char, - valueInOptional: *const f64, - ) { - match self.pointers.OscLocalMessageToHost { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(OscLocalMessageToHost) - ), - Some(f) => f(message, valueInOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn parse_timestr(&self, buf: *const ::std::os::raw::c_char) -> f64 { - match self.pointers.parse_timestr { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(parse_timestr) - ), - Some(f) => f(buf), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn parse_timestr_len( - &self, - buf: *const ::std::os::raw::c_char, - offset: f64, - modeoverride: ::std::os::raw::c_int, - ) -> f64 { - match self.pointers.parse_timestr_len { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(parse_timestr_len) - ), - Some(f) => f(buf, offset, modeoverride), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn parse_timestr_pos( - &self, - buf: *const ::std::os::raw::c_char, - modeoverride: ::std::os::raw::c_int, - ) -> f64 { - match self.pointers.parse_timestr_pos { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(parse_timestr_pos) - ), - Some(f) => f(buf, modeoverride), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn parsepanstr(&self, str: *const ::std::os::raw::c_char) -> f64 { - match self.pointers.parsepanstr { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(parsepanstr) - ), - Some(f) => f(str), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PCM_Sink_Create( - &self, - filename: *const ::std::os::raw::c_char, - cfg: *const ::std::os::raw::c_char, - cfg_sz: ::std::os::raw::c_int, - nch: ::std::os::raw::c_int, - srate: ::std::os::raw::c_int, - buildpeaks: bool, - ) -> *mut root::PCM_sink { - match self.pointers.PCM_Sink_Create { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PCM_Sink_Create) - ), - Some(f) => f(filename, cfg, cfg_sz, nch, srate, buildpeaks), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PCM_Sink_CreateEx( - &self, - proj: *mut root::ReaProject, - filename: *const ::std::os::raw::c_char, - cfg: *const ::std::os::raw::c_char, - cfg_sz: ::std::os::raw::c_int, - nch: ::std::os::raw::c_int, - srate: ::std::os::raw::c_int, - buildpeaks: bool, - ) -> *mut root::PCM_sink { - match self.pointers.PCM_Sink_CreateEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PCM_Sink_CreateEx) - ), - Some(f) => f(proj, filename, cfg, cfg_sz, nch, srate, buildpeaks), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PCM_Sink_CreateMIDIFile( - &self, - filename: *const ::std::os::raw::c_char, - cfg: *const ::std::os::raw::c_char, - cfg_sz: ::std::os::raw::c_int, - bpm: f64, - div: ::std::os::raw::c_int, - ) -> *mut root::PCM_sink { - match self.pointers.PCM_Sink_CreateMIDIFile { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PCM_Sink_CreateMIDIFile) - ), - Some(f) => f(filename, cfg, cfg_sz, bpm, div), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PCM_Sink_CreateMIDIFileEx( - &self, - proj: *mut root::ReaProject, - filename: *const ::std::os::raw::c_char, - cfg: *const ::std::os::raw::c_char, - cfg_sz: ::std::os::raw::c_int, - bpm: f64, - div: ::std::os::raw::c_int, - ) -> *mut root::PCM_sink { - match self.pointers.PCM_Sink_CreateMIDIFileEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PCM_Sink_CreateMIDIFileEx) - ), - Some(f) => f(proj, filename, cfg, cfg_sz, bpm, div), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PCM_Sink_Enum( - &self, - idx: ::std::os::raw::c_int, - descstrOut: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_uint { - match self.pointers.PCM_Sink_Enum { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PCM_Sink_Enum) - ), - Some(f) => f(idx, descstrOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PCM_Sink_GetExtension( - &self, - data: *const ::std::os::raw::c_char, - data_sz: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char { - match self.pointers.PCM_Sink_GetExtension { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PCM_Sink_GetExtension) - ), - Some(f) => f(data, data_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PCM_Sink_ShowConfig( - &self, - cfg: *const ::std::os::raw::c_char, - cfg_sz: ::std::os::raw::c_int, - hwndParent: root::HWND, - ) -> root::HWND { - match self.pointers.PCM_Sink_ShowConfig { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PCM_Sink_ShowConfig) - ), - Some(f) => f(cfg, cfg_sz, hwndParent), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PCM_Source_BuildPeaks( - &self, - src: *mut root::PCM_source, - mode: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.PCM_Source_BuildPeaks { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PCM_Source_BuildPeaks) - ), - Some(f) => f(src, mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PCM_Source_CreateFromFile( - &self, - filename: *const ::std::os::raw::c_char, - ) -> *mut root::PCM_source { - match self.pointers.PCM_Source_CreateFromFile { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PCM_Source_CreateFromFile) - ), - Some(f) => f(filename), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PCM_Source_CreateFromFileEx( - &self, - filename: *const ::std::os::raw::c_char, - forcenoMidiImp: bool, - ) -> *mut root::PCM_source { - match self.pointers.PCM_Source_CreateFromFileEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PCM_Source_CreateFromFileEx) - ), - Some(f) => f(filename, forcenoMidiImp), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PCM_Source_CreateFromSimple( - &self, - dec: *mut root::ISimpleMediaDecoder, - fn_: *const ::std::os::raw::c_char, - ) -> *mut root::PCM_source { - match self.pointers.PCM_Source_CreateFromSimple { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PCM_Source_CreateFromSimple) - ), - Some(f) => f(dec, fn_), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PCM_Source_CreateFromType( - &self, - sourcetype: *const ::std::os::raw::c_char, - ) -> *mut root::PCM_source { - match self.pointers.PCM_Source_CreateFromType { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PCM_Source_CreateFromType) - ), - Some(f) => f(sourcetype), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PCM_Source_Destroy(&self, src: *mut root::PCM_source) { - match self.pointers.PCM_Source_Destroy { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PCM_Source_Destroy) - ), - Some(f) => f(src), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PCM_Source_GetPeaks( - &self, - src: *mut root::PCM_source, - peakrate: f64, - starttime: f64, - numchannels: ::std::os::raw::c_int, - numsamplesperchannel: ::std::os::raw::c_int, - want_extra_type: ::std::os::raw::c_int, - buf: *mut f64, - ) -> ::std::os::raw::c_int { - match self.pointers.PCM_Source_GetPeaks { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PCM_Source_GetPeaks) - ), - Some(f) => f( - src, - peakrate, - starttime, - numchannels, - numsamplesperchannel, - want_extra_type, - buf, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PCM_Source_GetSectionInfo( - &self, - src: *mut root::PCM_source, - offsOut: *mut f64, - lenOut: *mut f64, - revOut: *mut bool, - ) -> bool { - match self.pointers.PCM_Source_GetSectionInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PCM_Source_GetSectionInfo) - ), - Some(f) => f(src, offsOut, lenOut, revOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PeakBuild_Create( - &self, - src: *mut root::PCM_source, - fn_: *const ::std::os::raw::c_char, - srate: ::std::os::raw::c_int, - nch: ::std::os::raw::c_int, - ) -> *mut root::REAPER_PeakBuild_Interface { - match self.pointers.PeakBuild_Create { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PeakBuild_Create) - ), - Some(f) => f(src, fn_, srate, nch), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PeakBuild_CreateEx( - &self, - src: *mut root::PCM_source, - fn_: *const ::std::os::raw::c_char, - srate: ::std::os::raw::c_int, - nch: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> *mut root::REAPER_PeakBuild_Interface { - match self.pointers.PeakBuild_CreateEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PeakBuild_CreateEx) - ), - Some(f) => f(src, fn_, srate, nch, flags), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PeakGet_Create( - &self, - fn_: *const ::std::os::raw::c_char, - srate: ::std::os::raw::c_int, - nch: ::std::os::raw::c_int, - ) -> *mut root::REAPER_PeakGet_Interface { - match self.pointers.PeakGet_Create { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PeakGet_Create) - ), - Some(f) => f(fn_, srate, nch), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PitchShiftSubModeMenu( - &self, - hwnd: root::HWND, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - mode: ::std::os::raw::c_int, - submode_sel: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.PitchShiftSubModeMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PitchShiftSubModeMenu) - ), - Some(f) => f(hwnd, x, y, mode, submode_sel), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PlayPreview( - &self, - preview: *mut root::preview_register_t, - ) -> ::std::os::raw::c_int { - match self.pointers.PlayPreview { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PlayPreview) - ), - Some(f) => f(preview), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PlayPreviewEx( - &self, - preview: *mut root::preview_register_t, - bufflags: ::std::os::raw::c_int, - measure_align: f64, - ) -> ::std::os::raw::c_int { - match self.pointers.PlayPreviewEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PlayPreviewEx) - ), - Some(f) => f(preview, bufflags, measure_align), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PlayTrackPreview( - &self, - preview: *mut root::preview_register_t, - ) -> ::std::os::raw::c_int { - match self.pointers.PlayTrackPreview { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PlayTrackPreview) - ), - Some(f) => f(preview), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PlayTrackPreview2( - &self, - proj: *mut root::ReaProject, - preview: *mut root::preview_register_t, - ) -> ::std::os::raw::c_int { - match self.pointers.PlayTrackPreview2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PlayTrackPreview2) - ), - Some(f) => f(proj, preview), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PlayTrackPreview2Ex( - &self, - proj: *mut root::ReaProject, - preview: *mut root::preview_register_t, - flags: ::std::os::raw::c_int, - measure_align: f64, - ) -> ::std::os::raw::c_int { - match self.pointers.PlayTrackPreview2Ex { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PlayTrackPreview2Ex) - ), - Some(f) => f(proj, preview, flags, measure_align), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn plugin_getapi( - &self, - name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.plugin_getapi { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(plugin_getapi) - ), - Some(f) => f(name), - } - } - pub fn plugin_getFilterList(&self) -> *const ::std::os::raw::c_char { - match self.pointers.plugin_getFilterList { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(plugin_getFilterList) - ), - Some(f) => f(), - } - } - pub fn plugin_getImportableProjectFilterList(&self) -> *const ::std::os::raw::c_char { - match self.pointers.plugin_getImportableProjectFilterList { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(plugin_getImportableProjectFilterList) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn plugin_register( - &self, - name: *const ::std::os::raw::c_char, - infostruct: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int { - match self.pointers.plugin_register { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(plugin_register) - ), - Some(f) => f(name, infostruct), - } - } - pub fn PluginWantsAlwaysRunFx(&self, amt: ::std::os::raw::c_int) { - match self.pointers.PluginWantsAlwaysRunFx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PluginWantsAlwaysRunFx) - ), - Some(f) => f(amt), - } - } - pub fn PreventUIRefresh(&self, prevent_count: ::std::os::raw::c_int) { - match self.pointers.PreventUIRefresh { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PreventUIRefresh) - ), - Some(f) => f(prevent_count), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn projectconfig_var_addr( - &self, - proj: *mut root::ReaProject, - idx: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.projectconfig_var_addr { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(projectconfig_var_addr) - ), - Some(f) => f(proj, idx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn projectconfig_var_getoffs( - &self, - name: *const ::std::os::raw::c_char, - szOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.projectconfig_var_getoffs { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(projectconfig_var_getoffs) - ), - Some(f) => f(name, szOut), - } - } - pub fn PromptForAction( - &self, - session_mode: ::std::os::raw::c_int, - init_id: ::std::os::raw::c_int, - section_id: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.PromptForAction { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PromptForAction) - ), - Some(f) => f(session_mode, init_id, section_id), - } - } - pub fn realloc_cmd_clear(&self, tok: ::std::os::raw::c_int) { - match self.pointers.realloc_cmd_clear { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(realloc_cmd_clear) - ), - Some(f) => f(tok), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn realloc_cmd_ptr( - &self, - ptr: *mut *mut ::std::os::raw::c_char, - ptr_size: *mut ::std::os::raw::c_int, - new_size: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.realloc_cmd_ptr { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(realloc_cmd_ptr) - ), - Some(f) => f(ptr, ptr_size, new_size), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn realloc_cmd_register_buf( - &self, - ptr: *mut *mut ::std::os::raw::c_char, - ptr_size: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.realloc_cmd_register_buf { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(realloc_cmd_register_buf) - ), - Some(f) => f(ptr, ptr_size), - } - } - pub fn ReaperGetPitchShiftAPI( - &self, - version: ::std::os::raw::c_int, - ) -> *mut root::IReaperPitchShift { - match self.pointers.ReaperGetPitchShiftAPI { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ReaperGetPitchShiftAPI) - ), - Some(f) => f(version), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ReaScriptError(&self, errmsg: *const ::std::os::raw::c_char) { - match self.pointers.ReaScriptError { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ReaScriptError) - ), - Some(f) => f(errmsg), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn RecursiveCreateDirectory( - &self, - path: *const ::std::os::raw::c_char, - ignored: usize, - ) -> ::std::os::raw::c_int { - match self.pointers.RecursiveCreateDirectory { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(RecursiveCreateDirectory) - ), - Some(f) => f(path, ignored), - } - } - pub fn reduce_open_files(&self, flags: ::std::os::raw::c_int) -> ::std::os::raw::c_int { - match self.pointers.reduce_open_files { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(reduce_open_files) - ), - Some(f) => f(flags), - } - } - pub fn RefreshToolbar(&self, command_id: ::std::os::raw::c_int) { - match self.pointers.RefreshToolbar { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(RefreshToolbar) - ), - Some(f) => f(command_id), - } - } - pub fn RefreshToolbar2( - &self, - section_id: ::std::os::raw::c_int, - command_id: ::std::os::raw::c_int, - ) { - match self.pointers.RefreshToolbar2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(RefreshToolbar2) - ), - Some(f) => f(section_id, command_id), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn relative_fn( - &self, - in_: *const ::std::os::raw::c_char, - out: *mut ::std::os::raw::c_char, - out_sz: ::std::os::raw::c_int, - ) { - match self.pointers.relative_fn { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(relative_fn) - ), - Some(f) => f(in_, out, out_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn RemoveTrackSend( - &self, - tr: *mut root::MediaTrack, - category: ::std::os::raw::c_int, - sendidx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.RemoveTrackSend { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(RemoveTrackSend) - ), - Some(f) => f(tr, category, sendidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn RenderFileSection( - &self, - source_filename: *const ::std::os::raw::c_char, - target_filename: *const ::std::os::raw::c_char, - start_percent: f64, - end_percent: f64, - playrate: f64, - ) -> bool { - match self.pointers.RenderFileSection { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(RenderFileSection) - ), - Some(f) => f( - source_filename, - target_filename, - start_percent, - end_percent, - playrate, - ), - } - } - pub fn ReorderSelectedTracks( - &self, - beforeTrackIdx: ::std::os::raw::c_int, - makePrevFolder: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.ReorderSelectedTracks { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ReorderSelectedTracks) - ), - Some(f) => f(beforeTrackIdx, makePrevFolder), - } - } - pub fn Resample_EnumModes(&self, mode: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char { - match self.pointers.Resample_EnumModes { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Resample_EnumModes) - ), - Some(f) => f(mode), - } - } - pub fn Resampler_Create(&self) -> *mut root::REAPER_Resample_Interface { - match self.pointers.Resampler_Create { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Resampler_Create) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn resolve_fn( - &self, - in_: *const ::std::os::raw::c_char, - out: *mut ::std::os::raw::c_char, - out_sz: ::std::os::raw::c_int, - ) { - match self.pointers.resolve_fn { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(resolve_fn) - ), - Some(f) => f(in_, out, out_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn resolve_fn2( - &self, - in_: *const ::std::os::raw::c_char, - out: *mut ::std::os::raw::c_char, - out_sz: ::std::os::raw::c_int, - checkSubDirOptional: *const ::std::os::raw::c_char, - ) { - match self.pointers.resolve_fn2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(resolve_fn2) - ), - Some(f) => f(in_, out, out_sz, checkSubDirOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ResolveRenderPattern( - &self, - project: *mut root::ReaProject, - path: *const ::std::os::raw::c_char, - pattern: *const ::std::os::raw::c_char, - targets: *mut ::std::os::raw::c_char, - targets_sz: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.ResolveRenderPattern { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ResolveRenderPattern) - ), - Some(f) => f(project, path, pattern, targets, targets_sz), - } - } - pub fn ReverseNamedCommandLookup( - &self, - command_id: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char { - match self.pointers.ReverseNamedCommandLookup { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ReverseNamedCommandLookup) - ), - Some(f) => f(command_id), - } - } - pub fn ScaleFromEnvelopeMode(&self, scaling_mode: ::std::os::raw::c_int, val: f64) -> f64 { - match self.pointers.ScaleFromEnvelopeMode { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ScaleFromEnvelopeMode) - ), - Some(f) => f(scaling_mode, val), - } - } - pub fn ScaleToEnvelopeMode(&self, scaling_mode: ::std::os::raw::c_int, val: f64) -> f64 { - match self.pointers.ScaleToEnvelopeMode { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ScaleToEnvelopeMode) - ), - Some(f) => f(scaling_mode, val), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn screenset_register( - &self, - id: *mut ::std::os::raw::c_char, - callbackFunc: *mut ::std::os::raw::c_void, - param: *mut ::std::os::raw::c_void, - ) { - match self.pointers.screenset_register { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(screenset_register) - ), - Some(f) => f(id, callbackFunc, param), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn screenset_registerNew( - &self, - id: *mut ::std::os::raw::c_char, - callbackFunc: root::screensetNewCallbackFunc, - param: *mut ::std::os::raw::c_void, - ) { - match self.pointers.screenset_registerNew { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(screenset_registerNew) - ), - Some(f) => f(id, callbackFunc, param), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn screenset_unregister(&self, id: *mut ::std::os::raw::c_char) { - match self.pointers.screenset_unregister { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(screenset_unregister) - ), - Some(f) => f(id), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn screenset_unregisterByParam(&self, param: *mut ::std::os::raw::c_void) { - match self.pointers.screenset_unregisterByParam { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(screenset_unregisterByParam) - ), - Some(f) => f(param), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn screenset_updateLastFocus(&self, prevWin: root::HWND) { - match self.pointers.screenset_updateLastFocus { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(screenset_updateLastFocus) - ), - Some(f) => f(prevWin), - } - } - pub fn SectionFromUniqueID( - &self, - uniqueID: ::std::os::raw::c_int, - ) -> *mut root::KbdSectionInfo { - match self.pointers.SectionFromUniqueID { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SectionFromUniqueID) - ), - Some(f) => f(uniqueID), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SelectAllMediaItems(&self, proj: *mut root::ReaProject, selected: bool) { - match self.pointers.SelectAllMediaItems { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SelectAllMediaItems) - ), - Some(f) => f(proj, selected), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SelectProjectInstance(&self, proj: *mut root::ReaProject) { - match self.pointers.SelectProjectInstance { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SelectProjectInstance) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SendLocalOscMessage( - &self, - local_osc_handler: *mut ::std::os::raw::c_void, - msg: *const ::std::os::raw::c_char, - msglen: ::std::os::raw::c_int, - ) { - match self.pointers.SendLocalOscMessage { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SendLocalOscMessage) - ), - Some(f) => f(local_osc_handler, msg, msglen), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SendMIDIMessageToHardware( - &self, - output: ::std::os::raw::c_int, - msg: *const ::std::os::raw::c_char, - msg_sz: ::std::os::raw::c_int, - ) { - match self.pointers.SendMIDIMessageToHardware { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SendMIDIMessageToHardware) - ), - Some(f) => f(output, msg, msg_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetActiveTake(&self, take: *mut root::MediaItem_Take) { - match self.pointers.SetActiveTake { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetActiveTake) - ), - Some(f) => f(take), - } - } - pub fn SetAutomationMode(&self, mode: ::std::os::raw::c_int, onlySel: bool) { - match self.pointers.SetAutomationMode { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetAutomationMode) - ), - Some(f) => f(mode, onlySel), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetCurrentBPM(&self, __proj: *mut root::ReaProject, bpm: f64, wantUndo: bool) { - match self.pointers.SetCurrentBPM { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetCurrentBPM) - ), - Some(f) => f(__proj, bpm, wantUndo), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetCursorContext( - &self, - mode: ::std::os::raw::c_int, - envInOptional: *mut root::TrackEnvelope, - ) { - match self.pointers.SetCursorContext { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetCursorContext) - ), - Some(f) => f(mode, envInOptional), - } - } - pub fn SetEditCurPos(&self, time: f64, moveview: bool, seekplay: bool) { - match self.pointers.SetEditCurPos { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetEditCurPos) - ), - Some(f) => f(time, moveview, seekplay), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetEditCurPos2( - &self, - proj: *mut root::ReaProject, - time: f64, - moveview: bool, - seekplay: bool, - ) { - match self.pointers.SetEditCurPos2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetEditCurPos2) - ), - Some(f) => f(proj, time, moveview, seekplay), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetEnvelopePoint( - &self, - envelope: *mut root::TrackEnvelope, - ptidx: ::std::os::raw::c_int, - timeInOptional: *mut f64, - valueInOptional: *mut f64, - shapeInOptional: *mut ::std::os::raw::c_int, - tensionInOptional: *mut f64, - selectedInOptional: *mut bool, - noSortInOptional: *mut bool, - ) -> bool { - match self.pointers.SetEnvelopePoint { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetEnvelopePoint) - ), - Some(f) => f( - envelope, - ptidx, - timeInOptional, - valueInOptional, - shapeInOptional, - tensionInOptional, - selectedInOptional, - noSortInOptional, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetEnvelopePointEx( - &self, - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - ptidx: ::std::os::raw::c_int, - timeInOptional: *mut f64, - valueInOptional: *mut f64, - shapeInOptional: *mut ::std::os::raw::c_int, - tensionInOptional: *mut f64, - selectedInOptional: *mut bool, - noSortInOptional: *mut bool, - ) -> bool { - match self.pointers.SetEnvelopePointEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetEnvelopePointEx) - ), - Some(f) => f( - envelope, - autoitem_idx, - ptidx, - timeInOptional, - valueInOptional, - shapeInOptional, - tensionInOptional, - selectedInOptional, - noSortInOptional, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetEnvelopeStateChunk( - &self, - env: *mut root::TrackEnvelope, - str: *const ::std::os::raw::c_char, - isundoOptional: bool, - ) -> bool { - match self.pointers.SetEnvelopeStateChunk { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetEnvelopeStateChunk) - ), - Some(f) => f(env, str, isundoOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetExtState( - &self, - section: *const ::std::os::raw::c_char, - key: *const ::std::os::raw::c_char, - value: *const ::std::os::raw::c_char, - persist: bool, - ) { - match self.pointers.SetExtState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetExtState) - ), - Some(f) => f(section, key, value, persist), - } - } - pub fn SetGlobalAutomationOverride(&self, mode: ::std::os::raw::c_int) { - match self.pointers.SetGlobalAutomationOverride { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetGlobalAutomationOverride) - ), - Some(f) => f(mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetItemStateChunk( - &self, - item: *mut root::MediaItem, - str: *const ::std::os::raw::c_char, - isundoOptional: bool, - ) -> bool { - match self.pointers.SetItemStateChunk { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetItemStateChunk) - ), - Some(f) => f(item, str, isundoOptional), - } - } - pub fn SetMasterTrackVisibility(&self, flag: ::std::os::raw::c_int) -> ::std::os::raw::c_int { - match self.pointers.SetMasterTrackVisibility { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetMasterTrackVisibility) - ), - Some(f) => f(flag), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetMediaItemInfo_Value( - &self, - item: *mut root::MediaItem, - parmname: *const ::std::os::raw::c_char, - newvalue: f64, - ) -> bool { - match self.pointers.SetMediaItemInfo_Value { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetMediaItemInfo_Value) - ), - Some(f) => f(item, parmname, newvalue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetMediaItemLength( - &self, - item: *mut root::MediaItem, - length: f64, - refreshUI: bool, - ) -> bool { - match self.pointers.SetMediaItemLength { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetMediaItemLength) - ), - Some(f) => f(item, length, refreshUI), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetMediaItemPosition( - &self, - item: *mut root::MediaItem, - position: f64, - refreshUI: bool, - ) -> bool { - match self.pointers.SetMediaItemPosition { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetMediaItemPosition) - ), - Some(f) => f(item, position, refreshUI), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetMediaItemSelected(&self, item: *mut root::MediaItem, selected: bool) { - match self.pointers.SetMediaItemSelected { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetMediaItemSelected) - ), - Some(f) => f(item, selected), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetMediaItemTake_Source( - &self, - take: *mut root::MediaItem_Take, - source: *mut root::PCM_source, - ) -> bool { - match self.pointers.SetMediaItemTake_Source { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetMediaItemTake_Source) - ), - Some(f) => f(take, source), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetMediaItemTakeInfo_Value( - &self, - take: *mut root::MediaItem_Take, - parmname: *const ::std::os::raw::c_char, - newvalue: f64, - ) -> bool { - match self.pointers.SetMediaItemTakeInfo_Value { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetMediaItemTakeInfo_Value) - ), - Some(f) => f(take, parmname, newvalue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetMediaTrackInfo_Value( - &self, - tr: *mut root::MediaTrack, - parmname: *const ::std::os::raw::c_char, - newvalue: f64, - ) -> bool { - match self.pointers.SetMediaTrackInfo_Value { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetMediaTrackInfo_Value) - ), - Some(f) => f(tr, parmname, newvalue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetMIDIEditorGrid(&self, project: *mut root::ReaProject, division: f64) { - match self.pointers.SetMIDIEditorGrid { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetMIDIEditorGrid) - ), - Some(f) => f(project, division), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetMixerScroll( - &self, - leftmosttrack: *mut root::MediaTrack, - ) -> *mut root::MediaTrack { - match self.pointers.SetMixerScroll { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetMixerScroll) - ), - Some(f) => f(leftmosttrack), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetMouseModifier( - &self, - context: *const ::std::os::raw::c_char, - modifier_flag: ::std::os::raw::c_int, - action: *const ::std::os::raw::c_char, - ) { - match self.pointers.SetMouseModifier { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetMouseModifier) - ), - Some(f) => f(context, modifier_flag, action), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetOnlyTrackSelected(&self, track: *mut root::MediaTrack) { - match self.pointers.SetOnlyTrackSelected { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetOnlyTrackSelected) - ), - Some(f) => f(track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetProjectGrid(&self, project: *mut root::ReaProject, division: f64) { - match self.pointers.SetProjectGrid { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetProjectGrid) - ), - Some(f) => f(project, division), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetProjectMarker( - &self, - markrgnindexnumber: ::std::os::raw::c_int, - isrgn: bool, - pos: f64, - rgnend: f64, - name: *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.SetProjectMarker { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetProjectMarker) - ), - Some(f) => f(markrgnindexnumber, isrgn, pos, rgnend, name), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetProjectMarker2( - &self, - proj: *mut root::ReaProject, - markrgnindexnumber: ::std::os::raw::c_int, - isrgn: bool, - pos: f64, - rgnend: f64, - name: *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.SetProjectMarker2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetProjectMarker2) - ), - Some(f) => f(proj, markrgnindexnumber, isrgn, pos, rgnend, name), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetProjectMarker3( - &self, - proj: *mut root::ReaProject, - markrgnindexnumber: ::std::os::raw::c_int, - isrgn: bool, - pos: f64, - rgnend: f64, - name: *const ::std::os::raw::c_char, - color: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.SetProjectMarker3 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetProjectMarker3) - ), - Some(f) => f(proj, markrgnindexnumber, isrgn, pos, rgnend, name, color), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetProjectMarker4( - &self, - proj: *mut root::ReaProject, - markrgnindexnumber: ::std::os::raw::c_int, - isrgn: bool, - pos: f64, - rgnend: f64, - name: *const ::std::os::raw::c_char, - color: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.SetProjectMarker4 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetProjectMarker4) - ), - Some(f) => f( - proj, - markrgnindexnumber, - isrgn, - pos, - rgnend, - name, - color, - flags, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetProjectMarkerByIndex( - &self, - proj: *mut root::ReaProject, - markrgnidx: ::std::os::raw::c_int, - isrgn: bool, - pos: f64, - rgnend: f64, - IDnumber: ::std::os::raw::c_int, - name: *const ::std::os::raw::c_char, - color: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.SetProjectMarkerByIndex { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetProjectMarkerByIndex) - ), - Some(f) => f(proj, markrgnidx, isrgn, pos, rgnend, IDnumber, name, color), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetProjectMarkerByIndex2( - &self, - proj: *mut root::ReaProject, - markrgnidx: ::std::os::raw::c_int, - isrgn: bool, - pos: f64, - rgnend: f64, - IDnumber: ::std::os::raw::c_int, - name: *const ::std::os::raw::c_char, - color: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.SetProjectMarkerByIndex2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetProjectMarkerByIndex2) - ), - Some(f) => f( - proj, markrgnidx, isrgn, pos, rgnend, IDnumber, name, color, flags, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetProjExtState( - &self, - proj: *mut root::ReaProject, - extname: *const ::std::os::raw::c_char, - key: *const ::std::os::raw::c_char, - value: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int { - match self.pointers.SetProjExtState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetProjExtState) - ), - Some(f) => f(proj, extname, key, value), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetRegionRenderMatrix( - &self, - proj: *mut root::ReaProject, - regionindex: ::std::os::raw::c_int, - track: *mut root::MediaTrack, - flag: ::std::os::raw::c_int, - ) { - match self.pointers.SetRegionRenderMatrix { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetRegionRenderMatrix) - ), - Some(f) => f(proj, regionindex, track, flag), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetRenderLastError(&self, errorstr: *const ::std::os::raw::c_char) { - match self.pointers.SetRenderLastError { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetRenderLastError) - ), - Some(f) => f(errorstr), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTakeMarker( - &self, - take: *mut root::MediaItem_Take, - idx: ::std::os::raw::c_int, - nameIn: *const ::std::os::raw::c_char, - srcposInOptional: *mut f64, - colorInOptional: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.SetTakeMarker { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTakeMarker) - ), - Some(f) => f(take, idx, nameIn, srcposInOptional, colorInOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTakeStretchMarker( - &self, - take: *mut root::MediaItem_Take, - idx: ::std::os::raw::c_int, - pos: f64, - srcposInOptional: *const f64, - ) -> ::std::os::raw::c_int { - match self.pointers.SetTakeStretchMarker { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTakeStretchMarker) - ), - Some(f) => f(take, idx, pos, srcposInOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTakeStretchMarkerSlope( - &self, - take: *mut root::MediaItem_Take, - idx: ::std::os::raw::c_int, - slope: f64, - ) -> bool { - match self.pointers.SetTakeStretchMarkerSlope { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTakeStretchMarkerSlope) - ), - Some(f) => f(take, idx, slope), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTempoTimeSigMarker( - &self, - proj: *mut root::ReaProject, - ptidx: ::std::os::raw::c_int, - timepos: f64, - measurepos: ::std::os::raw::c_int, - beatpos: f64, - bpm: f64, - timesig_num: ::std::os::raw::c_int, - timesig_denom: ::std::os::raw::c_int, - lineartempo: bool, - ) -> bool { - match self.pointers.SetTempoTimeSigMarker { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTempoTimeSigMarker) - ), - Some(f) => f( - proj, - ptidx, - timepos, - measurepos, - beatpos, - bpm, - timesig_num, - timesig_denom, - lineartempo, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetThemeColor( - &self, - ini_key: *const ::std::os::raw::c_char, - color: ::std::os::raw::c_int, - flagsOptional: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.SetThemeColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetThemeColor) - ), - Some(f) => f(ini_key, color, flagsOptional), - } - } - pub fn SetToggleCommandState( - &self, - section_id: ::std::os::raw::c_int, - command_id: ::std::os::raw::c_int, - state: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.SetToggleCommandState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetToggleCommandState) - ), - Some(f) => f(section_id, command_id, state), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackAutomationMode( - &self, - tr: *mut root::MediaTrack, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.SetTrackAutomationMode { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackAutomationMode) - ), - Some(f) => f(tr, mode), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackColor(&self, track: *mut root::MediaTrack, color: ::std::os::raw::c_int) { - match self.pointers.SetTrackColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackColor) - ), - Some(f) => f(track, color), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackMIDILyrics( - &self, - track: *mut root::MediaTrack, - flag: ::std::os::raw::c_int, - str: *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.SetTrackMIDILyrics { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackMIDILyrics) - ), - Some(f) => f(track, flag, str), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackMIDINoteName( - &self, - track: ::std::os::raw::c_int, - pitch: ::std::os::raw::c_int, - chan: ::std::os::raw::c_int, - name: *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.SetTrackMIDINoteName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackMIDINoteName) - ), - Some(f) => f(track, pitch, chan, name), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackMIDINoteNameEx( - &self, - proj: *mut root::ReaProject, - track: *mut root::MediaTrack, - pitch: ::std::os::raw::c_int, - chan: ::std::os::raw::c_int, - name: *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.SetTrackMIDINoteNameEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackMIDINoteNameEx) - ), - Some(f) => f(proj, track, pitch, chan, name), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackSelected(&self, track: *mut root::MediaTrack, selected: bool) { - match self.pointers.SetTrackSelected { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackSelected) - ), - Some(f) => f(track, selected), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackSendInfo_Value( - &self, - tr: *mut root::MediaTrack, - category: ::std::os::raw::c_int, - sendidx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - newvalue: f64, - ) -> bool { - match self.pointers.SetTrackSendInfo_Value { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackSendInfo_Value) - ), - Some(f) => f(tr, category, sendidx, parmname, newvalue), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackSendUIPan( - &self, - track: *mut root::MediaTrack, - send_idx: ::std::os::raw::c_int, - pan: f64, - isend: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.SetTrackSendUIPan { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackSendUIPan) - ), - Some(f) => f(track, send_idx, pan, isend), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackSendUIVol( - &self, - track: *mut root::MediaTrack, - send_idx: ::std::os::raw::c_int, - vol: f64, - isend: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.SetTrackSendUIVol { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackSendUIVol) - ), - Some(f) => f(track, send_idx, vol, isend), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackStateChunk( - &self, - track: *mut root::MediaTrack, - str: *const ::std::os::raw::c_char, - isundoOptional: bool, - ) -> bool { - match self.pointers.SetTrackStateChunk { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackStateChunk) - ), - Some(f) => f(track, str, isundoOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackUIInputMonitor( - &self, - track: *mut root::MediaTrack, - monitor: ::std::os::raw::c_int, - igngroupflags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.SetTrackUIInputMonitor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackUIInputMonitor) - ), - Some(f) => f(track, monitor, igngroupflags), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackUIMute( - &self, - track: *mut root::MediaTrack, - mute: ::std::os::raw::c_int, - igngroupflags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.SetTrackUIMute { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackUIMute) - ), - Some(f) => f(track, mute, igngroupflags), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackUIPan( - &self, - track: *mut root::MediaTrack, - pan: f64, - relative: bool, - done: bool, - igngroupflags: ::std::os::raw::c_int, - ) -> f64 { - match self.pointers.SetTrackUIPan { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackUIPan) - ), - Some(f) => f(track, pan, relative, done, igngroupflags), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackUIPolarity( - &self, - track: *mut root::MediaTrack, - polarity: ::std::os::raw::c_int, - igngroupflags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.SetTrackUIPolarity { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackUIPolarity) - ), - Some(f) => f(track, polarity, igngroupflags), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackUIRecArm( - &self, - track: *mut root::MediaTrack, - recarm: ::std::os::raw::c_int, - igngroupflags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.SetTrackUIRecArm { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackUIRecArm) - ), - Some(f) => f(track, recarm, igngroupflags), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackUISolo( - &self, - track: *mut root::MediaTrack, - solo: ::std::os::raw::c_int, - igngroupflags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.SetTrackUISolo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackUISolo) - ), - Some(f) => f(track, solo, igngroupflags), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackUIVolume( - &self, - track: *mut root::MediaTrack, - volume: f64, - relative: bool, - done: bool, - igngroupflags: ::std::os::raw::c_int, - ) -> f64 { - match self.pointers.SetTrackUIVolume { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackUIVolume) - ), - Some(f) => f(track, volume, relative, done, igngroupflags), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTrackUIWidth( - &self, - track: *mut root::MediaTrack, - width: f64, - relative: bool, - done: bool, - igngroupflags: ::std::os::raw::c_int, - ) -> f64 { - match self.pointers.SetTrackUIWidth { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTrackUIWidth) - ), - Some(f) => f(track, width, relative, done, igngroupflags), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ShowActionList(&self, section: *mut root::KbdSectionInfo, callerWnd: root::HWND) { - match self.pointers.ShowActionList { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ShowActionList) - ), - Some(f) => f(section, callerWnd), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ShowConsoleMsg(&self, msg: *const ::std::os::raw::c_char) { - match self.pointers.ShowConsoleMsg { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ShowConsoleMsg) - ), - Some(f) => f(msg), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ShowMessageBox( - &self, - msg: *const ::std::os::raw::c_char, - title: *const ::std::os::raw::c_char, - type_: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.ShowMessageBox { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ShowMessageBox) - ), - Some(f) => f(msg, title, type_), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ShowPopupMenu( - &self, - name: *const ::std::os::raw::c_char, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - hwndParentOptional: root::HWND, - ctxOptional: *mut ::std::os::raw::c_void, - ctx2Optional: ::std::os::raw::c_int, - ctx3Optional: ::std::os::raw::c_int, - ) { - match self.pointers.ShowPopupMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ShowPopupMenu) - ), - Some(f) => f( - name, - x, - y, - hwndParentOptional, - ctxOptional, - ctx2Optional, - ctx3Optional, - ), - } - } - pub fn SLIDER2DB(&self, y: f64) -> f64 { - match self.pointers.SLIDER2DB { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SLIDER2DB) - ), - Some(f) => f(y), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SnapToGrid(&self, project: *mut root::ReaProject, time_pos: f64) -> f64 { - match self.pointers.SnapToGrid { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SnapToGrid) - ), - Some(f) => f(project, time_pos), - } - } - pub fn SoloAllTracks(&self, solo: ::std::os::raw::c_int) { - match self.pointers.SoloAllTracks { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SoloAllTracks) - ), - Some(f) => f(solo), - } - } - pub fn Splash_GetWnd(&self) -> root::HWND { - match self.pointers.Splash_GetWnd { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Splash_GetWnd) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SplitMediaItem( - &self, - item: *mut root::MediaItem, - position: f64, - ) -> *mut root::MediaItem { - match self.pointers.SplitMediaItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SplitMediaItem) - ), - Some(f) => f(item, position), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn StopPreview( - &self, - preview: *mut root::preview_register_t, - ) -> ::std::os::raw::c_int { - match self.pointers.StopPreview { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(StopPreview) - ), - Some(f) => f(preview), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn StopTrackPreview( - &self, - preview: *mut root::preview_register_t, - ) -> ::std::os::raw::c_int { - match self.pointers.StopTrackPreview { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(StopTrackPreview) - ), - Some(f) => f(preview), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn StopTrackPreview2( - &self, - proj: *mut root::ReaProject, - preview: *mut root::preview_register_t, - ) -> ::std::os::raw::c_int { - match self.pointers.StopTrackPreview2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(StopTrackPreview2) - ), - Some(f) => f(proj, preview), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn stringToGuid(&self, str: *const ::std::os::raw::c_char, g: *mut root::GUID) { - match self.pointers.stringToGuid { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(stringToGuid) - ), - Some(f) => f(str, g), - } - } - pub fn StuffMIDIMessage( - &self, - mode: ::std::os::raw::c_int, - msg1: ::std::os::raw::c_int, - msg2: ::std::os::raw::c_int, - msg3: ::std::os::raw::c_int, - ) { - match self.pointers.StuffMIDIMessage { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(StuffMIDIMessage) - ), - Some(f) => f(mode, msg1, msg2, msg3), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_AddByName( - &self, - take: *mut root::MediaItem_Take, - fxname: *const ::std::os::raw::c_char, - instantiate: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.TakeFX_AddByName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_AddByName) - ), - Some(f) => f(take, fxname, instantiate), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_CopyToTake( - &self, - src_take: *mut root::MediaItem_Take, - src_fx: ::std::os::raw::c_int, - dest_take: *mut root::MediaItem_Take, - dest_fx: ::std::os::raw::c_int, - is_move: bool, - ) { - match self.pointers.TakeFX_CopyToTake { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_CopyToTake) - ), - Some(f) => f(src_take, src_fx, dest_take, dest_fx, is_move), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_CopyToTrack( - &self, - src_take: *mut root::MediaItem_Take, - src_fx: ::std::os::raw::c_int, - dest_track: *mut root::MediaTrack, - dest_fx: ::std::os::raw::c_int, - is_move: bool, - ) { - match self.pointers.TakeFX_CopyToTrack { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_CopyToTrack) - ), - Some(f) => f(src_take, src_fx, dest_track, dest_fx, is_move), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_Delete( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_Delete { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_Delete) - ), - Some(f) => f(take, fx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_EndParamEdit( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_EndParamEdit { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_EndParamEdit) - ), - Some(f) => f(take, fx, param), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_FormatParamValue( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - val: f64, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_FormatParamValue { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_FormatParamValue) - ), - Some(f) => f(take, fx, param, val, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_FormatParamValueNormalized( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - value: f64, - buf: *mut ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_FormatParamValueNormalized { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_FormatParamValueNormalized) - ), - Some(f) => f(take, fx, param, value, buf, buf_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetChainVisible( - &self, - take: *mut root::MediaItem_Take, - ) -> ::std::os::raw::c_int { - match self.pointers.TakeFX_GetChainVisible { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetChainVisible) - ), - Some(f) => f(take), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetCount(&self, take: *mut root::MediaItem_Take) -> ::std::os::raw::c_int { - match self.pointers.TakeFX_GetCount { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetCount) - ), - Some(f) => f(take), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetEnabled( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_GetEnabled { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetEnabled) - ), - Some(f) => f(take, fx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetEnvelope( - &self, - take: *mut root::MediaItem_Take, - fxindex: ::std::os::raw::c_int, - parameterindex: ::std::os::raw::c_int, - create: bool, - ) -> *mut root::TrackEnvelope { - match self.pointers.TakeFX_GetEnvelope { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetEnvelope) - ), - Some(f) => f(take, fxindex, parameterindex, create), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetFloatingWindow( - &self, - take: *mut root::MediaItem_Take, - index: ::std::os::raw::c_int, - ) -> root::HWND { - match self.pointers.TakeFX_GetFloatingWindow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetFloatingWindow) - ), - Some(f) => f(take, index), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetFormattedParamValue( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_GetFormattedParamValue { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetFormattedParamValue) - ), - Some(f) => f(take, fx, param, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetFXGUID( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - ) -> *mut root::GUID { - match self.pointers.TakeFX_GetFXGUID { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetFXGUID) - ), - Some(f) => f(take, fx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetFXName( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_GetFXName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetFXName) - ), - Some(f) => f(take, fx, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetIOSize( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - inputPinsOut: *mut ::std::os::raw::c_int, - outputPinsOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.TakeFX_GetIOSize { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetIOSize) - ), - Some(f) => f(take, fx, inputPinsOut, outputPinsOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetNamedConfigParm( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - bufOutNeedBig: *mut ::std::os::raw::c_char, - bufOutNeedBig_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_GetNamedConfigParm { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetNamedConfigParm) - ), - Some(f) => f(take, fx, parmname, bufOutNeedBig, bufOutNeedBig_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetNumParams( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.TakeFX_GetNumParams { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetNumParams) - ), - Some(f) => f(take, fx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetOffline( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_GetOffline { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetOffline) - ), - Some(f) => f(take, fx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetOpen( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_GetOpen { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetOpen) - ), - Some(f) => f(take, fx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetParam( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - minvalOut: *mut f64, - maxvalOut: *mut f64, - ) -> f64 { - match self.pointers.TakeFX_GetParam { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetParam) - ), - Some(f) => f(take, fx, param, minvalOut, maxvalOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetParameterStepSizes( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - stepOut: *mut f64, - smallstepOut: *mut f64, - largestepOut: *mut f64, - istoggleOut: *mut bool, - ) -> bool { - match self.pointers.TakeFX_GetParameterStepSizes { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetParameterStepSizes) - ), - Some(f) => f( - take, - fx, - param, - stepOut, - smallstepOut, - largestepOut, - istoggleOut, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetParamEx( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - minvalOut: *mut f64, - maxvalOut: *mut f64, - midvalOut: *mut f64, - ) -> f64 { - match self.pointers.TakeFX_GetParamEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetParamEx) - ), - Some(f) => f(take, fx, param, minvalOut, maxvalOut, midvalOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetParamFromIdent( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - ident_str: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int { - match self.pointers.TakeFX_GetParamFromIdent { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetParamFromIdent) - ), - Some(f) => f(take, fx, ident_str), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetParamIdent( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_GetParamIdent { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetParamIdent) - ), - Some(f) => f(take, fx, param, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetParamName( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_GetParamName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetParamName) - ), - Some(f) => f(take, fx, param, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetParamNormalized( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - ) -> f64 { - match self.pointers.TakeFX_GetParamNormalized { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetParamNormalized) - ), - Some(f) => f(take, fx, param), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetPinMappings( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - isoutput: ::std::os::raw::c_int, - pin: ::std::os::raw::c_int, - high32Out: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.TakeFX_GetPinMappings { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetPinMappings) - ), - Some(f) => f(take, fx, isoutput, pin, high32Out), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetPreset( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - presetnameOut: *mut ::std::os::raw::c_char, - presetnameOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_GetPreset { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetPreset) - ), - Some(f) => f(take, fx, presetnameOut, presetnameOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetPresetIndex( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - numberOfPresetsOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.TakeFX_GetPresetIndex { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetPresetIndex) - ), - Some(f) => f(take, fx, numberOfPresetsOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_GetUserPresetFilename( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - fnOut: *mut ::std::os::raw::c_char, - fnOut_sz: ::std::os::raw::c_int, - ) { - match self.pointers.TakeFX_GetUserPresetFilename { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_GetUserPresetFilename) - ), - Some(f) => f(take, fx, fnOut, fnOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_NavigatePresets( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - presetmove: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_NavigatePresets { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_NavigatePresets) - ), - Some(f) => f(take, fx, presetmove), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_SetEnabled( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - enabled: bool, - ) { - match self.pointers.TakeFX_SetEnabled { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_SetEnabled) - ), - Some(f) => f(take, fx, enabled), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_SetNamedConfigParm( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - value: *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.TakeFX_SetNamedConfigParm { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_SetNamedConfigParm) - ), - Some(f) => f(take, fx, parmname, value), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_SetOffline( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - offline: bool, - ) { - match self.pointers.TakeFX_SetOffline { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_SetOffline) - ), - Some(f) => f(take, fx, offline), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_SetOpen( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - open: bool, - ) { - match self.pointers.TakeFX_SetOpen { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_SetOpen) - ), - Some(f) => f(take, fx, open), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_SetParam( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - val: f64, - ) -> bool { - match self.pointers.TakeFX_SetParam { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_SetParam) - ), - Some(f) => f(take, fx, param, val), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_SetParamNormalized( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - value: f64, - ) -> bool { - match self.pointers.TakeFX_SetParamNormalized { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_SetParamNormalized) - ), - Some(f) => f(take, fx, param, value), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_SetPinMappings( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - isoutput: ::std::os::raw::c_int, - pin: ::std::os::raw::c_int, - low32bits: ::std::os::raw::c_int, - hi32bits: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_SetPinMappings { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_SetPinMappings) - ), - Some(f) => f(take, fx, isoutput, pin, low32bits, hi32bits), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_SetPreset( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - presetname: *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.TakeFX_SetPreset { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_SetPreset) - ), - Some(f) => f(take, fx, presetname), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_SetPresetByIndex( - &self, - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - idx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TakeFX_SetPresetByIndex { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_SetPresetByIndex) - ), - Some(f) => f(take, fx, idx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeFX_Show( - &self, - take: *mut root::MediaItem_Take, - index: ::std::os::raw::c_int, - showFlag: ::std::os::raw::c_int, - ) { - match self.pointers.TakeFX_Show { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeFX_Show) - ), - Some(f) => f(take, index, showFlag), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TakeIsMIDI(&self, take: *mut root::MediaItem_Take) -> bool { - match self.pointers.TakeIsMIDI { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TakeIsMIDI) - ), - Some(f) => f(take), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ThemeLayout_GetLayout( - &self, - section: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - nameOut: *mut ::std::os::raw::c_char, - nameOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.ThemeLayout_GetLayout { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ThemeLayout_GetLayout) - ), - Some(f) => f(section, idx, nameOut, nameOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ThemeLayout_GetParameter( - &self, - wp: ::std::os::raw::c_int, - descOutOptional: *mut *const ::std::os::raw::c_char, - valueOutOptional: *mut ::std::os::raw::c_int, - defValueOutOptional: *mut ::std::os::raw::c_int, - minValueOutOptional: *mut ::std::os::raw::c_int, - maxValueOutOptional: *mut ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char { - match self.pointers.ThemeLayout_GetParameter { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ThemeLayout_GetParameter) - ), - Some(f) => f( - wp, - descOutOptional, - valueOutOptional, - defValueOutOptional, - minValueOutOptional, - maxValueOutOptional, - ), - } - } - pub fn ThemeLayout_RefreshAll(&self) { - match self.pointers.ThemeLayout_RefreshAll { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ThemeLayout_RefreshAll) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ThemeLayout_SetLayout( - &self, - section: *const ::std::os::raw::c_char, - layout: *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.ThemeLayout_SetLayout { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ThemeLayout_SetLayout) - ), - Some(f) => f(section, layout), - } - } - pub fn ThemeLayout_SetParameter( - &self, - wp: ::std::os::raw::c_int, - value: ::std::os::raw::c_int, - persist: bool, - ) -> bool { - match self.pointers.ThemeLayout_SetParameter { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ThemeLayout_SetParameter) - ), - Some(f) => f(wp, value, persist), - } - } - pub fn time_precise(&self) -> f64 { - match self.pointers.time_precise { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(time_precise) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TimeMap2_beatsToTime( - &self, - proj: *mut root::ReaProject, - tpos: f64, - measuresInOptional: *const ::std::os::raw::c_int, - ) -> f64 { - match self.pointers.TimeMap2_beatsToTime { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap2_beatsToTime) - ), - Some(f) => f(proj, tpos, measuresInOptional), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TimeMap2_GetDividedBpmAtTime( - &self, - proj: *mut root::ReaProject, - time: f64, - ) -> f64 { - match self.pointers.TimeMap2_GetDividedBpmAtTime { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap2_GetDividedBpmAtTime) - ), - Some(f) => f(proj, time), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TimeMap2_GetNextChangeTime(&self, proj: *mut root::ReaProject, time: f64) -> f64 { - match self.pointers.TimeMap2_GetNextChangeTime { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap2_GetNextChangeTime) - ), - Some(f) => f(proj, time), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TimeMap2_QNToTime(&self, proj: *mut root::ReaProject, qn: f64) -> f64 { - match self.pointers.TimeMap2_QNToTime { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap2_QNToTime) - ), - Some(f) => f(proj, qn), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TimeMap2_timeToBeats( - &self, - proj: *mut root::ReaProject, - tpos: f64, - measuresOutOptional: *mut ::std::os::raw::c_int, - cmlOutOptional: *mut ::std::os::raw::c_int, - fullbeatsOutOptional: *mut f64, - cdenomOutOptional: *mut ::std::os::raw::c_int, - ) -> f64 { - match self.pointers.TimeMap2_timeToBeats { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap2_timeToBeats) - ), - Some(f) => f( - proj, - tpos, - measuresOutOptional, - cmlOutOptional, - fullbeatsOutOptional, - cdenomOutOptional, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TimeMap2_timeToQN(&self, proj: *mut root::ReaProject, tpos: f64) -> f64 { - match self.pointers.TimeMap2_timeToQN { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap2_timeToQN) - ), - Some(f) => f(proj, tpos), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TimeMap_curFrameRate( - &self, - proj: *mut root::ReaProject, - dropFrameOut: *mut bool, - ) -> f64 { - match self.pointers.TimeMap_curFrameRate { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap_curFrameRate) - ), - Some(f) => f(proj, dropFrameOut), - } - } - pub fn TimeMap_GetDividedBpmAtTime(&self, time: f64) -> f64 { - match self.pointers.TimeMap_GetDividedBpmAtTime { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap_GetDividedBpmAtTime) - ), - Some(f) => f(time), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TimeMap_GetMeasureInfo( - &self, - proj: *mut root::ReaProject, - measure: ::std::os::raw::c_int, - qn_startOut: *mut f64, - qn_endOut: *mut f64, - timesig_numOut: *mut ::std::os::raw::c_int, - timesig_denomOut: *mut ::std::os::raw::c_int, - tempoOut: *mut f64, - ) -> f64 { - match self.pointers.TimeMap_GetMeasureInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap_GetMeasureInfo) - ), - Some(f) => f( - proj, - measure, - qn_startOut, - qn_endOut, - timesig_numOut, - timesig_denomOut, - tempoOut, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TimeMap_GetMetronomePattern( - &self, - proj: *mut root::ReaProject, - time: f64, - pattern: *mut ::std::os::raw::c_char, - pattern_sz: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.TimeMap_GetMetronomePattern { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap_GetMetronomePattern) - ), - Some(f) => f(proj, time, pattern, pattern_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TimeMap_GetTimeSigAtTime( - &self, - proj: *mut root::ReaProject, - time: f64, - timesig_numOut: *mut ::std::os::raw::c_int, - timesig_denomOut: *mut ::std::os::raw::c_int, - tempoOut: *mut f64, - ) { - match self.pointers.TimeMap_GetTimeSigAtTime { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap_GetTimeSigAtTime) - ), - Some(f) => f(proj, time, timesig_numOut, timesig_denomOut, tempoOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TimeMap_QNToMeasures( - &self, - proj: *mut root::ReaProject, - qn: f64, - qnMeasureStartOutOptional: *mut f64, - qnMeasureEndOutOptional: *mut f64, - ) -> ::std::os::raw::c_int { - match self.pointers.TimeMap_QNToMeasures { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap_QNToMeasures) - ), - Some(f) => f(proj, qn, qnMeasureStartOutOptional, qnMeasureEndOutOptional), - } - } - pub fn TimeMap_QNToTime(&self, qn: f64) -> f64 { - match self.pointers.TimeMap_QNToTime { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap_QNToTime) - ), - Some(f) => f(qn), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TimeMap_QNToTime_abs(&self, proj: *mut root::ReaProject, qn: f64) -> f64 { - match self.pointers.TimeMap_QNToTime_abs { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap_QNToTime_abs) - ), - Some(f) => f(proj, qn), - } - } - pub fn TimeMap_timeToQN(&self, tpos: f64) -> f64 { - match self.pointers.TimeMap_timeToQN { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap_timeToQN) - ), - Some(f) => f(tpos), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TimeMap_timeToQN_abs(&self, proj: *mut root::ReaProject, tpos: f64) -> f64 { - match self.pointers.TimeMap_timeToQN_abs { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TimeMap_timeToQN_abs) - ), - Some(f) => f(proj, tpos), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ToggleTrackSendUIMute( - &self, - track: *mut root::MediaTrack, - send_idx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.ToggleTrackSendUIMute { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ToggleTrackSendUIMute) - ), - Some(f) => f(track, send_idx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Track_GetPeakHoldDB( - &self, - track: *mut root::MediaTrack, - channel: ::std::os::raw::c_int, - clear: bool, - ) -> f64 { - match self.pointers.Track_GetPeakHoldDB { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Track_GetPeakHoldDB) - ), - Some(f) => f(track, channel, clear), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Track_GetPeakInfo( - &self, - track: *mut root::MediaTrack, - channel: ::std::os::raw::c_int, - ) -> f64 { - match self.pointers.Track_GetPeakInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Track_GetPeakInfo) - ), - Some(f) => f(track, channel), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackCtl_SetToolTip( - &self, - fmt: *const ::std::os::raw::c_char, - xpos: ::std::os::raw::c_int, - ypos: ::std::os::raw::c_int, - topmost: bool, - ) { - match self.pointers.TrackCtl_SetToolTip { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackCtl_SetToolTip) - ), - Some(f) => f(fmt, xpos, ypos, topmost), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_AddByName( - &self, - track: *mut root::MediaTrack, - fxname: *const ::std::os::raw::c_char, - recFX: bool, - instantiate: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.TrackFX_AddByName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_AddByName) - ), - Some(f) => f(track, fxname, recFX, instantiate), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_CopyToTake( - &self, - src_track: *mut root::MediaTrack, - src_fx: ::std::os::raw::c_int, - dest_take: *mut root::MediaItem_Take, - dest_fx: ::std::os::raw::c_int, - is_move: bool, - ) { - match self.pointers.TrackFX_CopyToTake { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_CopyToTake) - ), - Some(f) => f(src_track, src_fx, dest_take, dest_fx, is_move), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_CopyToTrack( - &self, - src_track: *mut root::MediaTrack, - src_fx: ::std::os::raw::c_int, - dest_track: *mut root::MediaTrack, - dest_fx: ::std::os::raw::c_int, - is_move: bool, - ) { - match self.pointers.TrackFX_CopyToTrack { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_CopyToTrack) - ), - Some(f) => f(src_track, src_fx, dest_track, dest_fx, is_move), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_Delete( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_Delete { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_Delete) - ), - Some(f) => f(track, fx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_EndParamEdit( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_EndParamEdit { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_EndParamEdit) - ), - Some(f) => f(track, fx, param), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_FormatParamValue( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - val: f64, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_FormatParamValue { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_FormatParamValue) - ), - Some(f) => f(track, fx, param, val, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_FormatParamValueNormalized( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - value: f64, - buf: *mut ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_FormatParamValueNormalized { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_FormatParamValueNormalized) - ), - Some(f) => f(track, fx, param, value, buf, buf_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetByName( - &self, - track: *mut root::MediaTrack, - fxname: *const ::std::os::raw::c_char, - instantiate: bool, - ) -> ::std::os::raw::c_int { - match self.pointers.TrackFX_GetByName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetByName) - ), - Some(f) => f(track, fxname, instantiate), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetChainVisible( - &self, - track: *mut root::MediaTrack, - ) -> ::std::os::raw::c_int { - match self.pointers.TrackFX_GetChainVisible { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetChainVisible) - ), - Some(f) => f(track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetCount(&self, track: *mut root::MediaTrack) -> ::std::os::raw::c_int { - match self.pointers.TrackFX_GetCount { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetCount) - ), - Some(f) => f(track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetEnabled( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_GetEnabled { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetEnabled) - ), - Some(f) => f(track, fx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetEQ( - &self, - track: *mut root::MediaTrack, - instantiate: bool, - ) -> ::std::os::raw::c_int { - match self.pointers.TrackFX_GetEQ { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetEQ) - ), - Some(f) => f(track, instantiate), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetEQBandEnabled( - &self, - track: *mut root::MediaTrack, - fxidx: ::std::os::raw::c_int, - bandtype: ::std::os::raw::c_int, - bandidx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_GetEQBandEnabled { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetEQBandEnabled) - ), - Some(f) => f(track, fxidx, bandtype, bandidx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetEQParam( - &self, - track: *mut root::MediaTrack, - fxidx: ::std::os::raw::c_int, - paramidx: ::std::os::raw::c_int, - bandtypeOut: *mut ::std::os::raw::c_int, - bandidxOut: *mut ::std::os::raw::c_int, - paramtypeOut: *mut ::std::os::raw::c_int, - normvalOut: *mut f64, - ) -> bool { - match self.pointers.TrackFX_GetEQParam { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetEQParam) - ), - Some(f) => f( - track, - fxidx, - paramidx, - bandtypeOut, - bandidxOut, - paramtypeOut, - normvalOut, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetFloatingWindow( - &self, - track: *mut root::MediaTrack, - index: ::std::os::raw::c_int, - ) -> root::HWND { - match self.pointers.TrackFX_GetFloatingWindow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetFloatingWindow) - ), - Some(f) => f(track, index), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetFormattedParamValue( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_GetFormattedParamValue { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetFormattedParamValue) - ), - Some(f) => f(track, fx, param, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetFXGUID( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - ) -> *mut root::GUID { - match self.pointers.TrackFX_GetFXGUID { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetFXGUID) - ), - Some(f) => f(track, fx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetFXName( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_GetFXName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetFXName) - ), - Some(f) => f(track, fx, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetInstrument( - &self, - track: *mut root::MediaTrack, - ) -> ::std::os::raw::c_int { - match self.pointers.TrackFX_GetInstrument { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetInstrument) - ), - Some(f) => f(track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetIOSize( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - inputPinsOut: *mut ::std::os::raw::c_int, - outputPinsOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.TrackFX_GetIOSize { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetIOSize) - ), - Some(f) => f(track, fx, inputPinsOut, outputPinsOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetNamedConfigParm( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - bufOutNeedBig: *mut ::std::os::raw::c_char, - bufOutNeedBig_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_GetNamedConfigParm { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetNamedConfigParm) - ), - Some(f) => f(track, fx, parmname, bufOutNeedBig, bufOutNeedBig_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetNumParams( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.TrackFX_GetNumParams { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetNumParams) - ), - Some(f) => f(track, fx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetOffline( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_GetOffline { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetOffline) - ), - Some(f) => f(track, fx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetOpen( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_GetOpen { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetOpen) - ), - Some(f) => f(track, fx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetParam( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - minvalOut: *mut f64, - maxvalOut: *mut f64, - ) -> f64 { - match self.pointers.TrackFX_GetParam { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetParam) - ), - Some(f) => f(track, fx, param, minvalOut, maxvalOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetParameterStepSizes( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - stepOut: *mut f64, - smallstepOut: *mut f64, - largestepOut: *mut f64, - istoggleOut: *mut bool, - ) -> bool { - match self.pointers.TrackFX_GetParameterStepSizes { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetParameterStepSizes) - ), - Some(f) => f( - track, - fx, - param, - stepOut, - smallstepOut, - largestepOut, - istoggleOut, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetParamEx( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - minvalOut: *mut f64, - maxvalOut: *mut f64, - midvalOut: *mut f64, - ) -> f64 { - match self.pointers.TrackFX_GetParamEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetParamEx) - ), - Some(f) => f(track, fx, param, minvalOut, maxvalOut, midvalOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetParamFromIdent( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - ident_str: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int { - match self.pointers.TrackFX_GetParamFromIdent { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetParamFromIdent) - ), - Some(f) => f(track, fx, ident_str), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetParamIdent( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_GetParamIdent { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetParamIdent) - ), - Some(f) => f(track, fx, param, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetParamName( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_GetParamName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetParamName) - ), - Some(f) => f(track, fx, param, bufOut, bufOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetParamNormalized( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - ) -> f64 { - match self.pointers.TrackFX_GetParamNormalized { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetParamNormalized) - ), - Some(f) => f(track, fx, param), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetPinMappings( - &self, - tr: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - isoutput: ::std::os::raw::c_int, - pin: ::std::os::raw::c_int, - high32Out: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.TrackFX_GetPinMappings { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetPinMappings) - ), - Some(f) => f(tr, fx, isoutput, pin, high32Out), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetPreset( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - presetnameOut: *mut ::std::os::raw::c_char, - presetnameOut_sz: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_GetPreset { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetPreset) - ), - Some(f) => f(track, fx, presetnameOut, presetnameOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetPresetIndex( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - numberOfPresetsOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.TrackFX_GetPresetIndex { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetPresetIndex) - ), - Some(f) => f(track, fx, numberOfPresetsOut), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetRecChainVisible( - &self, - track: *mut root::MediaTrack, - ) -> ::std::os::raw::c_int { - match self.pointers.TrackFX_GetRecChainVisible { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetRecChainVisible) - ), - Some(f) => f(track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetRecCount( - &self, - track: *mut root::MediaTrack, - ) -> ::std::os::raw::c_int { - match self.pointers.TrackFX_GetRecCount { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetRecCount) - ), - Some(f) => f(track), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_GetUserPresetFilename( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - fnOut: *mut ::std::os::raw::c_char, - fnOut_sz: ::std::os::raw::c_int, - ) { - match self.pointers.TrackFX_GetUserPresetFilename { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_GetUserPresetFilename) - ), - Some(f) => f(track, fx, fnOut, fnOut_sz), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_NavigatePresets( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - presetmove: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_NavigatePresets { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_NavigatePresets) - ), - Some(f) => f(track, fx, presetmove), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_SetEnabled( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - enabled: bool, - ) { - match self.pointers.TrackFX_SetEnabled { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_SetEnabled) - ), - Some(f) => f(track, fx, enabled), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_SetEQBandEnabled( - &self, - track: *mut root::MediaTrack, - fxidx: ::std::os::raw::c_int, - bandtype: ::std::os::raw::c_int, - bandidx: ::std::os::raw::c_int, - enable: bool, - ) -> bool { - match self.pointers.TrackFX_SetEQBandEnabled { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_SetEQBandEnabled) - ), - Some(f) => f(track, fxidx, bandtype, bandidx, enable), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_SetEQParam( - &self, - track: *mut root::MediaTrack, - fxidx: ::std::os::raw::c_int, - bandtype: ::std::os::raw::c_int, - bandidx: ::std::os::raw::c_int, - paramtype: ::std::os::raw::c_int, - val: f64, - isnorm: bool, - ) -> bool { - match self.pointers.TrackFX_SetEQParam { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_SetEQParam) - ), - Some(f) => f(track, fxidx, bandtype, bandidx, paramtype, val, isnorm), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_SetNamedConfigParm( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - value: *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.TrackFX_SetNamedConfigParm { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_SetNamedConfigParm) - ), - Some(f) => f(track, fx, parmname, value), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_SetOffline( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - offline: bool, - ) { - match self.pointers.TrackFX_SetOffline { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_SetOffline) - ), - Some(f) => f(track, fx, offline), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_SetOpen( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - open: bool, - ) { - match self.pointers.TrackFX_SetOpen { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_SetOpen) - ), - Some(f) => f(track, fx, open), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_SetParam( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - val: f64, - ) -> bool { - match self.pointers.TrackFX_SetParam { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_SetParam) - ), - Some(f) => f(track, fx, param, val), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_SetParamNormalized( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - value: f64, - ) -> bool { - match self.pointers.TrackFX_SetParamNormalized { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_SetParamNormalized) - ), - Some(f) => f(track, fx, param, value), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_SetPinMappings( - &self, - tr: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - isoutput: ::std::os::raw::c_int, - pin: ::std::os::raw::c_int, - low32bits: ::std::os::raw::c_int, - hi32bits: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_SetPinMappings { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_SetPinMappings) - ), - Some(f) => f(tr, fx, isoutput, pin, low32bits, hi32bits), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_SetPreset( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - presetname: *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.TrackFX_SetPreset { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_SetPreset) - ), - Some(f) => f(track, fx, presetname), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_SetPresetByIndex( - &self, - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - idx: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.TrackFX_SetPresetByIndex { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_SetPresetByIndex) - ), - Some(f) => f(track, fx, idx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackFX_Show( - &self, - track: *mut root::MediaTrack, - index: ::std::os::raw::c_int, - showFlag: ::std::os::raw::c_int, - ) { - match self.pointers.TrackFX_Show { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackFX_Show) - ), - Some(f) => f(track, index, showFlag), - } - } - pub fn TrackList_AdjustWindows(&self, isMinor: bool) { - match self.pointers.TrackList_AdjustWindows { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackList_AdjustWindows) - ), - Some(f) => f(isMinor), - } - } - pub fn TrackList_UpdateAllExternalSurfaces(&self) { - match self.pointers.TrackList_UpdateAllExternalSurfaces { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackList_UpdateAllExternalSurfaces) - ), - Some(f) => f(), - } - } - pub fn Undo_BeginBlock(&self) { - match self.pointers.Undo_BeginBlock { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Undo_BeginBlock) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Undo_BeginBlock2(&self, proj: *mut root::ReaProject) { - match self.pointers.Undo_BeginBlock2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Undo_BeginBlock2) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Undo_CanRedo2( - &self, - proj: *mut root::ReaProject, - ) -> *const ::std::os::raw::c_char { - match self.pointers.Undo_CanRedo2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Undo_CanRedo2) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Undo_CanUndo2( - &self, - proj: *mut root::ReaProject, - ) -> *const ::std::os::raw::c_char { - match self.pointers.Undo_CanUndo2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Undo_CanUndo2) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Undo_DoRedo2(&self, proj: *mut root::ReaProject) -> ::std::os::raw::c_int { - match self.pointers.Undo_DoRedo2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Undo_DoRedo2) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Undo_DoUndo2(&self, proj: *mut root::ReaProject) -> ::std::os::raw::c_int { - match self.pointers.Undo_DoUndo2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Undo_DoUndo2) - ), - Some(f) => f(proj), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Undo_EndBlock( - &self, - descchange: *const ::std::os::raw::c_char, - extraflags: ::std::os::raw::c_int, - ) { - match self.pointers.Undo_EndBlock { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Undo_EndBlock) - ), - Some(f) => f(descchange, extraflags), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Undo_EndBlock2( - &self, - proj: *mut root::ReaProject, - descchange: *const ::std::os::raw::c_char, - extraflags: ::std::os::raw::c_int, - ) { - match self.pointers.Undo_EndBlock2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Undo_EndBlock2) - ), - Some(f) => f(proj, descchange, extraflags), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Undo_OnStateChange(&self, descchange: *const ::std::os::raw::c_char) { - match self.pointers.Undo_OnStateChange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Undo_OnStateChange) - ), - Some(f) => f(descchange), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Undo_OnStateChange2( - &self, - proj: *mut root::ReaProject, - descchange: *const ::std::os::raw::c_char, - ) { - match self.pointers.Undo_OnStateChange2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Undo_OnStateChange2) - ), - Some(f) => f(proj, descchange), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Undo_OnStateChange_Item( - &self, - proj: *mut root::ReaProject, - name: *const ::std::os::raw::c_char, - item: *mut root::MediaItem, - ) { - match self.pointers.Undo_OnStateChange_Item { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Undo_OnStateChange_Item) - ), - Some(f) => f(proj, name, item), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Undo_OnStateChangeEx( - &self, - descchange: *const ::std::os::raw::c_char, - whichStates: ::std::os::raw::c_int, - trackparm: ::std::os::raw::c_int, - ) { - match self.pointers.Undo_OnStateChangeEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Undo_OnStateChangeEx) - ), - Some(f) => f(descchange, whichStates, trackparm), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Undo_OnStateChangeEx2( - &self, - proj: *mut root::ReaProject, - descchange: *const ::std::os::raw::c_char, - whichStates: ::std::os::raw::c_int, - trackparm: ::std::os::raw::c_int, - ) { - match self.pointers.Undo_OnStateChangeEx2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Undo_OnStateChangeEx2) - ), - Some(f) => f(proj, descchange, whichStates, trackparm), - } - } - pub fn update_disk_counters( - &self, - readamt: ::std::os::raw::c_int, - writeamt: ::std::os::raw::c_int, - ) { - match self.pointers.update_disk_counters { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(update_disk_counters) - ), - Some(f) => f(readamt, writeamt), - } - } - pub fn UpdateArrange(&self) { - match self.pointers.UpdateArrange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(UpdateArrange) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn UpdateItemInProject(&self, item: *mut root::MediaItem) { - match self.pointers.UpdateItemInProject { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(UpdateItemInProject) - ), - Some(f) => f(item), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn UpdateItemLanes(&self, proj: *mut root::ReaProject) -> bool { - match self.pointers.UpdateItemLanes { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(UpdateItemLanes) - ), - Some(f) => f(proj), - } - } - pub fn UpdateTimeline(&self) { - match self.pointers.UpdateTimeline { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(UpdateTimeline) - ), - Some(f) => f(), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ValidatePtr( - &self, - pointer: *mut ::std::os::raw::c_void, - ctypename: *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.ValidatePtr { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ValidatePtr) - ), - Some(f) => f(pointer, ctypename), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ValidatePtr2( - &self, - proj: *mut root::ReaProject, - pointer: *mut ::std::os::raw::c_void, - ctypename: *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.ValidatePtr2 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ValidatePtr2) - ), - Some(f) => f(proj, pointer, ctypename), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ViewPrefs( - &self, - page: ::std::os::raw::c_int, - pageByName: *const ::std::os::raw::c_char, - ) { - match self.pointers.ViewPrefs { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ViewPrefs) - ), - Some(f) => f(page, pageByName), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn WDL_VirtualWnd_ScaledBlitBG( - &self, - dest: *mut root::reaper_functions::LICE_IBitmap, - src: *mut root::reaper_functions::WDL_VirtualWnd_BGCfg, - destx: ::std::os::raw::c_int, - desty: ::std::os::raw::c_int, - destw: ::std::os::raw::c_int, - desth: ::std::os::raw::c_int, - clipx: ::std::os::raw::c_int, - clipy: ::std::os::raw::c_int, - clipw: ::std::os::raw::c_int, - cliph: ::std::os::raw::c_int, - alpha: f32, - mode: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.WDL_VirtualWnd_ScaledBlitBG { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(WDL_VirtualWnd_ScaledBlitBG) - ), - Some(f) => f( - dest, src, destx, desty, destw, desth, clipx, clipy, clipw, cliph, alpha, mode, - ), - } - } - pub fn GetMidiInput(&self, idx: ::std::os::raw::c_int) -> *mut root::midi_Input { - match self.pointers.GetMidiInput { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMidiInput) - ), - Some(f) => f(idx), - } - } - pub fn GetMidiOutput(&self, idx: ::std::os::raw::c_int) -> *mut root::midi_Output { - match self.pointers.GetMidiOutput { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMidiOutput) - ), - Some(f) => f(idx), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn fxDoReaperPresetAction( - &self, - fx: *mut ::std::os::raw::c_void, - name: *const ::std::os::raw::c_char, - flag: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.fxDoReaperPresetAction { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(fxDoReaperPresetAction) - ), - Some(f) => f(fx, name, flag), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn AddCustomMenuOrToolbarItem( - &self, - menuname: *const ::std::os::raw::c_char, - pos: ::std::os::raw::c_int, - command_id: ::std::os::raw::c_int, - toolbarflags: ::std::os::raw::c_int, - str: *const ::std::os::raw::c_char, - iconfn: *const ::std::os::raw::c_char, - extra_flags: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.AddCustomMenuOrToolbarItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AddCustomMenuOrToolbarItem) - ), - Some(f) => f( - menuname, - pos, - command_id, - toolbarflags, - str, - iconfn, - extra_flags, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteCustomMenuOrToolbarItem( - &self, - menuname: *const ::std::os::raw::c_char, - pos: ::std::os::raw::c_int, - extra_flags: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.DeleteCustomMenuOrToolbarItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DeleteCustomMenuOrToolbarItem) - ), - Some(f) => f(menuname, pos, extra_flags), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetCustomMenuOrToolbarItem( - &self, - menuname: *const ::std::os::raw::c_char, - pos: ::std::os::raw::c_int, - commandOutOptional: *mut ::std::os::raw::c_int, - toolbarFlagsOutOptional: *mut ::std::os::raw::c_int, - strOutOptional: *mut *const ::std::os::raw::c_char, - iconFnOutOptional: *mut *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.GetCustomMenuOrToolbarItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetCustomMenuOrToolbarItem) - ), - Some(f) => f( - menuname, - pos, - commandOutOptional, - toolbarFlagsOutOptional, - strOutOptional, - iconFnOutOptional, - ), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn AdvancePlaybackPosition( - &self, - __proj: *mut root::ReaProject, - opos: f64, - npos: *mut f64, - loopcnt: *mut ::std::os::raw::c_longlong, - srate: f64, - max_spls: *mut ::std::os::raw::c_int, - sf: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.AdvancePlaybackPosition { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AdvancePlaybackPosition) - ), - Some(f) => f(__proj, opos, npos, loopcnt, srate, max_spls, sf), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetPlayLoopCnt( - &self, - __proj: *mut root::ReaProject, - something: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_longlong { - match self.pointers.GetPlayLoopCnt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPlayLoopCnt) - ), - Some(f) => f(__proj, something), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn InitializeCoolSB(&self, hwnd: root::HWND) -> root::BOOL { - match self.pointers.InitializeCoolSB { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(InitializeCoolSB) - ), - Some(f) => f(hwnd), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn UninitializeCoolSB(&self, hwnd: root::HWND) -> root::HRESULT { - match self.pointers.UninitializeCoolSB { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(UninitializeCoolSB) - ), - Some(f) => f(hwnd), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CoolSB_SetMinThumbSize( - &self, - hwnd: root::HWND, - wBar: root::UINT, - size: root::UINT, - ) -> root::BOOL { - match self.pointers.CoolSB_SetMinThumbSize { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CoolSB_SetMinThumbSize) - ), - Some(f) => f(hwnd, wBar, size), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CoolSB_GetScrollInfo( - &self, - hwnd: root::HWND, - fnBar: ::std::os::raw::c_int, - lpsi: root::LPSCROLLINFO, - ) -> root::BOOL { - match self.pointers.CoolSB_GetScrollInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CoolSB_GetScrollInfo) - ), - Some(f) => f(hwnd, fnBar, lpsi), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CoolSB_SetScrollInfo( - &self, - hwnd: root::HWND, - fnBar: ::std::os::raw::c_int, - lpsi: root::LPSCROLLINFO, - fRedraw: root::BOOL, - ) -> ::std::os::raw::c_int { - match self.pointers.CoolSB_SetScrollInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CoolSB_SetScrollInfo) - ), - Some(f) => f(hwnd, fnBar, lpsi, fRedraw), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CoolSB_SetScrollPos( - &self, - hwnd: root::HWND, - nBar: ::std::os::raw::c_int, - nPos: ::std::os::raw::c_int, - fRedraw: root::BOOL, - ) -> ::std::os::raw::c_int { - match self.pointers.CoolSB_SetScrollPos { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CoolSB_SetScrollPos) - ), - Some(f) => f(hwnd, nBar, nPos, fRedraw), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CoolSB_SetScrollRange( - &self, - hwnd: root::HWND, - nBar: ::std::os::raw::c_int, - nMinPos: ::std::os::raw::c_int, - nMaxPos: ::std::os::raw::c_int, - fRedraw: root::BOOL, - ) -> ::std::os::raw::c_int { - match self.pointers.CoolSB_SetScrollRange { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CoolSB_SetScrollRange) - ), - Some(f) => f(hwnd, nBar, nMinPos, nMaxPos, fRedraw), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CoolSB_ShowScrollBar( - &self, - hwnd: root::HWND, - wBar: ::std::os::raw::c_int, - fShow: root::BOOL, - ) -> root::BOOL { - match self.pointers.CoolSB_ShowScrollBar { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CoolSB_ShowScrollBar) - ), - Some(f) => f(hwnd, wBar, fShow), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CoolSB_SetResizingThumb( - &self, - hwnd: root::HWND, - active: root::BOOL, - ) -> root::BOOL { - match self.pointers.CoolSB_SetResizingThumb { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CoolSB_SetResizingThumb) - ), - Some(f) => f(hwnd, active), - } - } - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CoolSB_SetThemeIndex( - &self, - hwnd: root::HWND, - idx: ::std::os::raw::c_int, - ) -> root::BOOL { - match self.pointers.CoolSB_SetThemeIndex { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CoolSB_SetThemeIndex) - ), - Some(f) => f(hwnd, idx), - } - } -} -#[doc = r" Container for the REAPER function pointers."] -#[derive(Copy, Clone, Default)] -pub struct ReaperFunctionPointers { - pub(crate) loaded_count: u32, - pub __mergesort: Option< - unsafe extern "C" fn( - base: *mut ::std::os::raw::c_void, - nmemb: usize, - size: usize, - cmpfunc: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int, - >, - tmpspace: *mut ::std::os::raw::c_void, - ), - >, - pub AddCustomizableMenu: Option< - unsafe extern "C" fn( - menuidstr: *const ::std::os::raw::c_char, - menuname: *const ::std::os::raw::c_char, - kbdsecname: *const ::std::os::raw::c_char, - addtomainmenu: bool, - ) -> bool, - >, - pub AddExtensionsMainMenu: Option bool>, - pub AddMediaItemToTrack: - Option *mut root::MediaItem>, - pub AddProjectMarker: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - isrgn: bool, - pos: f64, - rgnend: f64, - name: *const ::std::os::raw::c_char, - wantidx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub AddProjectMarker2: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - isrgn: bool, - pos: f64, - rgnend: f64, - name: *const ::std::os::raw::c_char, - wantidx: ::std::os::raw::c_int, - color: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub AddRemoveReaScript: Option< - unsafe extern "C" fn( - add: bool, - sectionID: ::std::os::raw::c_int, - scriptfn: *const ::std::os::raw::c_char, - commit: bool, - ) -> ::std::os::raw::c_int, - >, - pub AddTakeToMediaItem: - Option *mut root::MediaItem_Take>, - pub AddTempoTimeSigMarker: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - timepos: f64, - bpm: f64, - timesig_num: ::std::os::raw::c_int, - timesig_denom: ::std::os::raw::c_int, - lineartempochange: bool, - ) -> bool, - >, - pub adjustZoom: Option< - extern "C" fn( - amt: f64, - forceset: ::std::os::raw::c_int, - doupd: bool, - centermode: ::std::os::raw::c_int, - ), - >, - pub AnyTrackSolo: Option bool>, - pub APIExists: - Option bool>, - pub APITest: Option, - pub ApplyNudge: Option< - unsafe extern "C" fn( - project: *mut root::ReaProject, - nudgeflag: ::std::os::raw::c_int, - nudgewhat: ::std::os::raw::c_int, - nudgeunits: ::std::os::raw::c_int, - value: f64, - reverse: bool, - copies: ::std::os::raw::c_int, - ) -> bool, - >, - pub ArmCommand: Option< - unsafe extern "C" fn( - cmd: ::std::os::raw::c_int, - sectionname: *const ::std::os::raw::c_char, - ), - >, - pub Audio_Init: Option, - pub Audio_IsPreBuffer: Option ::std::os::raw::c_int>, - pub Audio_IsRunning: Option ::std::os::raw::c_int>, - pub Audio_Quit: Option, - pub Audio_RegHardwareHook: Option< - unsafe extern "C" fn( - isAdd: bool, - reg: *mut root::audio_hook_register_t, - ) -> ::std::os::raw::c_int, - >, - pub AudioAccessorStateChanged: - Option bool>, - pub AudioAccessorUpdate: - Option, - pub AudioAccessorValidateState: - Option bool>, - pub BypassFxAllTracks: Option, - pub CalcMediaSrcLoudness: - Option ::std::os::raw::c_int>, - pub CalculateNormalization: Option< - unsafe extern "C" fn( - source: *mut root::PCM_source, - normalizeTo: ::std::os::raw::c_int, - normalizeTarget: f64, - normalizeStart: f64, - normalizeEnd: f64, - ) -> f64, - >, - pub CalculatePeaks: Option< - unsafe extern "C" fn( - srcBlock: *mut root::PCM_source_transfer_t, - pksBlock: *mut root::PCM_source_peaktransfer_t, - ) -> ::std::os::raw::c_int, - >, - pub CalculatePeaksFloatSrcPtr: Option< - unsafe extern "C" fn( - srcBlock: *mut root::PCM_source_transfer_t, - pksBlock: *mut root::PCM_source_peaktransfer_t, - ) -> ::std::os::raw::c_int, - >, - pub ClearAllRecArmed: Option, - pub ClearConsole: Option, - pub ClearPeakCache: Option, - pub ColorFromNative: Option< - unsafe extern "C" fn( - col: ::std::os::raw::c_int, - rOut: *mut ::std::os::raw::c_int, - gOut: *mut ::std::os::raw::c_int, - bOut: *mut ::std::os::raw::c_int, - ), - >, - pub ColorToNative: Option< - extern "C" fn( - r: ::std::os::raw::c_int, - g: ::std::os::raw::c_int, - b: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub CountActionShortcuts: Option< - unsafe extern "C" fn( - section: *mut root::KbdSectionInfo, - cmdID: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub CountAutomationItems: - Option ::std::os::raw::c_int>, - pub CountEnvelopePoints: - Option ::std::os::raw::c_int>, - pub CountEnvelopePointsEx: Option< - unsafe extern "C" fn( - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub CountMediaItems: - Option ::std::os::raw::c_int>, - pub CountProjectMarkers: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - num_markersOut: *mut ::std::os::raw::c_int, - num_regionsOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub CountSelectedMediaItems: - Option ::std::os::raw::c_int>, - pub CountSelectedTracks: - Option ::std::os::raw::c_int>, - pub CountSelectedTracks2: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - wantmaster: bool, - ) -> ::std::os::raw::c_int, - >, - pub CountTakeEnvelopes: - Option ::std::os::raw::c_int>, - pub CountTakes: - Option ::std::os::raw::c_int>, - pub CountTCPFXParms: Option< - unsafe extern "C" fn( - project: *mut root::ReaProject, - track: *mut root::MediaTrack, - ) -> ::std::os::raw::c_int, - >, - pub CountTempoTimeSigMarkers: - Option ::std::os::raw::c_int>, - pub CountTrackEnvelopes: - Option ::std::os::raw::c_int>, - pub CountTrackMediaItems: - Option ::std::os::raw::c_int>, - pub CountTracks: - Option ::std::os::raw::c_int>, - pub CreateLocalOscHandler: Option< - unsafe extern "C" fn( - obj: *mut ::std::os::raw::c_void, - callback: *mut ::std::os::raw::c_void, - ) -> *mut ::std::os::raw::c_void, - >, - pub CreateMIDIInput: Option *mut root::midi_Input>, - pub CreateMIDIOutput: Option< - unsafe extern "C" fn( - dev: ::std::os::raw::c_int, - streamMode: bool, - msoffset100: *mut ::std::os::raw::c_int, - ) -> *mut root::midi_Output, - >, - pub CreateNewMIDIItemInProj: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - starttime: f64, - endtime: f64, - qnInOptional: *const bool, - ) -> *mut root::MediaItem, - >, - pub CreateTakeAudioAccessor: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - ) -> *mut root::reaper_functions::AudioAccessor, - >, - pub CreateTrackAudioAccessor: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - ) -> *mut root::reaper_functions::AudioAccessor, - >, - pub CreateTrackSend: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - desttrInOptional: *mut root::MediaTrack, - ) -> ::std::os::raw::c_int, - >, - pub CSurf_FlushUndo: Option, - pub CSurf_GetTouchState: Option< - unsafe extern "C" fn(trackid: *mut root::MediaTrack, isPan: ::std::os::raw::c_int) -> bool, - >, - pub CSurf_GoEnd: Option, - pub CSurf_GoStart: Option, - pub CSurf_NumTracks: Option ::std::os::raw::c_int>, - pub CSurf_OnArrow: Option, - pub CSurf_OnFwd: Option, - pub CSurf_OnFXChange: Option< - unsafe extern "C" fn(trackid: *mut root::MediaTrack, en: ::std::os::raw::c_int) -> bool, - >, - pub CSurf_OnInputMonitorChange: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - monitor: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub CSurf_OnInputMonitorChangeEx: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - monitor: ::std::os::raw::c_int, - allowgang: bool, - ) -> ::std::os::raw::c_int, - >, - pub CSurf_OnMuteChange: Option< - unsafe extern "C" fn(trackid: *mut root::MediaTrack, mute: ::std::os::raw::c_int) -> bool, - >, - pub CSurf_OnMuteChangeEx: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - mute: ::std::os::raw::c_int, - allowgang: bool, - ) -> bool, - >, - pub CSurf_OnOscControlMessage: - Option, - pub CSurf_OnOscControlMessage2: Option< - unsafe extern "C" fn( - msg: *const ::std::os::raw::c_char, - arg: *const f32, - argstr: *const ::std::os::raw::c_char, - ), - >, - pub CSurf_OnPanChange: Option< - unsafe extern "C" fn(trackid: *mut root::MediaTrack, pan: f64, relative: bool) -> f64, - >, - pub CSurf_OnPanChangeEx: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - pan: f64, - relative: bool, - allowGang: bool, - ) -> f64, - >, - pub CSurf_OnPause: Option, - pub CSurf_OnPlay: Option, - pub CSurf_OnPlayRateChange: Option, - pub CSurf_OnRecArmChange: Option< - unsafe extern "C" fn(trackid: *mut root::MediaTrack, recarm: ::std::os::raw::c_int) -> bool, - >, - pub CSurf_OnRecArmChangeEx: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - recarm: ::std::os::raw::c_int, - allowgang: bool, - ) -> bool, - >, - pub CSurf_OnRecord: Option, - pub CSurf_OnRecvPanChange: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - recv_index: ::std::os::raw::c_int, - pan: f64, - relative: bool, - ) -> f64, - >, - pub CSurf_OnRecvVolumeChange: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - recv_index: ::std::os::raw::c_int, - volume: f64, - relative: bool, - ) -> f64, - >, - pub CSurf_OnRew: Option, - pub CSurf_OnRewFwd: - Option, - pub CSurf_OnScroll: - Option, - pub CSurf_OnSelectedChange: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - selected: ::std::os::raw::c_int, - ) -> bool, - >, - pub CSurf_OnSendPanChange: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - send_index: ::std::os::raw::c_int, - pan: f64, - relative: bool, - ) -> f64, - >, - pub CSurf_OnSendVolumeChange: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - send_index: ::std::os::raw::c_int, - volume: f64, - relative: bool, - ) -> f64, - >, - pub CSurf_OnSoloChange: Option< - unsafe extern "C" fn(trackid: *mut root::MediaTrack, solo: ::std::os::raw::c_int) -> bool, - >, - pub CSurf_OnSoloChangeEx: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - solo: ::std::os::raw::c_int, - allowgang: bool, - ) -> bool, - >, - pub CSurf_OnStop: Option, - pub CSurf_OnTempoChange: Option, - pub CSurf_OnTrackSelection: Option, - pub CSurf_OnVolumeChange: Option< - unsafe extern "C" fn(trackid: *mut root::MediaTrack, volume: f64, relative: bool) -> f64, - >, - pub CSurf_OnVolumeChangeEx: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - volume: f64, - relative: bool, - allowGang: bool, - ) -> f64, - >, - pub CSurf_OnWidthChange: Option< - unsafe extern "C" fn(trackid: *mut root::MediaTrack, width: f64, relative: bool) -> f64, - >, - pub CSurf_OnWidthChangeEx: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - width: f64, - relative: bool, - allowGang: bool, - ) -> f64, - >, - pub CSurf_OnZoom: - Option, - pub CSurf_ResetAllCachedVolPanStates: Option, - pub CSurf_ScrubAmt: Option, - pub CSurf_SetAutoMode: Option< - unsafe extern "C" fn( - mode: ::std::os::raw::c_int, - ignoresurf: *mut root::IReaperControlSurface, - ), - >, - pub CSurf_SetPlayState: Option< - unsafe extern "C" fn( - play: bool, - pause: bool, - rec: bool, - ignoresurf: *mut root::IReaperControlSurface, - ), - >, - pub CSurf_SetRepeatState: - Option, - pub CSurf_SetSurfaceMute: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - mute: bool, - ignoresurf: *mut root::IReaperControlSurface, - ), - >, - pub CSurf_SetSurfacePan: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - pan: f64, - ignoresurf: *mut root::IReaperControlSurface, - ), - >, - pub CSurf_SetSurfaceRecArm: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - recarm: bool, - ignoresurf: *mut root::IReaperControlSurface, - ), - >, - pub CSurf_SetSurfaceSelected: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - selected: bool, - ignoresurf: *mut root::IReaperControlSurface, - ), - >, - pub CSurf_SetSurfaceSolo: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - solo: bool, - ignoresurf: *mut root::IReaperControlSurface, - ), - >, - pub CSurf_SetSurfaceVolume: Option< - unsafe extern "C" fn( - trackid: *mut root::MediaTrack, - volume: f64, - ignoresurf: *mut root::IReaperControlSurface, - ), - >, - pub CSurf_SetTrackListChange: Option, - pub CSurf_TrackFromID: - Option *mut root::MediaTrack>, - pub CSurf_TrackToID: Option< - unsafe extern "C" fn(track: *mut root::MediaTrack, mcpView: bool) -> ::std::os::raw::c_int, - >, - pub DB2SLIDER: Option f64>, - pub DeleteActionShortcut: Option< - unsafe extern "C" fn( - section: *mut root::KbdSectionInfo, - cmdID: ::std::os::raw::c_int, - shortcutidx: ::std::os::raw::c_int, - ) -> bool, - >, - pub DeleteEnvelopePointEx: Option< - unsafe extern "C" fn( - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - ptidx: ::std::os::raw::c_int, - ) -> bool, - >, - pub DeleteEnvelopePointRange: Option< - unsafe extern "C" fn( - envelope: *mut root::TrackEnvelope, - time_start: f64, - time_end: f64, - ) -> bool, - >, - pub DeleteEnvelopePointRangeEx: Option< - unsafe extern "C" fn( - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - time_start: f64, - time_end: f64, - ) -> bool, - >, - pub DeleteExtState: Option< - unsafe extern "C" fn( - section: *const ::std::os::raw::c_char, - key: *const ::std::os::raw::c_char, - persist: bool, - ), - >, - pub DeleteProjectMarker: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - markrgnindexnumber: ::std::os::raw::c_int, - isrgn: bool, - ) -> bool, - >, - pub DeleteProjectMarkerByIndex: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - markrgnidx: ::std::os::raw::c_int, - ) -> bool, - >, - pub DeleteTakeMarker: Option< - unsafe extern "C" fn(take: *mut root::MediaItem_Take, idx: ::std::os::raw::c_int) -> bool, - >, - pub DeleteTakeStretchMarkers: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - idx: ::std::os::raw::c_int, - countInOptional: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub DeleteTempoTimeSigMarker: Option< - unsafe extern "C" fn( - project: *mut root::ReaProject, - markerindex: ::std::os::raw::c_int, - ) -> bool, - >, - pub DeleteTrack: Option, - pub DeleteTrackMediaItem: - Option bool>, - pub DestroyAudioAccessor: - Option, - pub DestroyLocalOscHandler: - Option, - pub DoActionShortcutDialog: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - section: *mut root::KbdSectionInfo, - cmdID: ::std::os::raw::c_int, - shortcutidx: ::std::os::raw::c_int, - ) -> bool, - >, - pub Dock_UpdateDockID: Option< - unsafe extern "C" fn( - ident_str: *const ::std::os::raw::c_char, - whichDock: ::std::os::raw::c_int, - ), - >, - pub DockGetPosition: - Option ::std::os::raw::c_int>, - pub DockIsChildOfDock: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - isFloatingDockerOut: *mut bool, - ) -> ::std::os::raw::c_int, - >, - pub DockWindowActivate: Option, - pub DockWindowAdd: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - name: *const ::std::os::raw::c_char, - pos: ::std::os::raw::c_int, - allowShow: bool, - ), - >, - pub DockWindowAddEx: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - name: *const ::std::os::raw::c_char, - identstr: *const ::std::os::raw::c_char, - allowShow: bool, - ), - >, - pub DockWindowRefresh: Option, - pub DockWindowRefreshForHWND: Option, - pub DockWindowRemove: Option, - pub DuplicateCustomizableMenu: Option< - unsafe extern "C" fn( - srcmenu: *mut ::std::os::raw::c_void, - destmenu: *mut ::std::os::raw::c_void, - ) -> bool, - >, - pub EditTempoTimeSigMarker: Option< - unsafe extern "C" fn( - project: *mut root::ReaProject, - markerindex: ::std::os::raw::c_int, - ) -> bool, - >, - pub EnsureNotCompletelyOffscreen: Option, - pub EnumerateFiles: Option< - unsafe extern "C" fn( - path: *const ::std::os::raw::c_char, - fileindex: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char, - >, - pub EnumerateSubdirectories: Option< - unsafe extern "C" fn( - path: *const ::std::os::raw::c_char, - subdirindex: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char, - >, - pub EnumInstalledFX: Option< - unsafe extern "C" fn( - index: ::std::os::raw::c_int, - nameOut: *mut *const ::std::os::raw::c_char, - identOut: *mut *const ::std::os::raw::c_char, - ) -> bool, - >, - pub EnumPitchShiftModes: Option< - unsafe extern "C" fn( - mode: ::std::os::raw::c_int, - strOut: *mut *const ::std::os::raw::c_char, - ) -> bool, - >, - pub EnumPitchShiftSubModes: Option< - extern "C" fn( - mode: ::std::os::raw::c_int, - submode: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char, - >, - pub EnumProjectMarkers: Option< - unsafe extern "C" fn( - idx: ::std::os::raw::c_int, - isrgnOut: *mut bool, - posOut: *mut f64, - rgnendOut: *mut f64, - nameOut: *mut *const ::std::os::raw::c_char, - markrgnindexnumberOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub EnumProjectMarkers2: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - idx: ::std::os::raw::c_int, - isrgnOut: *mut bool, - posOut: *mut f64, - rgnendOut: *mut f64, - nameOut: *mut *const ::std::os::raw::c_char, - markrgnindexnumberOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub EnumProjectMarkers3: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - idx: ::std::os::raw::c_int, - isrgnOut: *mut bool, - posOut: *mut f64, - rgnendOut: *mut f64, - nameOut: *mut *const ::std::os::raw::c_char, - markrgnindexnumberOut: *mut ::std::os::raw::c_int, - colorOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub EnumProjects: Option< - unsafe extern "C" fn( - idx: ::std::os::raw::c_int, - projfnOutOptional: *mut ::std::os::raw::c_char, - projfnOutOptional_sz: ::std::os::raw::c_int, - ) -> *mut root::ReaProject, - >, - pub EnumProjExtState: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - extname: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - keyOutOptional: *mut ::std::os::raw::c_char, - keyOutOptional_sz: ::std::os::raw::c_int, - valOutOptional: *mut ::std::os::raw::c_char, - valOutOptional_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub EnumRegionRenderMatrix: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - regionindex: ::std::os::raw::c_int, - rendertrack: ::std::os::raw::c_int, - ) -> *mut root::MediaTrack, - >, - pub EnumTrackMIDIProgramNames: Option< - unsafe extern "C" fn( - track: ::std::os::raw::c_int, - programNumber: ::std::os::raw::c_int, - programName: *mut ::std::os::raw::c_char, - programName_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub EnumTrackMIDIProgramNamesEx: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - track: *mut root::MediaTrack, - programNumber: ::std::os::raw::c_int, - programName: *mut ::std::os::raw::c_char, - programName_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub Envelope_Evaluate: Option< - unsafe extern "C" fn( - envelope: *mut root::TrackEnvelope, - time: f64, - samplerate: f64, - samplesRequested: ::std::os::raw::c_int, - valueOut: *mut f64, - dVdSOut: *mut f64, - ddVdSOut: *mut f64, - dddVdSOut: *mut f64, - ) -> ::std::os::raw::c_int, - >, - pub Envelope_FormatValue: Option< - unsafe extern "C" fn( - env: *mut root::TrackEnvelope, - value: f64, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ), - >, - pub Envelope_GetParentTake: Option< - unsafe extern "C" fn( - env: *mut root::TrackEnvelope, - indexOut: *mut ::std::os::raw::c_int, - index2Out: *mut ::std::os::raw::c_int, - ) -> *mut root::MediaItem_Take, - >, - pub Envelope_GetParentTrack: Option< - unsafe extern "C" fn( - env: *mut root::TrackEnvelope, - indexOut: *mut ::std::os::raw::c_int, - index2Out: *mut ::std::os::raw::c_int, - ) -> *mut root::MediaTrack, - >, - pub Envelope_SortPoints: - Option bool>, - pub Envelope_SortPointsEx: Option< - unsafe extern "C" fn( - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - ) -> bool, - >, - pub ExecProcess: Option< - unsafe extern "C" fn( - cmdline: *const ::std::os::raw::c_char, - timeoutmsec: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char, - >, - pub file_exists: Option bool>, - pub FindTempoTimeSigMarker: Option< - unsafe extern "C" fn(project: *mut root::ReaProject, time: f64) -> ::std::os::raw::c_int, - >, - pub format_timestr: Option< - unsafe extern "C" fn( - tpos: f64, - buf: *mut ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - ), - >, - pub format_timestr_len: Option< - unsafe extern "C" fn( - tpos: f64, - buf: *mut ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - offset: f64, - modeoverride: ::std::os::raw::c_int, - ), - >, - pub format_timestr_pos: Option< - unsafe extern "C" fn( - tpos: f64, - buf: *mut ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - modeoverride: ::std::os::raw::c_int, - ), - >, - pub FreeHeapPtr: Option, - pub genGuid: Option, - pub get_config_var: Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - szOut: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void, - >, - pub get_config_var_string: Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub get_ini_file: Option *const ::std::os::raw::c_char>, - pub get_midi_config_var: Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - szOut: *mut ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void, - >, - pub GetActionShortcutDesc: Option< - unsafe extern "C" fn( - section: *mut root::KbdSectionInfo, - cmdID: ::std::os::raw::c_int, - shortcutidx: ::std::os::raw::c_int, - descOut: *mut ::std::os::raw::c_char, - descOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub GetActiveTake: - Option *mut root::MediaItem_Take>, - pub GetAllProjectPlayStates: - Option ::std::os::raw::c_int>, - pub GetAppVersion: Option *const ::std::os::raw::c_char>, - pub GetArmedCommand: Option< - unsafe extern "C" fn( - secOut: *mut ::std::os::raw::c_char, - secOut_sz: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetAudioAccessorEndTime: - Option f64>, - pub GetAudioAccessorHash: Option< - unsafe extern "C" fn( - accessor: *mut root::reaper_functions::AudioAccessor, - hashNeed128: *mut ::std::os::raw::c_char, - ), - >, - pub GetAudioAccessorSamples: Option< - unsafe extern "C" fn( - accessor: *mut root::reaper_functions::AudioAccessor, - samplerate: ::std::os::raw::c_int, - numchannels: ::std::os::raw::c_int, - starttime_sec: f64, - numsamplesperchannel: ::std::os::raw::c_int, - samplebuffer: *mut f64, - ) -> ::std::os::raw::c_int, - >, - pub GetAudioAccessorStartTime: - Option f64>, - pub GetAudioDeviceInfo: Option< - unsafe extern "C" fn( - attribute: *const ::std::os::raw::c_char, - descOut: *mut ::std::os::raw::c_char, - descOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub GetColorTheme: Option< - extern "C" fn(idx: ::std::os::raw::c_int, defval: ::std::os::raw::c_int) -> root::INT_PTR, - >, - pub GetColorThemeStruct: Option< - unsafe extern "C" fn(szOut: *mut ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void, - >, - pub GetConfigWantsDock: Option< - unsafe extern "C" fn(ident_str: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, - >, - pub GetContextMenu: Option root::HMENU>, - pub GetCurrentProjectInLoadSave: Option *mut root::ReaProject>, - pub GetCursorContext: Option ::std::os::raw::c_int>, - pub GetCursorContext2: Option ::std::os::raw::c_int>, - pub GetCursorPosition: Option f64>, - pub GetCursorPositionEx: Option f64>, - pub GetDisplayedMediaItemColor: - Option ::std::os::raw::c_int>, - pub GetDisplayedMediaItemColor2: Option< - unsafe extern "C" fn( - item: *mut root::MediaItem, - take: *mut root::MediaItem_Take, - ) -> ::std::os::raw::c_int, - >, - pub GetEnvelopeInfo_Value: Option< - unsafe extern "C" fn( - env: *mut root::TrackEnvelope, - parmname: *const ::std::os::raw::c_char, - ) -> f64, - >, - pub GetEnvelopeName: Option< - unsafe extern "C" fn( - env: *mut root::TrackEnvelope, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub GetEnvelopePoint: Option< - unsafe extern "C" fn( - envelope: *mut root::TrackEnvelope, - ptidx: ::std::os::raw::c_int, - timeOut: *mut f64, - valueOut: *mut f64, - shapeOut: *mut ::std::os::raw::c_int, - tensionOut: *mut f64, - selectedOut: *mut bool, - ) -> bool, - >, - pub GetEnvelopePointByTime: Option< - unsafe extern "C" fn( - envelope: *mut root::TrackEnvelope, - time: f64, - ) -> ::std::os::raw::c_int, - >, - pub GetEnvelopePointByTimeEx: Option< - unsafe extern "C" fn( - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - time: f64, - ) -> ::std::os::raw::c_int, - >, - pub GetEnvelopePointEx: Option< - unsafe extern "C" fn( - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - ptidx: ::std::os::raw::c_int, - timeOut: *mut f64, - valueOut: *mut f64, - shapeOut: *mut ::std::os::raw::c_int, - tensionOut: *mut f64, - selectedOut: *mut bool, - ) -> bool, - >, - pub GetEnvelopeScalingMode: - Option ::std::os::raw::c_int>, - pub GetEnvelopeStateChunk: Option< - unsafe extern "C" fn( - env: *mut root::TrackEnvelope, - strNeedBig: *mut ::std::os::raw::c_char, - strNeedBig_sz: ::std::os::raw::c_int, - isundoOptional: bool, - ) -> bool, - >, - pub GetEnvelopeUIState: - Option ::std::os::raw::c_int>, - pub GetExePath: Option *const ::std::os::raw::c_char>, - pub GetExtState: Option< - unsafe extern "C" fn( - section: *const ::std::os::raw::c_char, - key: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char, - >, - pub GetFocusedFX: Option< - unsafe extern "C" fn( - tracknumberOut: *mut ::std::os::raw::c_int, - itemnumberOut: *mut ::std::os::raw::c_int, - fxnumberOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetFocusedFX2: Option< - unsafe extern "C" fn( - tracknumberOut: *mut ::std::os::raw::c_int, - itemnumberOut: *mut ::std::os::raw::c_int, - fxnumberOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetFreeDiskSpaceForRecordPath: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - pathidx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetFXEnvelope: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fxindex: ::std::os::raw::c_int, - parameterindex: ::std::os::raw::c_int, - create: bool, - ) -> *mut root::TrackEnvelope, - >, - pub GetGlobalAutomationOverride: Option ::std::os::raw::c_int>, - pub GetHZoomLevel: Option f64>, - pub GetIconThemePointer: Option< - unsafe extern "C" fn(name: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_void, - >, - pub GetIconThemePointerForDPI: Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - dpisc: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void, - >, - pub GetIconThemeStruct: Option< - unsafe extern "C" fn(szOut: *mut ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void, - >, - pub GetInputActivityLevel: Option f64>, - pub GetInputChannelName: - Option *const ::std::os::raw::c_char>, - pub GetInputOutputLatency: Option< - unsafe extern "C" fn( - inputlatencyOut: *mut ::std::os::raw::c_int, - outputLatencyOut: *mut ::std::os::raw::c_int, - ), - >, - pub GetItemEditingTime2: Option< - unsafe extern "C" fn( - which_itemOut: *mut *mut root::PCM_source, - flagsOut: *mut ::std::os::raw::c_int, - ) -> f64, - >, - pub GetItemFromPoint: Option< - unsafe extern "C" fn( - screen_x: ::std::os::raw::c_int, - screen_y: ::std::os::raw::c_int, - allow_locked: bool, - takeOutOptional: *mut *mut root::MediaItem_Take, - ) -> *mut root::MediaItem, - >, - pub GetItemProjectContext: - Option *mut root::ReaProject>, - pub GetItemStateChunk: Option< - unsafe extern "C" fn( - item: *mut root::MediaItem, - strNeedBig: *mut ::std::os::raw::c_char, - strNeedBig_sz: ::std::os::raw::c_int, - isundoOptional: bool, - ) -> bool, - >, - pub GetLastColorThemeFile: Option *const ::std::os::raw::c_char>, - pub GetLastMarkerAndCurRegion: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - time: f64, - markeridxOut: *mut ::std::os::raw::c_int, - regionidxOut: *mut ::std::os::raw::c_int, - ), - >, - pub GetLastTouchedFX: Option< - unsafe extern "C" fn( - tracknumberOut: *mut ::std::os::raw::c_int, - fxnumberOut: *mut ::std::os::raw::c_int, - paramnumberOut: *mut ::std::os::raw::c_int, - ) -> bool, - >, - pub GetLastTouchedTrack: Option *mut root::MediaTrack>, - pub GetMainHwnd: Option root::HWND>, - pub GetMasterMuteSoloFlags: Option ::std::os::raw::c_int>, - pub GetMasterTrack: - Option *mut root::MediaTrack>, - pub GetMasterTrackVisibility: Option ::std::os::raw::c_int>, - pub GetMaxMidiInputs: Option ::std::os::raw::c_int>, - pub GetMaxMidiOutputs: Option ::std::os::raw::c_int>, - pub GetMediaFileMetadata: Option< - unsafe extern "C" fn( - mediaSource: *mut root::PCM_source, - identifier: *const ::std::os::raw::c_char, - bufOutNeedBig: *mut ::std::os::raw::c_char, - bufOutNeedBig_sz: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetMediaItem: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - itemidx: ::std::os::raw::c_int, - ) -> *mut root::MediaItem, - >, - pub GetMediaItem_Track: - Option *mut root::MediaTrack>, - pub GetMediaItemInfo_Value: Option< - unsafe extern "C" fn( - item: *mut root::MediaItem, - parmname: *const ::std::os::raw::c_char, - ) -> f64, - >, - pub GetMediaItemNumTakes: - Option ::std::os::raw::c_int>, - pub GetMediaItemTake: Option< - unsafe extern "C" fn( - item: *mut root::MediaItem, - tk: ::std::os::raw::c_int, - ) -> *mut root::MediaItem_Take, - >, - pub GetMediaItemTake_Item: - Option *mut root::MediaItem>, - pub GetMediaItemTake_Peaks: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - peakrate: f64, - starttime: f64, - numchannels: ::std::os::raw::c_int, - numsamplesperchannel: ::std::os::raw::c_int, - want_extra_type: ::std::os::raw::c_int, - buf: *mut f64, - ) -> ::std::os::raw::c_int, - >, - pub GetMediaItemTake_Source: - Option *mut root::PCM_source>, - pub GetMediaItemTake_Track: - Option *mut root::MediaTrack>, - pub GetMediaItemTakeByGUID: Option< - unsafe extern "C" fn( - project: *mut root::ReaProject, - guid: *const root::GUID, - ) -> *mut root::MediaItem_Take, - >, - pub GetMediaItemTakeInfo_Value: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - parmname: *const ::std::os::raw::c_char, - ) -> f64, - >, - pub GetMediaItemTrack: - Option *mut root::MediaTrack>, - pub GetMediaSourceFileName: Option< - unsafe extern "C" fn( - source: *mut root::PCM_source, - filenamebufOut: *mut ::std::os::raw::c_char, - filenamebufOut_sz: ::std::os::raw::c_int, - ), - >, - pub GetMediaSourceLength: Option< - unsafe extern "C" fn(source: *mut root::PCM_source, lengthIsQNOut: *mut bool) -> f64, - >, - pub GetMediaSourceNumChannels: - Option ::std::os::raw::c_int>, - pub GetMediaSourceParent: - Option *mut root::PCM_source>, - pub GetMediaSourceSampleRate: - Option ::std::os::raw::c_int>, - pub GetMediaSourceType: Option< - unsafe extern "C" fn( - source: *mut root::PCM_source, - typebufOut: *mut ::std::os::raw::c_char, - typebufOut_sz: ::std::os::raw::c_int, - ), - >, - pub GetMediaTrackInfo_Value: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - parmname: *const ::std::os::raw::c_char, - ) -> f64, - >, - pub GetMIDIInputName: Option< - unsafe extern "C" fn( - dev: ::std::os::raw::c_int, - nameout: *mut ::std::os::raw::c_char, - nameout_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub GetMIDIOutputName: Option< - unsafe extern "C" fn( - dev: ::std::os::raw::c_int, - nameout: *mut ::std::os::raw::c_char, - nameout_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub GetMixerScroll: Option *mut root::MediaTrack>, - pub GetMouseModifier: Option< - unsafe extern "C" fn( - context: *const ::std::os::raw::c_char, - modifier_flag: ::std::os::raw::c_int, - actionOut: *mut ::std::os::raw::c_char, - actionOut_sz: ::std::os::raw::c_int, - ), - >, - pub GetMousePosition: Option< - unsafe extern "C" fn(xOut: *mut ::std::os::raw::c_int, yOut: *mut ::std::os::raw::c_int), - >, - pub GetNumAudioInputs: Option ::std::os::raw::c_int>, - pub GetNumAudioOutputs: Option ::std::os::raw::c_int>, - pub GetNumMIDIInputs: Option ::std::os::raw::c_int>, - pub GetNumMIDIOutputs: Option ::std::os::raw::c_int>, - pub GetNumTakeMarkers: - Option ::std::os::raw::c_int>, - pub GetNumTracks: Option ::std::os::raw::c_int>, - pub GetOS: Option *const ::std::os::raw::c_char>, - pub GetOutputChannelName: - Option *const ::std::os::raw::c_char>, - pub GetOutputLatency: Option f64>, - pub GetParentTrack: - Option *mut root::MediaTrack>, - pub GetPeakFileName: Option< - unsafe extern "C" fn( - fn_: *const ::std::os::raw::c_char, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ), - >, - pub GetPeakFileNameEx: Option< - unsafe extern "C" fn( - fn_: *const ::std::os::raw::c_char, - buf: *mut ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - forWrite: bool, - ), - >, - pub GetPeakFileNameEx2: Option< - unsafe extern "C" fn( - fn_: *const ::std::os::raw::c_char, - buf: *mut ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - forWrite: bool, - peaksfileextension: *const ::std::os::raw::c_char, - ), - >, - pub GetPeaksBitmap: Option< - unsafe extern "C" fn( - pks: *mut root::PCM_source_peaktransfer_t, - maxamp: f64, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - bmp: *mut root::reaper_functions::LICE_IBitmap, - ) -> *mut ::std::os::raw::c_void, - >, - pub GetPlayPosition: Option f64>, - pub GetPlayPosition2: Option f64>, - pub GetPlayPosition2Ex: Option f64>, - pub GetPlayPositionEx: Option f64>, - pub GetPlayState: Option ::std::os::raw::c_int>, - pub GetPlayStateEx: - Option ::std::os::raw::c_int>, - pub GetPreferredDiskReadMode: Option< - unsafe extern "C" fn( - mode: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - bs: *mut ::std::os::raw::c_int, - ), - >, - pub GetPreferredDiskReadModePeak: Option< - unsafe extern "C" fn( - mode: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - bs: *mut ::std::os::raw::c_int, - ), - >, - pub GetPreferredDiskWriteMode: Option< - unsafe extern "C" fn( - mode: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - bs: *mut ::std::os::raw::c_int, - ), - >, - pub GetProjectLength: Option f64>, - pub GetProjectName: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ), - >, - pub GetProjectPath: Option< - unsafe extern "C" fn(bufOut: *mut ::std::os::raw::c_char, bufOut_sz: ::std::os::raw::c_int), - >, - pub GetProjectPathEx: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ), - >, - pub GetProjectStateChangeCount: - Option ::std::os::raw::c_int>, - pub GetProjectTimeOffset: - Option f64>, - pub GetProjectTimeSignature: Option, - pub GetProjectTimeSignature2: Option< - unsafe extern "C" fn(proj: *mut root::ReaProject, bpmOut: *mut f64, bpiOut: *mut f64), - >, - pub GetProjExtState: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - extname: *const ::std::os::raw::c_char, - key: *const ::std::os::raw::c_char, - valOutNeedBig: *mut ::std::os::raw::c_char, - valOutNeedBig_sz: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetResourcePath: Option *const ::std::os::raw::c_char>, - pub GetSelectedEnvelope: - Option *mut root::TrackEnvelope>, - pub GetSelectedMediaItem: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - selitem: ::std::os::raw::c_int, - ) -> *mut root::MediaItem, - >, - pub GetSelectedTrack: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - seltrackidx: ::std::os::raw::c_int, - ) -> *mut root::MediaTrack, - >, - pub GetSelectedTrack2: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - seltrackidx: ::std::os::raw::c_int, - wantmaster: bool, - ) -> *mut root::MediaTrack, - >, - pub GetSelectedTrackEnvelope: - Option *mut root::TrackEnvelope>, - pub GetSet_ArrangeView2: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - isSet: bool, - screen_x_start: ::std::os::raw::c_int, - screen_x_end: ::std::os::raw::c_int, - start_timeInOut: *mut f64, - end_timeInOut: *mut f64, - ), - >, - pub GetSet_LoopTimeRange: Option< - unsafe extern "C" fn( - isSet: bool, - isLoop: bool, - startOut: *mut f64, - endOut: *mut f64, - allowautoseek: bool, - ), - >, - pub GetSet_LoopTimeRange2: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - isSet: bool, - isLoop: bool, - startOut: *mut f64, - endOut: *mut f64, - allowautoseek: bool, - ), - >, - pub GetSetAutomationItemInfo: Option< - unsafe extern "C" fn( - env: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - desc: *const ::std::os::raw::c_char, - value: f64, - is_set: bool, - ) -> f64, - >, - pub GetSetAutomationItemInfo_String: Option< - unsafe extern "C" fn( - env: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - desc: *const ::std::os::raw::c_char, - valuestrNeedBig: *mut ::std::os::raw::c_char, - is_set: bool, - ) -> bool, - >, - pub GetSetEnvelopeInfo_String: Option< - unsafe extern "C" fn( - env: *mut root::TrackEnvelope, - parmname: *const ::std::os::raw::c_char, - stringNeedBig: *mut ::std::os::raw::c_char, - setNewValue: bool, - ) -> bool, - >, - pub GetSetEnvelopeState: Option< - unsafe extern "C" fn( - env: *mut root::TrackEnvelope, - str: *mut ::std::os::raw::c_char, - str_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub GetSetEnvelopeState2: Option< - unsafe extern "C" fn( - env: *mut root::TrackEnvelope, - str: *mut ::std::os::raw::c_char, - str_sz: ::std::os::raw::c_int, - isundo: bool, - ) -> bool, - >, - pub GetSetItemState: Option< - unsafe extern "C" fn( - item: *mut root::MediaItem, - str: *mut ::std::os::raw::c_char, - str_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub GetSetItemState2: Option< - unsafe extern "C" fn( - item: *mut root::MediaItem, - str: *mut ::std::os::raw::c_char, - str_sz: ::std::os::raw::c_int, - isundo: bool, - ) -> bool, - >, - pub GetSetMediaItemInfo: Option< - unsafe extern "C" fn( - item: *mut root::MediaItem, - parmname: *const ::std::os::raw::c_char, - setNewValue: *mut ::std::os::raw::c_void, - ) -> *mut ::std::os::raw::c_void, - >, - pub GetSetMediaItemInfo_String: Option< - unsafe extern "C" fn( - item: *mut root::MediaItem, - parmname: *const ::std::os::raw::c_char, - stringNeedBig: *mut ::std::os::raw::c_char, - setNewValue: bool, - ) -> bool, - >, - pub GetSetMediaItemTakeInfo: Option< - unsafe extern "C" fn( - tk: *mut root::MediaItem_Take, - parmname: *const ::std::os::raw::c_char, - setNewValue: *mut ::std::os::raw::c_void, - ) -> *mut ::std::os::raw::c_void, - >, - pub GetSetMediaItemTakeInfo_String: Option< - unsafe extern "C" fn( - tk: *mut root::MediaItem_Take, - parmname: *const ::std::os::raw::c_char, - stringNeedBig: *mut ::std::os::raw::c_char, - setNewValue: bool, - ) -> bool, - >, - pub GetSetMediaTrackInfo: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - parmname: *const ::std::os::raw::c_char, - setNewValue: *mut ::std::os::raw::c_void, - ) -> *mut ::std::os::raw::c_void, - >, - pub GetSetMediaTrackInfo_String: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - parmname: *const ::std::os::raw::c_char, - stringNeedBig: *mut ::std::os::raw::c_char, - setNewValue: bool, - ) -> bool, - >, - pub GetSetObjectState: Option< - unsafe extern "C" fn( - obj: *mut ::std::os::raw::c_void, - str: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char, - >, - pub GetSetObjectState2: Option< - unsafe extern "C" fn( - obj: *mut ::std::os::raw::c_void, - str: *const ::std::os::raw::c_char, - isundo: bool, - ) -> *mut ::std::os::raw::c_char, - >, - pub GetSetProjectAuthor: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - set: bool, - author: *mut ::std::os::raw::c_char, - author_sz: ::std::os::raw::c_int, - ), - >, - pub GetSetProjectGrid: Option< - unsafe extern "C" fn( - project: *mut root::ReaProject, - set: bool, - divisionInOutOptional: *mut f64, - swingmodeInOutOptional: *mut ::std::os::raw::c_int, - swingamtInOutOptional: *mut f64, - ) -> ::std::os::raw::c_int, - >, - pub GetSetProjectInfo: Option< - unsafe extern "C" fn( - project: *mut root::ReaProject, - desc: *const ::std::os::raw::c_char, - value: f64, - is_set: bool, - ) -> f64, - >, - pub GetSetProjectInfo_String: Option< - unsafe extern "C" fn( - project: *mut root::ReaProject, - desc: *const ::std::os::raw::c_char, - valuestrNeedBig: *mut ::std::os::raw::c_char, - is_set: bool, - ) -> bool, - >, - pub GetSetProjectNotes: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - set: bool, - notesNeedBig: *mut ::std::os::raw::c_char, - notesNeedBig_sz: ::std::os::raw::c_int, - ), - >, - pub GetSetRepeat: Option ::std::os::raw::c_int>, - pub GetSetRepeatEx: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - val: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetSetTempoTimeSigMarkerFlag: Option< - unsafe extern "C" fn( - project: *mut root::ReaProject, - point_index: ::std::os::raw::c_int, - flag: ::std::os::raw::c_int, - is_set: bool, - ) -> ::std::os::raw::c_int, - >, - pub GetSetTrackGroupMembership: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - groupname: *const ::std::os::raw::c_char, - setmask: ::std::os::raw::c_uint, - setvalue: ::std::os::raw::c_uint, - ) -> ::std::os::raw::c_uint, - >, - pub GetSetTrackGroupMembershipEx: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - groupname: *const ::std::os::raw::c_char, - offset: ::std::os::raw::c_int, - setmask: ::std::os::raw::c_uint, - setvalue: ::std::os::raw::c_uint, - ) -> ::std::os::raw::c_uint, - >, - pub GetSetTrackGroupMembershipHigh: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - groupname: *const ::std::os::raw::c_char, - setmask: ::std::os::raw::c_uint, - setvalue: ::std::os::raw::c_uint, - ) -> ::std::os::raw::c_uint, - >, - pub GetSetTrackMIDISupportFile: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - track: *mut root::MediaTrack, - which: ::std::os::raw::c_int, - filename: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char, - >, - pub GetSetTrackSendInfo: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - category: ::std::os::raw::c_int, - sendidx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - setNewValue: *mut ::std::os::raw::c_void, - ) -> *mut ::std::os::raw::c_void, - >, - pub GetSetTrackSendInfo_String: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - category: ::std::os::raw::c_int, - sendidx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - stringNeedBig: *mut ::std::os::raw::c_char, - setNewValue: bool, - ) -> bool, - >, - pub GetSetTrackState: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - str: *mut ::std::os::raw::c_char, - str_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub GetSetTrackState2: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - str: *mut ::std::os::raw::c_char, - str_sz: ::std::os::raw::c_int, - isundo: bool, - ) -> bool, - >, - pub GetSubProjectFromSource: - Option *mut root::ReaProject>, - pub GetTake: Option< - unsafe extern "C" fn( - item: *mut root::MediaItem, - takeidx: ::std::os::raw::c_int, - ) -> *mut root::MediaItem_Take, - >, - pub GetTakeEnvelope: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - envidx: ::std::os::raw::c_int, - ) -> *mut root::TrackEnvelope, - >, - pub GetTakeEnvelopeByName: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - envname: *const ::std::os::raw::c_char, - ) -> *mut root::TrackEnvelope, - >, - pub GetTakeMarker: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - idx: ::std::os::raw::c_int, - nameOut: *mut ::std::os::raw::c_char, - nameOut_sz: ::std::os::raw::c_int, - colorOutOptional: *mut ::std::os::raw::c_int, - ) -> f64, - >, - pub GetTakeName: Option< - unsafe extern "C" fn(take: *mut root::MediaItem_Take) -> *const ::std::os::raw::c_char, - >, - pub GetTakeNumStretchMarkers: - Option ::std::os::raw::c_int>, - pub GetTakeStretchMarker: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - idx: ::std::os::raw::c_int, - posOut: *mut f64, - srcposOutOptional: *mut f64, - ) -> ::std::os::raw::c_int, - >, - pub GetTakeStretchMarkerSlope: Option< - unsafe extern "C" fn(take: *mut root::MediaItem_Take, idx: ::std::os::raw::c_int) -> f64, - >, - pub GetTCPFXParm: Option< - unsafe extern "C" fn( - project: *mut root::ReaProject, - track: *mut root::MediaTrack, - index: ::std::os::raw::c_int, - fxindexOut: *mut ::std::os::raw::c_int, - parmidxOut: *mut ::std::os::raw::c_int, - ) -> bool, - >, - pub GetTempoMatchPlayRate: Option< - unsafe extern "C" fn( - source: *mut root::PCM_source, - srcscale: f64, - position: f64, - mult: f64, - rateOut: *mut f64, - targetlenOut: *mut f64, - ) -> bool, - >, - pub GetTempoTimeSigMarker: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - ptidx: ::std::os::raw::c_int, - timeposOut: *mut f64, - measureposOut: *mut ::std::os::raw::c_int, - beatposOut: *mut f64, - bpmOut: *mut f64, - timesig_numOut: *mut ::std::os::raw::c_int, - timesig_denomOut: *mut ::std::os::raw::c_int, - lineartempoOut: *mut bool, - ) -> bool, - >, - pub GetThemeColor: Option< - unsafe extern "C" fn( - ini_key: *const ::std::os::raw::c_char, - flagsOptional: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetThingFromPoint: Option< - unsafe extern "C" fn( - screen_x: ::std::os::raw::c_int, - screen_y: ::std::os::raw::c_int, - infoOut: *mut ::std::os::raw::c_char, - infoOut_sz: ::std::os::raw::c_int, - ) -> *mut root::MediaTrack, - >, - pub GetToggleCommandState: - Option ::std::os::raw::c_int>, - pub GetToggleCommandState2: Option< - unsafe extern "C" fn( - section: *mut root::KbdSectionInfo, - command_id: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetToggleCommandStateEx: Option< - extern "C" fn( - section_id: ::std::os::raw::c_int, - command_id: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetToggleCommandStateThroughHooks: Option< - unsafe extern "C" fn( - section: *mut root::KbdSectionInfo, - command_id: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetTooltipWindow: Option root::HWND>, - pub GetTouchedOrFocusedFX: Option< - unsafe extern "C" fn( - mode: ::std::os::raw::c_int, - trackidxOut: *mut ::std::os::raw::c_int, - itemidxOut: *mut ::std::os::raw::c_int, - takeidxOut: *mut ::std::os::raw::c_int, - fxidxOut: *mut ::std::os::raw::c_int, - parmOut: *mut ::std::os::raw::c_int, - ) -> bool, - >, - pub GetTrack: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - trackidx: ::std::os::raw::c_int, - ) -> *mut root::MediaTrack, - >, - pub GetTrackAutomationMode: - Option ::std::os::raw::c_int>, - pub GetTrackColor: - Option ::std::os::raw::c_int>, - pub GetTrackDepth: - Option ::std::os::raw::c_int>, - pub GetTrackEnvelope: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - envidx: ::std::os::raw::c_int, - ) -> *mut root::TrackEnvelope, - >, - pub GetTrackEnvelopeByChunkName: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - cfgchunkname_or_guid: *const ::std::os::raw::c_char, - ) -> *mut root::TrackEnvelope, - >, - pub GetTrackEnvelopeByName: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - envname: *const ::std::os::raw::c_char, - ) -> *mut root::TrackEnvelope, - >, - pub GetTrackFromPoint: Option< - unsafe extern "C" fn( - screen_x: ::std::os::raw::c_int, - screen_y: ::std::os::raw::c_int, - infoOutOptional: *mut ::std::os::raw::c_int, - ) -> *mut root::MediaTrack, - >, - pub GetTrackGUID: Option *mut root::GUID>, - pub GetTrackInfo: Option< - unsafe extern "C" fn( - track: root::INT_PTR, - flags: *mut ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char, - >, - pub GetTrackMediaItem: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - itemidx: ::std::os::raw::c_int, - ) -> *mut root::MediaItem, - >, - pub GetTrackMIDILyrics: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - flag: ::std::os::raw::c_int, - bufOutWantNeedBig: *mut ::std::os::raw::c_char, - bufOutWantNeedBig_sz: *mut ::std::os::raw::c_int, - ) -> bool, - >, - pub GetTrackMIDINoteName: Option< - extern "C" fn( - track: ::std::os::raw::c_int, - pitch: ::std::os::raw::c_int, - chan: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char, - >, - pub GetTrackMIDINoteNameEx: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - track: *mut root::MediaTrack, - pitch: ::std::os::raw::c_int, - chan: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char, - >, - pub GetTrackMIDINoteRange: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - track: *mut root::MediaTrack, - note_loOut: *mut ::std::os::raw::c_int, - note_hiOut: *mut ::std::os::raw::c_int, - ), - >, - pub GetTrackName: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub GetTrackNumMediaItems: - Option ::std::os::raw::c_int>, - pub GetTrackNumSends: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - category: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetTrackReceiveName: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - recv_index: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub GetTrackReceiveUIMute: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - recv_index: ::std::os::raw::c_int, - muteOut: *mut bool, - ) -> bool, - >, - pub GetTrackReceiveUIVolPan: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - recv_index: ::std::os::raw::c_int, - volumeOut: *mut f64, - panOut: *mut f64, - ) -> bool, - >, - pub GetTrackSendInfo_Value: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - category: ::std::os::raw::c_int, - sendidx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - ) -> f64, - >, - pub GetTrackSendName: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - send_index: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub GetTrackSendUIMute: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - send_index: ::std::os::raw::c_int, - muteOut: *mut bool, - ) -> bool, - >, - pub GetTrackSendUIVolPan: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - send_index: ::std::os::raw::c_int, - volumeOut: *mut f64, - panOut: *mut f64, - ) -> bool, - >, - pub GetTrackState: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - flagsOut: *mut ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char, - >, - pub GetTrackStateChunk: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - strNeedBig: *mut ::std::os::raw::c_char, - strNeedBig_sz: ::std::os::raw::c_int, - isundoOptional: bool, - ) -> bool, - >, - pub GetTrackUIMute: - Option bool>, - pub GetTrackUIPan: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - pan1Out: *mut f64, - pan2Out: *mut f64, - panmodeOut: *mut ::std::os::raw::c_int, - ) -> bool, - >, - pub GetTrackUIVolPan: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - volumeOut: *mut f64, - panOut: *mut f64, - ) -> bool, - >, - pub GetUnderrunTime: Option< - unsafe extern "C" fn( - audio_xrunOut: *mut ::std::os::raw::c_uint, - media_xrunOut: *mut ::std::os::raw::c_uint, - curtimeOut: *mut ::std::os::raw::c_uint, - ), - >, - pub GetUserFileNameForRead: Option< - unsafe extern "C" fn( - filenameNeed4096: *mut ::std::os::raw::c_char, - title: *const ::std::os::raw::c_char, - defext: *const ::std::os::raw::c_char, - ) -> bool, - >, - pub GetUserInputs: Option< - unsafe extern "C" fn( - title: *const ::std::os::raw::c_char, - num_inputs: ::std::os::raw::c_int, - captions_csv: *const ::std::os::raw::c_char, - retvals_csv: *mut ::std::os::raw::c_char, - retvals_csv_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub GoToMarker: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - marker_index: ::std::os::raw::c_int, - use_timeline_order: bool, - ), - >, - pub GoToRegion: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - region_index: ::std::os::raw::c_int, - use_timeline_order: bool, - ), - >, - pub GR_SelectColor: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - colorOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GSC_mainwnd: Option ::std::os::raw::c_int>, - pub guidToString: - Option, - pub HasExtState: Option< - unsafe extern "C" fn( - section: *const ::std::os::raw::c_char, - key: *const ::std::os::raw::c_char, - ) -> bool, - >, - pub HasTrackMIDIPrograms: - Option *const ::std::os::raw::c_char>, - pub HasTrackMIDIProgramsEx: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - track: *mut root::MediaTrack, - ) -> *const ::std::os::raw::c_char, - >, - pub Help_Set: Option< - unsafe extern "C" fn(helpstring: *const ::std::os::raw::c_char, is_temporary_help: bool), - >, - pub HiresPeaksFromSource: Option< - unsafe extern "C" fn( - src: *mut root::PCM_source, - block: *mut root::PCM_source_peaktransfer_t, - ), - >, - pub image_resolve_fn: Option< - unsafe extern "C" fn( - in_: *const ::std::os::raw::c_char, - out: *mut ::std::os::raw::c_char, - out_sz: ::std::os::raw::c_int, - ), - >, - pub InsertAutomationItem: Option< - unsafe extern "C" fn( - env: *mut root::TrackEnvelope, - pool_id: ::std::os::raw::c_int, - position: f64, - length: f64, - ) -> ::std::os::raw::c_int, - >, - pub InsertEnvelopePoint: Option< - unsafe extern "C" fn( - envelope: *mut root::TrackEnvelope, - time: f64, - value: f64, - shape: ::std::os::raw::c_int, - tension: f64, - selected: bool, - noSortInOptional: *mut bool, - ) -> bool, - >, - pub InsertEnvelopePointEx: Option< - unsafe extern "C" fn( - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - time: f64, - value: f64, - shape: ::std::os::raw::c_int, - tension: f64, - selected: bool, - noSortInOptional: *mut bool, - ) -> bool, - >, - pub InsertMedia: Option< - unsafe extern "C" fn( - file: *const ::std::os::raw::c_char, - mode: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub InsertMediaSection: Option< - unsafe extern "C" fn( - file: *const ::std::os::raw::c_char, - mode: ::std::os::raw::c_int, - startpct: f64, - endpct: f64, - pitchshift: f64, - ) -> ::std::os::raw::c_int, - >, - pub InsertTrackAtIndex: Option, - pub InsertTrackInProject: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - idx: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ), - >, - pub IsInRealTimeAudio: Option ::std::os::raw::c_int>, - pub IsItemTakeActiveForPlayback: Option< - unsafe extern "C" fn(item: *mut root::MediaItem, take: *mut root::MediaItem_Take) -> bool, - >, - pub IsMediaExtension: - Option bool>, - pub IsMediaItemSelected: Option bool>, - pub IsProjectDirty: - Option ::std::os::raw::c_int>, - pub IsREAPER: Option bool>, - pub IsTrackSelected: Option bool>, - pub IsTrackVisible: - Option bool>, - pub IsWindowTextField: Option bool>, - pub joystick_create: Option< - unsafe extern "C" fn( - guid: *const root::GUID, - ) -> *mut root::reaper_functions::joystick_device, - >, - pub joystick_destroy: - Option, - pub joystick_enum: Option< - unsafe extern "C" fn( - index: ::std::os::raw::c_int, - namestrOutOptional: *mut *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char, - >, - pub joystick_getaxis: Option< - unsafe extern "C" fn( - dev: *mut root::reaper_functions::joystick_device, - axis: ::std::os::raw::c_int, - ) -> f64, - >, - pub joystick_getbuttonmask: Option< - unsafe extern "C" fn( - dev: *mut root::reaper_functions::joystick_device, - ) -> ::std::os::raw::c_uint, - >, - pub joystick_getinfo: Option< - unsafe extern "C" fn( - dev: *mut root::reaper_functions::joystick_device, - axesOutOptional: *mut ::std::os::raw::c_int, - povsOutOptional: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub joystick_getpov: Option< - unsafe extern "C" fn( - dev: *mut root::reaper_functions::joystick_device, - pov: ::std::os::raw::c_int, - ) -> f64, - >, - pub joystick_update: - Option bool>, - pub kbd_enumerateActions: Option< - unsafe extern "C" fn( - section: *mut root::KbdSectionInfo, - idx: ::std::os::raw::c_int, - nameOut: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int, - >, - pub kbd_formatKeyName: - Option, - pub kbd_getCommandName: Option< - unsafe extern "C" fn( - cmd: ::std::os::raw::c_int, - s: *mut ::std::os::raw::c_char, - section: *mut root::KbdSectionInfo, - ), - >, - pub kbd_getTextFromCmd: Option< - unsafe extern "C" fn( - cmd: ::std::os::raw::c_int, - section: *mut root::KbdSectionInfo, - ) -> *const ::std::os::raw::c_char, - >, - pub KBD_OnMainActionEx: Option< - unsafe extern "C" fn( - cmd: ::std::os::raw::c_int, - val: ::std::os::raw::c_int, - valhw: ::std::os::raw::c_int, - relmode: ::std::os::raw::c_int, - hwnd: root::HWND, - proj: *mut root::ReaProject, - ) -> ::std::os::raw::c_int, - >, - pub kbd_OnMidiEvent: Option< - unsafe extern "C" fn(evt: *mut root::MIDI_event_t, dev_index: ::std::os::raw::c_int), - >, - pub kbd_OnMidiList: Option< - unsafe extern "C" fn(list: *mut root::MIDI_eventlist, dev_index: ::std::os::raw::c_int), - >, - pub kbd_ProcessActionsMenu: - Option, - pub kbd_processMidiEventActionEx: Option< - unsafe extern "C" fn( - evt: *mut root::MIDI_event_t, - section: *mut root::KbdSectionInfo, - hwndCtx: root::HWND, - ) -> bool, - >, - pub kbd_reprocessMenu: - Option, - pub kbd_RunCommandThroughHooks: Option< - unsafe extern "C" fn( - section: *mut root::KbdSectionInfo, - actionCommandID: *const ::std::os::raw::c_int, - val: *const ::std::os::raw::c_int, - valhw: *const ::std::os::raw::c_int, - relmode: *const ::std::os::raw::c_int, - hwnd: root::HWND, - ) -> bool, - >, - pub kbd_translateAccelerator: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - msg: *mut root::MSG, - section: *mut root::KbdSectionInfo, - ) -> ::std::os::raw::c_int, - >, - pub LICE__Destroy: Option, - pub LICE__DestroyFont: - Option, - pub LICE__DrawText: Option< - unsafe extern "C" fn( - font: *mut root::reaper_functions::LICE_IFont, - bm: *mut root::reaper_functions::LICE_IBitmap, - str: *const ::std::os::raw::c_char, - strcnt: ::std::os::raw::c_int, - rect: *mut root::RECT, - dtFlags: root::UINT, - ) -> ::std::os::raw::c_int, - >, - pub LICE__GetBits: Option< - unsafe extern "C" fn( - bm: *mut root::reaper_functions::LICE_IBitmap, - ) -> *mut ::std::os::raw::c_void, - >, - pub LICE__GetDC: - Option root::HDC>, - pub LICE__GetHeight: Option< - unsafe extern "C" fn( - bm: *mut root::reaper_functions::LICE_IBitmap, - ) -> ::std::os::raw::c_int, - >, - pub LICE__GetRowSpan: Option< - unsafe extern "C" fn( - bm: *mut root::reaper_functions::LICE_IBitmap, - ) -> ::std::os::raw::c_int, - >, - pub LICE__GetWidth: Option< - unsafe extern "C" fn( - bm: *mut root::reaper_functions::LICE_IBitmap, - ) -> ::std::os::raw::c_int, - >, - pub LICE__IsFlipped: - Option bool>, - pub LICE__resize: Option< - unsafe extern "C" fn( - bm: *mut root::reaper_functions::LICE_IBitmap, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - ) -> bool, - >, - pub LICE__SetBkColor: Option< - unsafe extern "C" fn( - font: *mut root::reaper_functions::LICE_IFont, - color: root::reaper_functions::LICE_pixel, - ) -> root::reaper_functions::LICE_pixel, - >, - pub LICE__SetFromHFont: Option< - unsafe extern "C" fn( - font: *mut root::reaper_functions::LICE_IFont, - hfont: root::HFONT, - flags: ::std::os::raw::c_int, - ), - >, - pub LICE__SetTextColor: Option< - unsafe extern "C" fn( - font: *mut root::reaper_functions::LICE_IFont, - color: root::reaper_functions::LICE_pixel, - ) -> root::reaper_functions::LICE_pixel, - >, - pub LICE__SetTextCombineMode: Option< - unsafe extern "C" fn( - ifont: *mut root::reaper_functions::LICE_IFont, - mode: ::std::os::raw::c_int, - alpha: f32, - ), - >, - pub LICE_Arc: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - cx: f32, - cy: f32, - r: f32, - minAngle: f32, - maxAngle: f32, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - ), - >, - pub LICE_Blit: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - src: *mut root::reaper_functions::LICE_IBitmap, - dstx: ::std::os::raw::c_int, - dsty: ::std::os::raw::c_int, - srcx: ::std::os::raw::c_int, - srcy: ::std::os::raw::c_int, - srcw: ::std::os::raw::c_int, - srch: ::std::os::raw::c_int, - alpha: f32, - mode: ::std::os::raw::c_int, - ), - >, - pub LICE_Blur: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - src: *mut root::reaper_functions::LICE_IBitmap, - dstx: ::std::os::raw::c_int, - dsty: ::std::os::raw::c_int, - srcx: ::std::os::raw::c_int, - srcy: ::std::os::raw::c_int, - srcw: ::std::os::raw::c_int, - srch: ::std::os::raw::c_int, - ), - >, - pub LICE_BorderedRect: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - bgcolor: root::reaper_functions::LICE_pixel, - fgcolor: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ), - >, - pub LICE_Circle: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - cx: f32, - cy: f32, - r: f32, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - ), - >, - pub LICE_Clear: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - color: root::reaper_functions::LICE_pixel, - ), - >, - pub LICE_ClearRect: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - mask: root::reaper_functions::LICE_pixel, - orbits: root::reaper_functions::LICE_pixel, - ), - >, - pub LICE_ClipLine: Option< - unsafe extern "C" fn( - pX1Out: *mut ::std::os::raw::c_int, - pY1Out: *mut ::std::os::raw::c_int, - pX2Out: *mut ::std::os::raw::c_int, - pY2Out: *mut ::std::os::raw::c_int, - xLo: ::std::os::raw::c_int, - yLo: ::std::os::raw::c_int, - xHi: ::std::os::raw::c_int, - yHi: ::std::os::raw::c_int, - ) -> bool, - >, - pub LICE_CombinePixels: Option< - extern "C" fn( - dest: root::reaper_functions::LICE_pixel, - src: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ) -> root::reaper_functions::LICE_pixel, - >, - pub LICE_Copy: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - src: *mut root::reaper_functions::LICE_IBitmap, - ), - >, - pub LICE_CreateBitmap: Option< - extern "C" fn( - mode: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - ) -> *mut root::reaper_functions::LICE_IBitmap, - >, - pub LICE_CreateFont: Option *mut root::reaper_functions::LICE_IFont>, - pub LICE_DrawCBezier: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - xstart: f64, - ystart: f64, - xctl1: f64, - yctl1: f64, - xctl2: f64, - yctl2: f64, - xend: f64, - yend: f64, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - tol: f64, - ), - >, - pub LICE_DrawChar: Option< - unsafe extern "C" fn( - bm: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - c: ::std::os::raw::c_char, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ), - >, - pub LICE_DrawGlyph: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alphas: *mut root::reaper_functions::LICE_pixel_chan, - glyph_w: ::std::os::raw::c_int, - glyph_h: ::std::os::raw::c_int, - alpha: f32, - mode: ::std::os::raw::c_int, - ), - >, - pub LICE_DrawRect: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ), - >, - pub LICE_DrawText: Option< - unsafe extern "C" fn( - bm: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - string: *const ::std::os::raw::c_char, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ), - >, - pub LICE_FillCBezier: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - xstart: f64, - ystart: f64, - xctl1: f64, - yctl1: f64, - xctl2: f64, - yctl2: f64, - xend: f64, - yend: f64, - yfill: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - tol: f64, - ), - >, - pub LICE_FillCircle: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - cx: f32, - cy: f32, - r: f32, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - ), - >, - pub LICE_FillConvexPolygon: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - x: *mut ::std::os::raw::c_int, - y: *mut ::std::os::raw::c_int, - npoints: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ), - >, - pub LICE_FillRect: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ), - >, - pub LICE_FillTrapezoid: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - x1a: ::std::os::raw::c_int, - x1b: ::std::os::raw::c_int, - y1: ::std::os::raw::c_int, - x2a: ::std::os::raw::c_int, - x2b: ::std::os::raw::c_int, - y2: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ), - >, - pub LICE_FillTriangle: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - x1: ::std::os::raw::c_int, - y1: ::std::os::raw::c_int, - x2: ::std::os::raw::c_int, - y2: ::std::os::raw::c_int, - x3: ::std::os::raw::c_int, - y3: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ), - >, - pub LICE_GetPixel: Option< - unsafe extern "C" fn( - bm: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - ) -> root::reaper_functions::LICE_pixel, - >, - pub LICE_GradRect: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - dstx: ::std::os::raw::c_int, - dsty: ::std::os::raw::c_int, - dstw: ::std::os::raw::c_int, - dsth: ::std::os::raw::c_int, - ir: f32, - ig: f32, - ib: f32, - ia: f32, - drdx: f32, - dgdx: f32, - dbdx: f32, - dadx: f32, - drdy: f32, - dgdy: f32, - dbdy: f32, - dady: f32, - mode: ::std::os::raw::c_int, - ), - >, - pub LICE_Line: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - x1: f32, - y1: f32, - x2: f32, - y2: f32, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - ), - >, - pub LICE_LineInt: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - x1: ::std::os::raw::c_int, - y1: ::std::os::raw::c_int, - x2: ::std::os::raw::c_int, - y2: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - ), - >, - pub LICE_LoadPNG: Option< - unsafe extern "C" fn( - filename: *const ::std::os::raw::c_char, - bmp: *mut root::reaper_functions::LICE_IBitmap, - ) -> *mut root::reaper_functions::LICE_IBitmap, - >, - pub LICE_LoadPNGFromResource: Option< - unsafe extern "C" fn( - hInst: root::HINSTANCE, - resid: *const ::std::os::raw::c_char, - bmp: *mut root::reaper_functions::LICE_IBitmap, - ) -> *mut root::reaper_functions::LICE_IBitmap, - >, - pub LICE_MeasureText: Option< - unsafe extern "C" fn( - string: *const ::std::os::raw::c_char, - w: *mut ::std::os::raw::c_int, - h: *mut ::std::os::raw::c_int, - ), - >, - pub LICE_MultiplyAddRect: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - rsc: f32, - gsc: f32, - bsc: f32, - asc: f32, - radd: f32, - gadd: f32, - badd: f32, - aadd: f32, - ), - >, - pub LICE_PutPixel: Option< - unsafe extern "C" fn( - bm: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - ), - >, - pub LICE_RotatedBlit: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - src: *mut root::reaper_functions::LICE_IBitmap, - dstx: ::std::os::raw::c_int, - dsty: ::std::os::raw::c_int, - dstw: ::std::os::raw::c_int, - dsth: ::std::os::raw::c_int, - srcx: f32, - srcy: f32, - srcw: f32, - srch: f32, - angle: f32, - cliptosourcerect: bool, - alpha: f32, - mode: ::std::os::raw::c_int, - rotxcent: f32, - rotycent: f32, - ), - >, - pub LICE_RoundRect: Option< - unsafe extern "C" fn( - drawbm: *mut root::reaper_functions::LICE_IBitmap, - xpos: f32, - ypos: f32, - w: f32, - h: f32, - cornerradius: ::std::os::raw::c_int, - col: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - aa: bool, - ), - >, - pub LICE_ScaledBlit: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - src: *mut root::reaper_functions::LICE_IBitmap, - dstx: ::std::os::raw::c_int, - dsty: ::std::os::raw::c_int, - dstw: ::std::os::raw::c_int, - dsth: ::std::os::raw::c_int, - srcx: f32, - srcy: f32, - srcw: f32, - srch: f32, - alpha: f32, - mode: ::std::os::raw::c_int, - ), - >, - pub LICE_SimpleFill: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - newcolor: root::reaper_functions::LICE_pixel, - comparemask: root::reaper_functions::LICE_pixel, - keepmask: root::reaper_functions::LICE_pixel, - ), - >, - pub LICE_ThickFLine: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - x1: f64, - y1: f64, - x2: f64, - y2: f64, - color: root::reaper_functions::LICE_pixel, - alpha: f32, - mode: ::std::os::raw::c_int, - wid: ::std::os::raw::c_int, - ), - >, - pub LocalizeString: Option< - unsafe extern "C" fn( - src_string: *const ::std::os::raw::c_char, - section: *const ::std::os::raw::c_char, - flagsOptional: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char, - >, - pub Loop_OnArrow: Option< - unsafe extern "C" fn( - project: *mut root::ReaProject, - direction: ::std::os::raw::c_int, - ) -> bool, - >, - pub Main_OnCommand: - Option, - pub Main_OnCommandEx: Option< - unsafe extern "C" fn( - command: ::std::os::raw::c_int, - flag: ::std::os::raw::c_int, - proj: *mut root::ReaProject, - ), - >, - pub Main_openProject: Option, - pub Main_SaveProject: - Option, - pub Main_SaveProjectEx: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - filename: *const ::std::os::raw::c_char, - options: ::std::os::raw::c_int, - ), - >, - pub Main_UpdateLoopInfo: Option, - pub MarkProjectDirty: Option, - pub MarkTrackItemsDirty: - Option, - pub Master_GetPlayRate: Option f64>, - pub Master_GetPlayRateAtTime: - Option f64>, - pub Master_GetTempo: Option f64>, - pub Master_NormalizePlayRate: Option f64>, - pub Master_NormalizeTempo: Option f64>, - pub MB: Option< - unsafe extern "C" fn( - msg: *const ::std::os::raw::c_char, - title: *const ::std::os::raw::c_char, - type_: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub MediaItemDescendsFromTrack: Option< - unsafe extern "C" fn( - item: *mut root::MediaItem, - track: *mut root::MediaTrack, - ) -> ::std::os::raw::c_int, - >, - pub Menu_GetHash: Option< - unsafe extern "C" fn( - menuname: *const ::std::os::raw::c_char, - flag: ::std::os::raw::c_int, - hashOut: *mut ::std::os::raw::c_char, - hashOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDI_CountEvts: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - notecntOut: *mut ::std::os::raw::c_int, - ccevtcntOut: *mut ::std::os::raw::c_int, - textsyxevtcntOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub MIDI_DeleteCC: Option< - unsafe extern "C" fn(take: *mut root::MediaItem_Take, ccidx: ::std::os::raw::c_int) -> bool, - >, - pub MIDI_DeleteEvt: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - evtidx: ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDI_DeleteNote: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - noteidx: ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDI_DeleteTextSysexEvt: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - textsyxevtidx: ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDI_DisableSort: Option, - pub MIDI_EnumSelCC: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - ccidx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub MIDI_EnumSelEvts: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - evtidx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub MIDI_EnumSelNotes: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - noteidx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub MIDI_EnumSelTextSysexEvts: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - textsyxidx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub MIDI_eventlist_Create: Option *mut root::MIDI_eventlist>, - pub MIDI_eventlist_Destroy: Option, - pub MIDI_GetAllEvts: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - bufOutNeedBig: *mut ::std::os::raw::c_char, - bufOutNeedBig_sz: *mut ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDI_GetCC: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - ccidx: ::std::os::raw::c_int, - selectedOut: *mut bool, - mutedOut: *mut bool, - ppqposOut: *mut f64, - chanmsgOut: *mut ::std::os::raw::c_int, - chanOut: *mut ::std::os::raw::c_int, - msg2Out: *mut ::std::os::raw::c_int, - msg3Out: *mut ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDI_GetCCShape: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - ccidx: ::std::os::raw::c_int, - shapeOut: *mut ::std::os::raw::c_int, - beztensionOut: *mut f64, - ) -> bool, - >, - pub MIDI_GetEvt: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - evtidx: ::std::os::raw::c_int, - selectedOut: *mut bool, - mutedOut: *mut bool, - ppqposOut: *mut f64, - msgOut: *mut ::std::os::raw::c_char, - msgOut_sz: *mut ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDI_GetGrid: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - swingOutOptional: *mut f64, - noteLenOutOptional: *mut f64, - ) -> f64, - >, - pub MIDI_GetHash: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - notesonly: bool, - hashOut: *mut ::std::os::raw::c_char, - hashOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDI_GetNote: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - noteidx: ::std::os::raw::c_int, - selectedOut: *mut bool, - mutedOut: *mut bool, - startppqposOut: *mut f64, - endppqposOut: *mut f64, - chanOut: *mut ::std::os::raw::c_int, - pitchOut: *mut ::std::os::raw::c_int, - velOut: *mut ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDI_GetPPQPos_EndOfMeasure: - Option f64>, - pub MIDI_GetPPQPos_StartOfMeasure: - Option f64>, - pub MIDI_GetPPQPosFromProjQN: - Option f64>, - pub MIDI_GetPPQPosFromProjTime: - Option f64>, - pub MIDI_GetProjQNFromPPQPos: - Option f64>, - pub MIDI_GetProjTimeFromPPQPos: - Option f64>, - pub MIDI_GetRecentInputEvent: Option< - unsafe extern "C" fn( - idx: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: *mut ::std::os::raw::c_int, - tsOut: *mut ::std::os::raw::c_int, - devIdxOut: *mut ::std::os::raw::c_int, - projPosOut: *mut f64, - projLoopCntOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub MIDI_GetScale: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - rootOut: *mut ::std::os::raw::c_int, - scaleOut: *mut ::std::os::raw::c_int, - nameOut: *mut ::std::os::raw::c_char, - nameOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDI_GetTextSysexEvt: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - textsyxevtidx: ::std::os::raw::c_int, - selectedOutOptional: *mut bool, - mutedOutOptional: *mut bool, - ppqposOutOptional: *mut f64, - typeOutOptional: *mut ::std::os::raw::c_int, - msgOptional: *mut ::std::os::raw::c_char, - msgOptional_sz: *mut ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDI_GetTrackHash: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - notesonly: bool, - hashOut: *mut ::std::os::raw::c_char, - hashOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub midi_init: Option< - extern "C" fn( - force_reinit_input: ::std::os::raw::c_int, - force_reinit_output: ::std::os::raw::c_int, - ), - >, - pub MIDI_InsertCC: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - selected: bool, - muted: bool, - ppqpos: f64, - chanmsg: ::std::os::raw::c_int, - chan: ::std::os::raw::c_int, - msg2: ::std::os::raw::c_int, - msg3: ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDI_InsertEvt: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - selected: bool, - muted: bool, - ppqpos: f64, - bytestr: *const ::std::os::raw::c_char, - bytestr_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDI_InsertNote: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - selected: bool, - muted: bool, - startppqpos: f64, - endppqpos: f64, - chan: ::std::os::raw::c_int, - pitch: ::std::os::raw::c_int, - vel: ::std::os::raw::c_int, - noSortInOptional: *const bool, - ) -> bool, - >, - pub MIDI_InsertTextSysexEvt: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - selected: bool, - muted: bool, - ppqpos: f64, - type_: ::std::os::raw::c_int, - bytestr: *const ::std::os::raw::c_char, - bytestr_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDI_RefreshEditors: Option, - pub midi_reinit: Option, - pub MIDI_SelectAll: Option, - pub MIDI_SetAllEvts: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - buf: *const ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDI_SetCC: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - ccidx: ::std::os::raw::c_int, - selectedInOptional: *const bool, - mutedInOptional: *const bool, - ppqposInOptional: *const f64, - chanmsgInOptional: *const ::std::os::raw::c_int, - chanInOptional: *const ::std::os::raw::c_int, - msg2InOptional: *const ::std::os::raw::c_int, - msg3InOptional: *const ::std::os::raw::c_int, - noSortInOptional: *const bool, - ) -> bool, - >, - pub MIDI_SetCCShape: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - ccidx: ::std::os::raw::c_int, - shape: ::std::os::raw::c_int, - beztension: f64, - noSortInOptional: *const bool, - ) -> bool, - >, - pub MIDI_SetEvt: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - evtidx: ::std::os::raw::c_int, - selectedInOptional: *const bool, - mutedInOptional: *const bool, - ppqposInOptional: *const f64, - msgOptional: *const ::std::os::raw::c_char, - msgOptional_sz: ::std::os::raw::c_int, - noSortInOptional: *const bool, - ) -> bool, - >, - pub MIDI_SetItemExtents: - Option bool>, - pub MIDI_SetNote: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - noteidx: ::std::os::raw::c_int, - selectedInOptional: *const bool, - mutedInOptional: *const bool, - startppqposInOptional: *const f64, - endppqposInOptional: *const f64, - chanInOptional: *const ::std::os::raw::c_int, - pitchInOptional: *const ::std::os::raw::c_int, - velInOptional: *const ::std::os::raw::c_int, - noSortInOptional: *const bool, - ) -> bool, - >, - pub MIDI_SetTextSysexEvt: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - textsyxevtidx: ::std::os::raw::c_int, - selectedInOptional: *const bool, - mutedInOptional: *const bool, - ppqposInOptional: *const f64, - typeInOptional: *const ::std::os::raw::c_int, - msgOptional: *const ::std::os::raw::c_char, - msgOptional_sz: ::std::os::raw::c_int, - noSortInOptional: *const bool, - ) -> bool, - >, - pub MIDI_Sort: Option, - pub MIDIEditor_EnumTakes: Option< - unsafe extern "C" fn( - midieditor: root::HWND, - takeindex: ::std::os::raw::c_int, - editable_only: bool, - ) -> *mut root::MediaItem_Take, - >, - pub MIDIEditor_GetActive: Option root::HWND>, - pub MIDIEditor_GetMode: - Option ::std::os::raw::c_int>, - pub MIDIEditor_GetSetting_int: Option< - unsafe extern "C" fn( - midieditor: root::HWND, - setting_desc: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int, - >, - pub MIDIEditor_GetSetting_str: Option< - unsafe extern "C" fn( - midieditor: root::HWND, - setting_desc: *const ::std::os::raw::c_char, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDIEditor_GetTake: - Option *mut root::MediaItem_Take>, - pub MIDIEditor_LastFocused_OnCommand: - Option bool>, - pub MIDIEditor_OnCommand: Option< - unsafe extern "C" fn(midieditor: root::HWND, command_id: ::std::os::raw::c_int) -> bool, - >, - pub MIDIEditor_SetSetting_int: Option< - unsafe extern "C" fn( - midieditor: root::HWND, - setting_desc: *const ::std::os::raw::c_char, - setting: ::std::os::raw::c_int, - ) -> bool, - >, - pub MIDIEditorFlagsForTrack: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - pitchwheelrangeInOut: *mut ::std::os::raw::c_int, - flagsInOut: *mut ::std::os::raw::c_int, - is_set: bool, - ), - >, - pub mkpanstr: Option, - pub mkvolpanstr: - Option, - pub mkvolstr: Option, - pub MoveEditCursor: Option, - pub MoveMediaItemToTrack: Option< - unsafe extern "C" fn(item: *mut root::MediaItem, desttr: *mut root::MediaTrack) -> bool, - >, - pub MuteAllTracks: Option, - pub my_getViewport: - Option, - pub NamedCommandLookup: Option< - unsafe extern "C" fn(command_name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, - >, - pub OnPauseButton: Option, - pub OnPauseButtonEx: Option, - pub OnPlayButton: Option, - pub OnPlayButtonEx: Option, - pub OnStopButton: Option, - pub OnStopButtonEx: Option, - pub OpenColorThemeFile: - Option bool>, - pub OpenMediaExplorer: Option< - unsafe extern "C" fn(mediafn: *const ::std::os::raw::c_char, play: bool) -> root::HWND, - >, - pub OscLocalMessageToHost: Option< - unsafe extern "C" fn(message: *const ::std::os::raw::c_char, valueInOptional: *const f64), - >, - pub parse_timestr: Option f64>, - pub parse_timestr_len: Option< - unsafe extern "C" fn( - buf: *const ::std::os::raw::c_char, - offset: f64, - modeoverride: ::std::os::raw::c_int, - ) -> f64, - >, - pub parse_timestr_pos: Option< - unsafe extern "C" fn( - buf: *const ::std::os::raw::c_char, - modeoverride: ::std::os::raw::c_int, - ) -> f64, - >, - pub parsepanstr: Option f64>, - pub PCM_Sink_Create: Option< - unsafe extern "C" fn( - filename: *const ::std::os::raw::c_char, - cfg: *const ::std::os::raw::c_char, - cfg_sz: ::std::os::raw::c_int, - nch: ::std::os::raw::c_int, - srate: ::std::os::raw::c_int, - buildpeaks: bool, - ) -> *mut root::PCM_sink, - >, - pub PCM_Sink_CreateEx: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - filename: *const ::std::os::raw::c_char, - cfg: *const ::std::os::raw::c_char, - cfg_sz: ::std::os::raw::c_int, - nch: ::std::os::raw::c_int, - srate: ::std::os::raw::c_int, - buildpeaks: bool, - ) -> *mut root::PCM_sink, - >, - pub PCM_Sink_CreateMIDIFile: Option< - unsafe extern "C" fn( - filename: *const ::std::os::raw::c_char, - cfg: *const ::std::os::raw::c_char, - cfg_sz: ::std::os::raw::c_int, - bpm: f64, - div: ::std::os::raw::c_int, - ) -> *mut root::PCM_sink, - >, - pub PCM_Sink_CreateMIDIFileEx: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - filename: *const ::std::os::raw::c_char, - cfg: *const ::std::os::raw::c_char, - cfg_sz: ::std::os::raw::c_int, - bpm: f64, - div: ::std::os::raw::c_int, - ) -> *mut root::PCM_sink, - >, - pub PCM_Sink_Enum: Option< - unsafe extern "C" fn( - idx: ::std::os::raw::c_int, - descstrOut: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_uint, - >, - pub PCM_Sink_GetExtension: Option< - unsafe extern "C" fn( - data: *const ::std::os::raw::c_char, - data_sz: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char, - >, - pub PCM_Sink_ShowConfig: Option< - unsafe extern "C" fn( - cfg: *const ::std::os::raw::c_char, - cfg_sz: ::std::os::raw::c_int, - hwndParent: root::HWND, - ) -> root::HWND, - >, - pub PCM_Source_BuildPeaks: Option< - unsafe extern "C" fn( - src: *mut root::PCM_source, - mode: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub PCM_Source_CreateFromFile: Option< - unsafe extern "C" fn(filename: *const ::std::os::raw::c_char) -> *mut root::PCM_source, - >, - pub PCM_Source_CreateFromFileEx: Option< - unsafe extern "C" fn( - filename: *const ::std::os::raw::c_char, - forcenoMidiImp: bool, - ) -> *mut root::PCM_source, - >, - pub PCM_Source_CreateFromSimple: Option< - unsafe extern "C" fn( - dec: *mut root::ISimpleMediaDecoder, - fn_: *const ::std::os::raw::c_char, - ) -> *mut root::PCM_source, - >, - pub PCM_Source_CreateFromType: Option< - unsafe extern "C" fn(sourcetype: *const ::std::os::raw::c_char) -> *mut root::PCM_source, - >, - pub PCM_Source_Destroy: Option, - pub PCM_Source_GetPeaks: Option< - unsafe extern "C" fn( - src: *mut root::PCM_source, - peakrate: f64, - starttime: f64, - numchannels: ::std::os::raw::c_int, - numsamplesperchannel: ::std::os::raw::c_int, - want_extra_type: ::std::os::raw::c_int, - buf: *mut f64, - ) -> ::std::os::raw::c_int, - >, - pub PCM_Source_GetSectionInfo: Option< - unsafe extern "C" fn( - src: *mut root::PCM_source, - offsOut: *mut f64, - lenOut: *mut f64, - revOut: *mut bool, - ) -> bool, - >, - pub PeakBuild_Create: Option< - unsafe extern "C" fn( - src: *mut root::PCM_source, - fn_: *const ::std::os::raw::c_char, - srate: ::std::os::raw::c_int, - nch: ::std::os::raw::c_int, - ) -> *mut root::REAPER_PeakBuild_Interface, - >, - pub PeakBuild_CreateEx: Option< - unsafe extern "C" fn( - src: *mut root::PCM_source, - fn_: *const ::std::os::raw::c_char, - srate: ::std::os::raw::c_int, - nch: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> *mut root::REAPER_PeakBuild_Interface, - >, - pub PeakGet_Create: Option< - unsafe extern "C" fn( - fn_: *const ::std::os::raw::c_char, - srate: ::std::os::raw::c_int, - nch: ::std::os::raw::c_int, - ) -> *mut root::REAPER_PeakGet_Interface, - >, - pub PitchShiftSubModeMenu: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - mode: ::std::os::raw::c_int, - submode_sel: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub PlayPreview: Option< - unsafe extern "C" fn(preview: *mut root::preview_register_t) -> ::std::os::raw::c_int, - >, - pub PlayPreviewEx: Option< - unsafe extern "C" fn( - preview: *mut root::preview_register_t, - bufflags: ::std::os::raw::c_int, - measure_align: f64, - ) -> ::std::os::raw::c_int, - >, - pub PlayTrackPreview: Option< - unsafe extern "C" fn(preview: *mut root::preview_register_t) -> ::std::os::raw::c_int, - >, - pub PlayTrackPreview2: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - preview: *mut root::preview_register_t, - ) -> ::std::os::raw::c_int, - >, - pub PlayTrackPreview2Ex: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - preview: *mut root::preview_register_t, - flags: ::std::os::raw::c_int, - measure_align: f64, - ) -> ::std::os::raw::c_int, - >, - pub plugin_getapi: Option< - unsafe extern "C" fn(name: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_void, - >, - pub plugin_getFilterList: Option *const ::std::os::raw::c_char>, - pub plugin_getImportableProjectFilterList: - Option *const ::std::os::raw::c_char>, - pub plugin_register: Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - infostruct: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int, - >, - pub PluginWantsAlwaysRunFx: Option, - pub PreventUIRefresh: Option, - pub projectconfig_var_addr: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - idx: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void, - >, - pub projectconfig_var_getoffs: Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - szOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub PromptForAction: Option< - extern "C" fn( - session_mode: ::std::os::raw::c_int, - init_id: ::std::os::raw::c_int, - section_id: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub realloc_cmd_clear: Option, - pub realloc_cmd_ptr: Option< - unsafe extern "C" fn( - ptr: *mut *mut ::std::os::raw::c_char, - ptr_size: *mut ::std::os::raw::c_int, - new_size: ::std::os::raw::c_int, - ) -> bool, - >, - pub realloc_cmd_register_buf: Option< - unsafe extern "C" fn( - ptr: *mut *mut ::std::os::raw::c_char, - ptr_size: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub ReaperGetPitchShiftAPI: - Option *mut root::IReaperPitchShift>, - pub ReaScriptError: Option, - pub RecursiveCreateDirectory: Option< - unsafe extern "C" fn( - path: *const ::std::os::raw::c_char, - ignored: usize, - ) -> ::std::os::raw::c_int, - >, - pub reduce_open_files: - Option ::std::os::raw::c_int>, - pub RefreshToolbar: Option, - pub RefreshToolbar2: - Option, - pub relative_fn: Option< - unsafe extern "C" fn( - in_: *const ::std::os::raw::c_char, - out: *mut ::std::os::raw::c_char, - out_sz: ::std::os::raw::c_int, - ), - >, - pub RemoveTrackSend: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - category: ::std::os::raw::c_int, - sendidx: ::std::os::raw::c_int, - ) -> bool, - >, - pub RenderFileSection: Option< - unsafe extern "C" fn( - source_filename: *const ::std::os::raw::c_char, - target_filename: *const ::std::os::raw::c_char, - start_percent: f64, - end_percent: f64, - playrate: f64, - ) -> bool, - >, - pub ReorderSelectedTracks: Option< - extern "C" fn( - beforeTrackIdx: ::std::os::raw::c_int, - makePrevFolder: ::std::os::raw::c_int, - ) -> bool, - >, - pub Resample_EnumModes: - Option *const ::std::os::raw::c_char>, - pub Resampler_Create: Option *mut root::REAPER_Resample_Interface>, - pub resolve_fn: Option< - unsafe extern "C" fn( - in_: *const ::std::os::raw::c_char, - out: *mut ::std::os::raw::c_char, - out_sz: ::std::os::raw::c_int, - ), - >, - pub resolve_fn2: Option< - unsafe extern "C" fn( - in_: *const ::std::os::raw::c_char, - out: *mut ::std::os::raw::c_char, - out_sz: ::std::os::raw::c_int, - checkSubDirOptional: *const ::std::os::raw::c_char, - ), - >, - pub ResolveRenderPattern: Option< - unsafe extern "C" fn( - project: *mut root::ReaProject, - path: *const ::std::os::raw::c_char, - pattern: *const ::std::os::raw::c_char, - targets: *mut ::std::os::raw::c_char, - targets_sz: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub ReverseNamedCommandLookup: - Option *const ::std::os::raw::c_char>, - pub ScaleFromEnvelopeMode: - Option f64>, - pub ScaleToEnvelopeMode: - Option f64>, - pub screenset_register: Option< - unsafe extern "C" fn( - id: *mut ::std::os::raw::c_char, - callbackFunc: *mut ::std::os::raw::c_void, - param: *mut ::std::os::raw::c_void, - ), - >, - pub screenset_registerNew: Option< - unsafe extern "C" fn( - id: *mut ::std::os::raw::c_char, - callbackFunc: root::screensetNewCallbackFunc, - param: *mut ::std::os::raw::c_void, - ), - >, - pub screenset_unregister: Option, - pub screenset_unregisterByParam: - Option, - pub screenset_updateLastFocus: Option, - pub SectionFromUniqueID: - Option *mut root::KbdSectionInfo>, - pub SelectAllMediaItems: - Option, - pub SelectProjectInstance: Option, - pub SendLocalOscMessage: Option< - unsafe extern "C" fn( - local_osc_handler: *mut ::std::os::raw::c_void, - msg: *const ::std::os::raw::c_char, - msglen: ::std::os::raw::c_int, - ), - >, - pub SendMIDIMessageToHardware: Option< - unsafe extern "C" fn( - output: ::std::os::raw::c_int, - msg: *const ::std::os::raw::c_char, - msg_sz: ::std::os::raw::c_int, - ), - >, - pub SetActiveTake: Option, - pub SetAutomationMode: Option, - pub SetCurrentBPM: - Option, - pub SetCursorContext: Option< - unsafe extern "C" fn(mode: ::std::os::raw::c_int, envInOptional: *mut root::TrackEnvelope), - >, - pub SetEditCurPos: Option, - pub SetEditCurPos2: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - time: f64, - moveview: bool, - seekplay: bool, - ), - >, - pub SetEnvelopePoint: Option< - unsafe extern "C" fn( - envelope: *mut root::TrackEnvelope, - ptidx: ::std::os::raw::c_int, - timeInOptional: *mut f64, - valueInOptional: *mut f64, - shapeInOptional: *mut ::std::os::raw::c_int, - tensionInOptional: *mut f64, - selectedInOptional: *mut bool, - noSortInOptional: *mut bool, - ) -> bool, - >, - pub SetEnvelopePointEx: Option< - unsafe extern "C" fn( - envelope: *mut root::TrackEnvelope, - autoitem_idx: ::std::os::raw::c_int, - ptidx: ::std::os::raw::c_int, - timeInOptional: *mut f64, - valueInOptional: *mut f64, - shapeInOptional: *mut ::std::os::raw::c_int, - tensionInOptional: *mut f64, - selectedInOptional: *mut bool, - noSortInOptional: *mut bool, - ) -> bool, - >, - pub SetEnvelopeStateChunk: Option< - unsafe extern "C" fn( - env: *mut root::TrackEnvelope, - str: *const ::std::os::raw::c_char, - isundoOptional: bool, - ) -> bool, - >, - pub SetExtState: Option< - unsafe extern "C" fn( - section: *const ::std::os::raw::c_char, - key: *const ::std::os::raw::c_char, - value: *const ::std::os::raw::c_char, - persist: bool, - ), - >, - pub SetGlobalAutomationOverride: Option, - pub SetItemStateChunk: Option< - unsafe extern "C" fn( - item: *mut root::MediaItem, - str: *const ::std::os::raw::c_char, - isundoOptional: bool, - ) -> bool, - >, - pub SetMasterTrackVisibility: - Option ::std::os::raw::c_int>, - pub SetMediaItemInfo_Value: Option< - unsafe extern "C" fn( - item: *mut root::MediaItem, - parmname: *const ::std::os::raw::c_char, - newvalue: f64, - ) -> bool, - >, - pub SetMediaItemLength: Option< - unsafe extern "C" fn(item: *mut root::MediaItem, length: f64, refreshUI: bool) -> bool, - >, - pub SetMediaItemPosition: Option< - unsafe extern "C" fn(item: *mut root::MediaItem, position: f64, refreshUI: bool) -> bool, - >, - pub SetMediaItemSelected: - Option, - pub SetMediaItemTake_Source: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - source: *mut root::PCM_source, - ) -> bool, - >, - pub SetMediaItemTakeInfo_Value: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - parmname: *const ::std::os::raw::c_char, - newvalue: f64, - ) -> bool, - >, - pub SetMediaTrackInfo_Value: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - parmname: *const ::std::os::raw::c_char, - newvalue: f64, - ) -> bool, - >, - pub SetMIDIEditorGrid: - Option, - pub SetMixerScroll: - Option *mut root::MediaTrack>, - pub SetMouseModifier: Option< - unsafe extern "C" fn( - context: *const ::std::os::raw::c_char, - modifier_flag: ::std::os::raw::c_int, - action: *const ::std::os::raw::c_char, - ), - >, - pub SetOnlyTrackSelected: Option, - pub SetProjectGrid: Option, - pub SetProjectMarker: Option< - unsafe extern "C" fn( - markrgnindexnumber: ::std::os::raw::c_int, - isrgn: bool, - pos: f64, - rgnend: f64, - name: *const ::std::os::raw::c_char, - ) -> bool, - >, - pub SetProjectMarker2: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - markrgnindexnumber: ::std::os::raw::c_int, - isrgn: bool, - pos: f64, - rgnend: f64, - name: *const ::std::os::raw::c_char, - ) -> bool, - >, - pub SetProjectMarker3: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - markrgnindexnumber: ::std::os::raw::c_int, - isrgn: bool, - pos: f64, - rgnend: f64, - name: *const ::std::os::raw::c_char, - color: ::std::os::raw::c_int, - ) -> bool, - >, - pub SetProjectMarker4: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - markrgnindexnumber: ::std::os::raw::c_int, - isrgn: bool, - pos: f64, - rgnend: f64, - name: *const ::std::os::raw::c_char, - color: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> bool, - >, - pub SetProjectMarkerByIndex: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - markrgnidx: ::std::os::raw::c_int, - isrgn: bool, - pos: f64, - rgnend: f64, - IDnumber: ::std::os::raw::c_int, - name: *const ::std::os::raw::c_char, - color: ::std::os::raw::c_int, - ) -> bool, - >, - pub SetProjectMarkerByIndex2: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - markrgnidx: ::std::os::raw::c_int, - isrgn: bool, - pos: f64, - rgnend: f64, - IDnumber: ::std::os::raw::c_int, - name: *const ::std::os::raw::c_char, - color: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> bool, - >, - pub SetProjExtState: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - extname: *const ::std::os::raw::c_char, - key: *const ::std::os::raw::c_char, - value: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int, - >, - pub SetRegionRenderMatrix: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - regionindex: ::std::os::raw::c_int, - track: *mut root::MediaTrack, - flag: ::std::os::raw::c_int, - ), - >, - pub SetRenderLastError: Option, - pub SetTakeMarker: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - idx: ::std::os::raw::c_int, - nameIn: *const ::std::os::raw::c_char, - srcposInOptional: *mut f64, - colorInOptional: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub SetTakeStretchMarker: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - idx: ::std::os::raw::c_int, - pos: f64, - srcposInOptional: *const f64, - ) -> ::std::os::raw::c_int, - >, - pub SetTakeStretchMarkerSlope: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - idx: ::std::os::raw::c_int, - slope: f64, - ) -> bool, - >, - pub SetTempoTimeSigMarker: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - ptidx: ::std::os::raw::c_int, - timepos: f64, - measurepos: ::std::os::raw::c_int, - beatpos: f64, - bpm: f64, - timesig_num: ::std::os::raw::c_int, - timesig_denom: ::std::os::raw::c_int, - lineartempo: bool, - ) -> bool, - >, - pub SetThemeColor: Option< - unsafe extern "C" fn( - ini_key: *const ::std::os::raw::c_char, - color: ::std::os::raw::c_int, - flagsOptional: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub SetToggleCommandState: Option< - extern "C" fn( - section_id: ::std::os::raw::c_int, - command_id: ::std::os::raw::c_int, - state: ::std::os::raw::c_int, - ) -> bool, - >, - pub SetTrackAutomationMode: - Option, - pub SetTrackColor: - Option, - pub SetTrackMIDILyrics: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - flag: ::std::os::raw::c_int, - str: *const ::std::os::raw::c_char, - ) -> bool, - >, - pub SetTrackMIDINoteName: Option< - unsafe extern "C" fn( - track: ::std::os::raw::c_int, - pitch: ::std::os::raw::c_int, - chan: ::std::os::raw::c_int, - name: *const ::std::os::raw::c_char, - ) -> bool, - >, - pub SetTrackMIDINoteNameEx: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - track: *mut root::MediaTrack, - pitch: ::std::os::raw::c_int, - chan: ::std::os::raw::c_int, - name: *const ::std::os::raw::c_char, - ) -> bool, - >, - pub SetTrackSelected: - Option, - pub SetTrackSendInfo_Value: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - category: ::std::os::raw::c_int, - sendidx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - newvalue: f64, - ) -> bool, - >, - pub SetTrackSendUIPan: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - send_idx: ::std::os::raw::c_int, - pan: f64, - isend: ::std::os::raw::c_int, - ) -> bool, - >, - pub SetTrackSendUIVol: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - send_idx: ::std::os::raw::c_int, - vol: f64, - isend: ::std::os::raw::c_int, - ) -> bool, - >, - pub SetTrackStateChunk: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - str: *const ::std::os::raw::c_char, - isundoOptional: bool, - ) -> bool, - >, - pub SetTrackUIInputMonitor: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - monitor: ::std::os::raw::c_int, - igngroupflags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub SetTrackUIMute: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - mute: ::std::os::raw::c_int, - igngroupflags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub SetTrackUIPan: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - pan: f64, - relative: bool, - done: bool, - igngroupflags: ::std::os::raw::c_int, - ) -> f64, - >, - pub SetTrackUIPolarity: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - polarity: ::std::os::raw::c_int, - igngroupflags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub SetTrackUIRecArm: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - recarm: ::std::os::raw::c_int, - igngroupflags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub SetTrackUISolo: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - solo: ::std::os::raw::c_int, - igngroupflags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub SetTrackUIVolume: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - volume: f64, - relative: bool, - done: bool, - igngroupflags: ::std::os::raw::c_int, - ) -> f64, - >, - pub SetTrackUIWidth: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - width: f64, - relative: bool, - done: bool, - igngroupflags: ::std::os::raw::c_int, - ) -> f64, - >, - pub ShowActionList: - Option, - pub ShowConsoleMsg: Option, - pub ShowMessageBox: Option< - unsafe extern "C" fn( - msg: *const ::std::os::raw::c_char, - title: *const ::std::os::raw::c_char, - type_: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub ShowPopupMenu: Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - hwndParentOptional: root::HWND, - ctxOptional: *mut ::std::os::raw::c_void, - ctx2Optional: ::std::os::raw::c_int, - ctx3Optional: ::std::os::raw::c_int, - ), - >, - pub SLIDER2DB: Option f64>, - pub SnapToGrid: - Option f64>, - pub SoloAllTracks: Option, - pub Splash_GetWnd: Option root::HWND>, - pub SplitMediaItem: Option< - unsafe extern "C" fn(item: *mut root::MediaItem, position: f64) -> *mut root::MediaItem, - >, - pub StopPreview: Option< - unsafe extern "C" fn(preview: *mut root::preview_register_t) -> ::std::os::raw::c_int, - >, - pub StopTrackPreview: Option< - unsafe extern "C" fn(preview: *mut root::preview_register_t) -> ::std::os::raw::c_int, - >, - pub StopTrackPreview2: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - preview: *mut root::preview_register_t, - ) -> ::std::os::raw::c_int, - >, - pub stringToGuid: - Option, - pub StuffMIDIMessage: Option< - extern "C" fn( - mode: ::std::os::raw::c_int, - msg1: ::std::os::raw::c_int, - msg2: ::std::os::raw::c_int, - msg3: ::std::os::raw::c_int, - ), - >, - pub TakeFX_AddByName: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fxname: *const ::std::os::raw::c_char, - instantiate: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub TakeFX_CopyToTake: Option< - unsafe extern "C" fn( - src_take: *mut root::MediaItem_Take, - src_fx: ::std::os::raw::c_int, - dest_take: *mut root::MediaItem_Take, - dest_fx: ::std::os::raw::c_int, - is_move: bool, - ), - >, - pub TakeFX_CopyToTrack: Option< - unsafe extern "C" fn( - src_take: *mut root::MediaItem_Take, - src_fx: ::std::os::raw::c_int, - dest_track: *mut root::MediaTrack, - dest_fx: ::std::os::raw::c_int, - is_move: bool, - ), - >, - pub TakeFX_Delete: Option< - unsafe extern "C" fn(take: *mut root::MediaItem_Take, fx: ::std::os::raw::c_int) -> bool, - >, - pub TakeFX_EndParamEdit: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - ) -> bool, - >, - pub TakeFX_FormatParamValue: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - val: f64, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TakeFX_FormatParamValueNormalized: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - value: f64, - buf: *mut ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TakeFX_GetChainVisible: - Option ::std::os::raw::c_int>, - pub TakeFX_GetCount: - Option ::std::os::raw::c_int>, - pub TakeFX_GetEnabled: Option< - unsafe extern "C" fn(take: *mut root::MediaItem_Take, fx: ::std::os::raw::c_int) -> bool, - >, - pub TakeFX_GetEnvelope: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fxindex: ::std::os::raw::c_int, - parameterindex: ::std::os::raw::c_int, - create: bool, - ) -> *mut root::TrackEnvelope, - >, - pub TakeFX_GetFloatingWindow: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - index: ::std::os::raw::c_int, - ) -> root::HWND, - >, - pub TakeFX_GetFormattedParamValue: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TakeFX_GetFXGUID: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - ) -> *mut root::GUID, - >, - pub TakeFX_GetFXName: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TakeFX_GetIOSize: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - inputPinsOut: *mut ::std::os::raw::c_int, - outputPinsOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub TakeFX_GetNamedConfigParm: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - bufOutNeedBig: *mut ::std::os::raw::c_char, - bufOutNeedBig_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TakeFX_GetNumParams: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub TakeFX_GetOffline: Option< - unsafe extern "C" fn(take: *mut root::MediaItem_Take, fx: ::std::os::raw::c_int) -> bool, - >, - pub TakeFX_GetOpen: Option< - unsafe extern "C" fn(take: *mut root::MediaItem_Take, fx: ::std::os::raw::c_int) -> bool, - >, - pub TakeFX_GetParam: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - minvalOut: *mut f64, - maxvalOut: *mut f64, - ) -> f64, - >, - pub TakeFX_GetParameterStepSizes: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - stepOut: *mut f64, - smallstepOut: *mut f64, - largestepOut: *mut f64, - istoggleOut: *mut bool, - ) -> bool, - >, - pub TakeFX_GetParamEx: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - minvalOut: *mut f64, - maxvalOut: *mut f64, - midvalOut: *mut f64, - ) -> f64, - >, - pub TakeFX_GetParamFromIdent: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - ident_str: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int, - >, - pub TakeFX_GetParamIdent: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TakeFX_GetParamName: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TakeFX_GetParamNormalized: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - ) -> f64, - >, - pub TakeFX_GetPinMappings: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - isoutput: ::std::os::raw::c_int, - pin: ::std::os::raw::c_int, - high32Out: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub TakeFX_GetPreset: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - presetnameOut: *mut ::std::os::raw::c_char, - presetnameOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TakeFX_GetPresetIndex: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - numberOfPresetsOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub TakeFX_GetUserPresetFilename: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - fnOut: *mut ::std::os::raw::c_char, - fnOut_sz: ::std::os::raw::c_int, - ), - >, - pub TakeFX_NavigatePresets: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - presetmove: ::std::os::raw::c_int, - ) -> bool, - >, - pub TakeFX_SetEnabled: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - enabled: bool, - ), - >, - pub TakeFX_SetNamedConfigParm: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - value: *const ::std::os::raw::c_char, - ) -> bool, - >, - pub TakeFX_SetOffline: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - offline: bool, - ), - >, - pub TakeFX_SetOpen: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - open: bool, - ), - >, - pub TakeFX_SetParam: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - val: f64, - ) -> bool, - >, - pub TakeFX_SetParamNormalized: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - value: f64, - ) -> bool, - >, - pub TakeFX_SetPinMappings: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - isoutput: ::std::os::raw::c_int, - pin: ::std::os::raw::c_int, - low32bits: ::std::os::raw::c_int, - hi32bits: ::std::os::raw::c_int, - ) -> bool, - >, - pub TakeFX_SetPreset: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - presetname: *const ::std::os::raw::c_char, - ) -> bool, - >, - pub TakeFX_SetPresetByIndex: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - fx: ::std::os::raw::c_int, - idx: ::std::os::raw::c_int, - ) -> bool, - >, - pub TakeFX_Show: Option< - unsafe extern "C" fn( - take: *mut root::MediaItem_Take, - index: ::std::os::raw::c_int, - showFlag: ::std::os::raw::c_int, - ), - >, - pub TakeIsMIDI: Option bool>, - pub ThemeLayout_GetLayout: Option< - unsafe extern "C" fn( - section: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - nameOut: *mut ::std::os::raw::c_char, - nameOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub ThemeLayout_GetParameter: Option< - unsafe extern "C" fn( - wp: ::std::os::raw::c_int, - descOutOptional: *mut *const ::std::os::raw::c_char, - valueOutOptional: *mut ::std::os::raw::c_int, - defValueOutOptional: *mut ::std::os::raw::c_int, - minValueOutOptional: *mut ::std::os::raw::c_int, - maxValueOutOptional: *mut ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char, - >, - pub ThemeLayout_RefreshAll: Option, - pub ThemeLayout_SetLayout: Option< - unsafe extern "C" fn( - section: *const ::std::os::raw::c_char, - layout: *const ::std::os::raw::c_char, - ) -> bool, - >, - pub ThemeLayout_SetParameter: Option< - extern "C" fn( - wp: ::std::os::raw::c_int, - value: ::std::os::raw::c_int, - persist: bool, - ) -> bool, - >, - pub time_precise: Option f64>, - pub TimeMap2_beatsToTime: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - tpos: f64, - measuresInOptional: *const ::std::os::raw::c_int, - ) -> f64, - >, - pub TimeMap2_GetDividedBpmAtTime: - Option f64>, - pub TimeMap2_GetNextChangeTime: - Option f64>, - pub TimeMap2_QNToTime: - Option f64>, - pub TimeMap2_timeToBeats: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - tpos: f64, - measuresOutOptional: *mut ::std::os::raw::c_int, - cmlOutOptional: *mut ::std::os::raw::c_int, - fullbeatsOutOptional: *mut f64, - cdenomOutOptional: *mut ::std::os::raw::c_int, - ) -> f64, - >, - pub TimeMap2_timeToQN: - Option f64>, - pub TimeMap_curFrameRate: - Option f64>, - pub TimeMap_GetDividedBpmAtTime: Option f64>, - pub TimeMap_GetMeasureInfo: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - measure: ::std::os::raw::c_int, - qn_startOut: *mut f64, - qn_endOut: *mut f64, - timesig_numOut: *mut ::std::os::raw::c_int, - timesig_denomOut: *mut ::std::os::raw::c_int, - tempoOut: *mut f64, - ) -> f64, - >, - pub TimeMap_GetMetronomePattern: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - time: f64, - pattern: *mut ::std::os::raw::c_char, - pattern_sz: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub TimeMap_GetTimeSigAtTime: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - time: f64, - timesig_numOut: *mut ::std::os::raw::c_int, - timesig_denomOut: *mut ::std::os::raw::c_int, - tempoOut: *mut f64, - ), - >, - pub TimeMap_QNToMeasures: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - qn: f64, - qnMeasureStartOutOptional: *mut f64, - qnMeasureEndOutOptional: *mut f64, - ) -> ::std::os::raw::c_int, - >, - pub TimeMap_QNToTime: Option f64>, - pub TimeMap_QNToTime_abs: - Option f64>, - pub TimeMap_timeToQN: Option f64>, - pub TimeMap_timeToQN_abs: - Option f64>, - pub ToggleTrackSendUIMute: Option< - unsafe extern "C" fn(track: *mut root::MediaTrack, send_idx: ::std::os::raw::c_int) -> bool, - >, - pub Track_GetPeakHoldDB: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - channel: ::std::os::raw::c_int, - clear: bool, - ) -> f64, - >, - pub Track_GetPeakInfo: Option< - unsafe extern "C" fn(track: *mut root::MediaTrack, channel: ::std::os::raw::c_int) -> f64, - >, - pub TrackCtl_SetToolTip: Option< - unsafe extern "C" fn( - fmt: *const ::std::os::raw::c_char, - xpos: ::std::os::raw::c_int, - ypos: ::std::os::raw::c_int, - topmost: bool, - ), - >, - pub TrackFX_AddByName: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fxname: *const ::std::os::raw::c_char, - recFX: bool, - instantiate: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub TrackFX_CopyToTake: Option< - unsafe extern "C" fn( - src_track: *mut root::MediaTrack, - src_fx: ::std::os::raw::c_int, - dest_take: *mut root::MediaItem_Take, - dest_fx: ::std::os::raw::c_int, - is_move: bool, - ), - >, - pub TrackFX_CopyToTrack: Option< - unsafe extern "C" fn( - src_track: *mut root::MediaTrack, - src_fx: ::std::os::raw::c_int, - dest_track: *mut root::MediaTrack, - dest_fx: ::std::os::raw::c_int, - is_move: bool, - ), - >, - pub TrackFX_Delete: Option< - unsafe extern "C" fn(track: *mut root::MediaTrack, fx: ::std::os::raw::c_int) -> bool, - >, - pub TrackFX_EndParamEdit: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - ) -> bool, - >, - pub TrackFX_FormatParamValue: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - val: f64, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TrackFX_FormatParamValueNormalized: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - value: f64, - buf: *mut ::std::os::raw::c_char, - buf_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TrackFX_GetByName: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fxname: *const ::std::os::raw::c_char, - instantiate: bool, - ) -> ::std::os::raw::c_int, - >, - pub TrackFX_GetChainVisible: - Option ::std::os::raw::c_int>, - pub TrackFX_GetCount: - Option ::std::os::raw::c_int>, - pub TrackFX_GetEnabled: Option< - unsafe extern "C" fn(track: *mut root::MediaTrack, fx: ::std::os::raw::c_int) -> bool, - >, - pub TrackFX_GetEQ: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - instantiate: bool, - ) -> ::std::os::raw::c_int, - >, - pub TrackFX_GetEQBandEnabled: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fxidx: ::std::os::raw::c_int, - bandtype: ::std::os::raw::c_int, - bandidx: ::std::os::raw::c_int, - ) -> bool, - >, - pub TrackFX_GetEQParam: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fxidx: ::std::os::raw::c_int, - paramidx: ::std::os::raw::c_int, - bandtypeOut: *mut ::std::os::raw::c_int, - bandidxOut: *mut ::std::os::raw::c_int, - paramtypeOut: *mut ::std::os::raw::c_int, - normvalOut: *mut f64, - ) -> bool, - >, - pub TrackFX_GetFloatingWindow: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - index: ::std::os::raw::c_int, - ) -> root::HWND, - >, - pub TrackFX_GetFormattedParamValue: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TrackFX_GetFXGUID: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - ) -> *mut root::GUID, - >, - pub TrackFX_GetFXName: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TrackFX_GetInstrument: - Option ::std::os::raw::c_int>, - pub TrackFX_GetIOSize: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - inputPinsOut: *mut ::std::os::raw::c_int, - outputPinsOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub TrackFX_GetNamedConfigParm: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - bufOutNeedBig: *mut ::std::os::raw::c_char, - bufOutNeedBig_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TrackFX_GetNumParams: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub TrackFX_GetOffline: Option< - unsafe extern "C" fn(track: *mut root::MediaTrack, fx: ::std::os::raw::c_int) -> bool, - >, - pub TrackFX_GetOpen: Option< - unsafe extern "C" fn(track: *mut root::MediaTrack, fx: ::std::os::raw::c_int) -> bool, - >, - pub TrackFX_GetParam: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - minvalOut: *mut f64, - maxvalOut: *mut f64, - ) -> f64, - >, - pub TrackFX_GetParameterStepSizes: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - stepOut: *mut f64, - smallstepOut: *mut f64, - largestepOut: *mut f64, - istoggleOut: *mut bool, - ) -> bool, - >, - pub TrackFX_GetParamEx: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - minvalOut: *mut f64, - maxvalOut: *mut f64, - midvalOut: *mut f64, - ) -> f64, - >, - pub TrackFX_GetParamFromIdent: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - ident_str: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int, - >, - pub TrackFX_GetParamIdent: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TrackFX_GetParamName: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - bufOut: *mut ::std::os::raw::c_char, - bufOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TrackFX_GetParamNormalized: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - ) -> f64, - >, - pub TrackFX_GetPinMappings: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - isoutput: ::std::os::raw::c_int, - pin: ::std::os::raw::c_int, - high32Out: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub TrackFX_GetPreset: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - presetnameOut: *mut ::std::os::raw::c_char, - presetnameOut_sz: ::std::os::raw::c_int, - ) -> bool, - >, - pub TrackFX_GetPresetIndex: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - numberOfPresetsOut: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub TrackFX_GetRecChainVisible: - Option ::std::os::raw::c_int>, - pub TrackFX_GetRecCount: - Option ::std::os::raw::c_int>, - pub TrackFX_GetUserPresetFilename: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - fnOut: *mut ::std::os::raw::c_char, - fnOut_sz: ::std::os::raw::c_int, - ), - >, - pub TrackFX_NavigatePresets: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - presetmove: ::std::os::raw::c_int, - ) -> bool, - >, - pub TrackFX_SetEnabled: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - enabled: bool, - ), - >, - pub TrackFX_SetEQBandEnabled: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fxidx: ::std::os::raw::c_int, - bandtype: ::std::os::raw::c_int, - bandidx: ::std::os::raw::c_int, - enable: bool, - ) -> bool, - >, - pub TrackFX_SetEQParam: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fxidx: ::std::os::raw::c_int, - bandtype: ::std::os::raw::c_int, - bandidx: ::std::os::raw::c_int, - paramtype: ::std::os::raw::c_int, - val: f64, - isnorm: bool, - ) -> bool, - >, - pub TrackFX_SetNamedConfigParm: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - parmname: *const ::std::os::raw::c_char, - value: *const ::std::os::raw::c_char, - ) -> bool, - >, - pub TrackFX_SetOffline: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - offline: bool, - ), - >, - pub TrackFX_SetOpen: Option< - unsafe extern "C" fn(track: *mut root::MediaTrack, fx: ::std::os::raw::c_int, open: bool), - >, - pub TrackFX_SetParam: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - val: f64, - ) -> bool, - >, - pub TrackFX_SetParamNormalized: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - param: ::std::os::raw::c_int, - value: f64, - ) -> bool, - >, - pub TrackFX_SetPinMappings: Option< - unsafe extern "C" fn( - tr: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - isoutput: ::std::os::raw::c_int, - pin: ::std::os::raw::c_int, - low32bits: ::std::os::raw::c_int, - hi32bits: ::std::os::raw::c_int, - ) -> bool, - >, - pub TrackFX_SetPreset: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - presetname: *const ::std::os::raw::c_char, - ) -> bool, - >, - pub TrackFX_SetPresetByIndex: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - fx: ::std::os::raw::c_int, - idx: ::std::os::raw::c_int, - ) -> bool, - >, - pub TrackFX_Show: Option< - unsafe extern "C" fn( - track: *mut root::MediaTrack, - index: ::std::os::raw::c_int, - showFlag: ::std::os::raw::c_int, - ), - >, - pub TrackList_AdjustWindows: Option, - pub TrackList_UpdateAllExternalSurfaces: Option, - pub Undo_BeginBlock: Option, - pub Undo_BeginBlock2: Option, - pub Undo_CanRedo2: - Option *const ::std::os::raw::c_char>, - pub Undo_CanUndo2: - Option *const ::std::os::raw::c_char>, - pub Undo_DoRedo2: - Option ::std::os::raw::c_int>, - pub Undo_DoUndo2: - Option ::std::os::raw::c_int>, - pub Undo_EndBlock: Option< - unsafe extern "C" fn( - descchange: *const ::std::os::raw::c_char, - extraflags: ::std::os::raw::c_int, - ), - >, - pub Undo_EndBlock2: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - descchange: *const ::std::os::raw::c_char, - extraflags: ::std::os::raw::c_int, - ), - >, - pub Undo_OnStateChange: Option, - pub Undo_OnStateChange2: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - descchange: *const ::std::os::raw::c_char, - ), - >, - pub Undo_OnStateChange_Item: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - name: *const ::std::os::raw::c_char, - item: *mut root::MediaItem, - ), - >, - pub Undo_OnStateChangeEx: Option< - unsafe extern "C" fn( - descchange: *const ::std::os::raw::c_char, - whichStates: ::std::os::raw::c_int, - trackparm: ::std::os::raw::c_int, - ), - >, - pub Undo_OnStateChangeEx2: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - descchange: *const ::std::os::raw::c_char, - whichStates: ::std::os::raw::c_int, - trackparm: ::std::os::raw::c_int, - ), - >, - pub update_disk_counters: - Option, - pub UpdateArrange: Option, - pub UpdateItemInProject: Option, - pub UpdateItemLanes: Option bool>, - pub UpdateTimeline: Option, - pub ValidatePtr: Option< - unsafe extern "C" fn( - pointer: *mut ::std::os::raw::c_void, - ctypename: *const ::std::os::raw::c_char, - ) -> bool, - >, - pub ValidatePtr2: Option< - unsafe extern "C" fn( - proj: *mut root::ReaProject, - pointer: *mut ::std::os::raw::c_void, - ctypename: *const ::std::os::raw::c_char, - ) -> bool, - >, - pub ViewPrefs: Option< - unsafe extern "C" fn( - page: ::std::os::raw::c_int, - pageByName: *const ::std::os::raw::c_char, - ), - >, - pub WDL_VirtualWnd_ScaledBlitBG: Option< - unsafe extern "C" fn( - dest: *mut root::reaper_functions::LICE_IBitmap, - src: *mut root::reaper_functions::WDL_VirtualWnd_BGCfg, - destx: ::std::os::raw::c_int, - desty: ::std::os::raw::c_int, - destw: ::std::os::raw::c_int, - desth: ::std::os::raw::c_int, - clipx: ::std::os::raw::c_int, - clipy: ::std::os::raw::c_int, - clipw: ::std::os::raw::c_int, - cliph: ::std::os::raw::c_int, - alpha: f32, - mode: ::std::os::raw::c_int, - ) -> bool, - >, - pub GetMidiInput: Option *mut root::midi_Input>, - pub GetMidiOutput: Option *mut root::midi_Output>, - pub fxDoReaperPresetAction: Option< - unsafe extern "C" fn( - fx: *mut ::std::os::raw::c_void, - name: *const ::std::os::raw::c_char, - flag: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub AddCustomMenuOrToolbarItem: Option< - unsafe extern "C" fn( - menuname: *const ::std::os::raw::c_char, - pos: ::std::os::raw::c_int, - command_id: ::std::os::raw::c_int, - toolbarflags: ::std::os::raw::c_int, - str: *const ::std::os::raw::c_char, - iconfn: *const ::std::os::raw::c_char, - extra_flags: ::std::os::raw::c_int, - ) -> bool, - >, - pub DeleteCustomMenuOrToolbarItem: Option< - unsafe extern "C" fn( - menuname: *const ::std::os::raw::c_char, - pos: ::std::os::raw::c_int, - extra_flags: ::std::os::raw::c_int, - ) -> bool, - >, - pub GetCustomMenuOrToolbarItem: Option< - unsafe extern "C" fn( - menuname: *const ::std::os::raw::c_char, - pos: ::std::os::raw::c_int, - commandOutOptional: *mut ::std::os::raw::c_int, - toolbarFlagsOutOptional: *mut ::std::os::raw::c_int, - strOutOptional: *mut *const ::std::os::raw::c_char, - iconFnOutOptional: *mut *const ::std::os::raw::c_char, - ) -> bool, - >, - pub AdvancePlaybackPosition: Option< - unsafe extern "C" fn( - __proj: *mut root::ReaProject, - opos: f64, - npos: *mut f64, - loopcnt: *mut ::std::os::raw::c_longlong, - srate: f64, - max_spls: *mut ::std::os::raw::c_int, - sf: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetPlayLoopCnt: Option< - unsafe extern "C" fn( - __proj: *mut root::ReaProject, - something: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_longlong, - >, - pub InitializeCoolSB: Option root::BOOL>, - pub UninitializeCoolSB: Option root::HRESULT>, - pub CoolSB_SetMinThumbSize: Option< - unsafe extern "system" fn( - hwnd: root::HWND, - wBar: root::UINT, - size: root::UINT, - ) -> root::BOOL, - >, - pub CoolSB_GetScrollInfo: Option< - unsafe extern "system" fn( - hwnd: root::HWND, - fnBar: ::std::os::raw::c_int, - lpsi: root::LPSCROLLINFO, - ) -> root::BOOL, - >, - pub CoolSB_SetScrollInfo: Option< - unsafe extern "system" fn( - hwnd: root::HWND, - fnBar: ::std::os::raw::c_int, - lpsi: root::LPSCROLLINFO, - fRedraw: root::BOOL, - ) -> ::std::os::raw::c_int, - >, - pub CoolSB_SetScrollPos: Option< - unsafe extern "system" fn( - hwnd: root::HWND, - nBar: ::std::os::raw::c_int, - nPos: ::std::os::raw::c_int, - fRedraw: root::BOOL, - ) -> ::std::os::raw::c_int, - >, - pub CoolSB_SetScrollRange: Option< - unsafe extern "system" fn( - hwnd: root::HWND, - nBar: ::std::os::raw::c_int, - nMinPos: ::std::os::raw::c_int, - nMaxPos: ::std::os::raw::c_int, - fRedraw: root::BOOL, - ) -> ::std::os::raw::c_int, - >, - pub CoolSB_ShowScrollBar: Option< - unsafe extern "system" fn( - hwnd: root::HWND, - wBar: ::std::os::raw::c_int, - fShow: root::BOOL, - ) -> root::BOOL, - >, - pub CoolSB_SetResizingThumb: - Option root::BOOL>, - pub CoolSB_SetThemeIndex: Option< - unsafe extern "system" fn(hwnd: root::HWND, idx: ::std::os::raw::c_int) -> root::BOOL, - >, -} -impl ReaperFunctionPointers { - pub(crate) const TOTAL_COUNT: u32 = 866u32; -} +# ! [doc = r" This file is automatically generated by executing `cargo build --features generate`."] # ! [doc = r""] # ! [doc = r" **Make adjustments in `build.rs`, not in this file!**"] # ! [allow (clippy :: many_single_char_names)] # ! [allow (clippy :: too_many_arguments)] # ! [allow (clippy :: type_complexity)] # ! [allow (clippy :: missing_transmute_annotations)] # ! [allow (non_upper_case_globals)] # ! [allow (non_camel_case_types)] # ! [allow (non_snake_case)] use crate :: { bindings :: root , PluginContext } ; # [doc = r" This is the low-level API access point to all REAPER functions."] # [doc = r""] # [doc = r" In order to use it, you first must obtain an instance of this struct by invoking [`load()`]."] # [doc = r""] # [doc = r" `Default::default()` will give you an instance which panics on each function call. It's"] # [doc = r" intended to be used for example code only."] # [doc = r""] # [doc = r" # Panics"] # [doc = r""] # [doc = r" Please note that it's possible that functions are *not available*. This can be the case if"] # [doc = r" the user runs your plug-in in an older version of REAPER which doesn't have that function yet."] # [doc = r" The availability of a function can be checked by inspecting the respective function pointer"] # [doc = r" option accessible via the [`pointers()`] method. The actual methods in this structs are just"] # [doc = r" convenience methods which unwrap the function pointers and panic if they are not available."] # [doc = r""] # [doc = r" [`load()`]: #method.load"] # [doc = r" [`pointers()`]: #method.pointers"] # [derive (Copy , Clone , Debug , Default)] pub struct Reaper { pub (crate) pointers : ReaperFunctionPointers , pub (crate) plugin_context : Option < PluginContext > , } impl Reaper { # [doc = r" Loads all available REAPER functions from the given plug-in context."] # [doc = r""] # [doc = r" Returns a low-level `Reaper` instance which allows you to call these functions."] pub fn load (plugin_context : PluginContext) -> Reaper { let mut loaded_count = 0 ; let mut pointers = unsafe { ReaperFunctionPointers { loaded_count : 0 , __mergesort : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (__mergesort)) . as_ptr ())) , AddCustomizableMenu : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (AddCustomizableMenu)) . as_ptr ())) , AddExtensionsMainMenu : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (AddExtensionsMainMenu)) . as_ptr ())) , AddMediaItemToTrack : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (AddMediaItemToTrack)) . as_ptr ())) , AddProjectMarker : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (AddProjectMarker)) . as_ptr ())) , AddProjectMarker2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (AddProjectMarker2)) . as_ptr ())) , AddRemoveReaScript : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (AddRemoveReaScript)) . as_ptr ())) , AddTakeToMediaItem : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (AddTakeToMediaItem)) . as_ptr ())) , AddTempoTimeSigMarker : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (AddTempoTimeSigMarker)) . as_ptr ())) , adjustZoom : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (adjustZoom)) . as_ptr ())) , AnyTrackSolo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (AnyTrackSolo)) . as_ptr ())) , APIExists : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (APIExists)) . as_ptr ())) , APITest : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (APITest)) . as_ptr ())) , ApplyNudge : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ApplyNudge)) . as_ptr ())) , ArmCommand : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ArmCommand)) . as_ptr ())) , Audio_Init : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Audio_Init)) . as_ptr ())) , Audio_IsPreBuffer : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Audio_IsPreBuffer)) . as_ptr ())) , Audio_IsRunning : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Audio_IsRunning)) . as_ptr ())) , Audio_Quit : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Audio_Quit)) . as_ptr ())) , Audio_RegHardwareHook : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Audio_RegHardwareHook)) . as_ptr ())) , AudioAccessorStateChanged : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (AudioAccessorStateChanged)) . as_ptr ())) , AudioAccessorUpdate : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (AudioAccessorUpdate)) . as_ptr ())) , AudioAccessorValidateState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (AudioAccessorValidateState)) . as_ptr ())) , BypassFxAllTracks : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (BypassFxAllTracks)) . as_ptr ())) , CalcMediaSrcLoudness : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CalcMediaSrcLoudness)) . as_ptr ())) , CalculateNormalization : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CalculateNormalization)) . as_ptr ())) , CalculatePeaks : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CalculatePeaks)) . as_ptr ())) , CalculatePeaksFloatSrcPtr : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CalculatePeaksFloatSrcPtr)) . as_ptr ())) , ClearAllRecArmed : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ClearAllRecArmed)) . as_ptr ())) , ClearConsole : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ClearConsole)) . as_ptr ())) , ClearPeakCache : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ClearPeakCache)) . as_ptr ())) , ColorFromNative : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ColorFromNative)) . as_ptr ())) , ColorToNative : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ColorToNative)) . as_ptr ())) , CountActionShortcuts : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountActionShortcuts)) . as_ptr ())) , CountAutomationItems : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountAutomationItems)) . as_ptr ())) , CountEnvelopePoints : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountEnvelopePoints)) . as_ptr ())) , CountEnvelopePointsEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountEnvelopePointsEx)) . as_ptr ())) , CountMediaItems : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountMediaItems)) . as_ptr ())) , CountProjectMarkers : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountProjectMarkers)) . as_ptr ())) , CountSelectedMediaItems : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountSelectedMediaItems)) . as_ptr ())) , CountSelectedTracks : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountSelectedTracks)) . as_ptr ())) , CountSelectedTracks2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountSelectedTracks2)) . as_ptr ())) , CountTakeEnvelopes : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountTakeEnvelopes)) . as_ptr ())) , CountTakes : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountTakes)) . as_ptr ())) , CountTCPFXParms : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountTCPFXParms)) . as_ptr ())) , CountTempoTimeSigMarkers : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountTempoTimeSigMarkers)) . as_ptr ())) , CountTrackEnvelopes : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountTrackEnvelopes)) . as_ptr ())) , CountTrackMediaItems : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountTrackMediaItems)) . as_ptr ())) , CountTracks : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CountTracks)) . as_ptr ())) , CreateLocalOscHandler : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CreateLocalOscHandler)) . as_ptr ())) , CreateMIDIInput : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CreateMIDIInput)) . as_ptr ())) , CreateMIDIOutput : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CreateMIDIOutput)) . as_ptr ())) , CreateNewMIDIItemInProj : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CreateNewMIDIItemInProj)) . as_ptr ())) , CreateTakeAudioAccessor : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CreateTakeAudioAccessor)) . as_ptr ())) , CreateTrackAudioAccessor : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CreateTrackAudioAccessor)) . as_ptr ())) , CreateTrackSend : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CreateTrackSend)) . as_ptr ())) , CSurf_FlushUndo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_FlushUndo)) . as_ptr ())) , CSurf_GetTouchState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_GetTouchState)) . as_ptr ())) , CSurf_GoEnd : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_GoEnd)) . as_ptr ())) , CSurf_GoStart : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_GoStart)) . as_ptr ())) , CSurf_NumTracks : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_NumTracks)) . as_ptr ())) , CSurf_OnArrow : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnArrow)) . as_ptr ())) , CSurf_OnFwd : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnFwd)) . as_ptr ())) , CSurf_OnFXChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnFXChange)) . as_ptr ())) , CSurf_OnInputMonitorChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnInputMonitorChange)) . as_ptr ())) , CSurf_OnInputMonitorChangeEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnInputMonitorChangeEx)) . as_ptr ())) , CSurf_OnMuteChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnMuteChange)) . as_ptr ())) , CSurf_OnMuteChangeEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnMuteChangeEx)) . as_ptr ())) , CSurf_OnOscControlMessage : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnOscControlMessage)) . as_ptr ())) , CSurf_OnOscControlMessage2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnOscControlMessage2)) . as_ptr ())) , CSurf_OnPanChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnPanChange)) . as_ptr ())) , CSurf_OnPanChangeEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnPanChangeEx)) . as_ptr ())) , CSurf_OnPause : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnPause)) . as_ptr ())) , CSurf_OnPlay : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnPlay)) . as_ptr ())) , CSurf_OnPlayRateChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnPlayRateChange)) . as_ptr ())) , CSurf_OnRecArmChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnRecArmChange)) . as_ptr ())) , CSurf_OnRecArmChangeEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnRecArmChangeEx)) . as_ptr ())) , CSurf_OnRecord : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnRecord)) . as_ptr ())) , CSurf_OnRecvPanChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnRecvPanChange)) . as_ptr ())) , CSurf_OnRecvVolumeChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnRecvVolumeChange)) . as_ptr ())) , CSurf_OnRew : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnRew)) . as_ptr ())) , CSurf_OnRewFwd : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnRewFwd)) . as_ptr ())) , CSurf_OnScroll : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnScroll)) . as_ptr ())) , CSurf_OnSelectedChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnSelectedChange)) . as_ptr ())) , CSurf_OnSendPanChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnSendPanChange)) . as_ptr ())) , CSurf_OnSendVolumeChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnSendVolumeChange)) . as_ptr ())) , CSurf_OnSoloChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnSoloChange)) . as_ptr ())) , CSurf_OnSoloChangeEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnSoloChangeEx)) . as_ptr ())) , CSurf_OnStop : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnStop)) . as_ptr ())) , CSurf_OnTempoChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnTempoChange)) . as_ptr ())) , CSurf_OnTrackSelection : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnTrackSelection)) . as_ptr ())) , CSurf_OnVolumeChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnVolumeChange)) . as_ptr ())) , CSurf_OnVolumeChangeEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnVolumeChangeEx)) . as_ptr ())) , CSurf_OnWidthChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnWidthChange)) . as_ptr ())) , CSurf_OnWidthChangeEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnWidthChangeEx)) . as_ptr ())) , CSurf_OnZoom : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_OnZoom)) . as_ptr ())) , CSurf_ResetAllCachedVolPanStates : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_ResetAllCachedVolPanStates)) . as_ptr ())) , CSurf_ScrubAmt : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_ScrubAmt)) . as_ptr ())) , CSurf_SetAutoMode : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_SetAutoMode)) . as_ptr ())) , CSurf_SetPlayState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_SetPlayState)) . as_ptr ())) , CSurf_SetRepeatState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_SetRepeatState)) . as_ptr ())) , CSurf_SetSurfaceMute : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_SetSurfaceMute)) . as_ptr ())) , CSurf_SetSurfacePan : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_SetSurfacePan)) . as_ptr ())) , CSurf_SetSurfaceRecArm : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_SetSurfaceRecArm)) . as_ptr ())) , CSurf_SetSurfaceSelected : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_SetSurfaceSelected)) . as_ptr ())) , CSurf_SetSurfaceSolo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_SetSurfaceSolo)) . as_ptr ())) , CSurf_SetSurfaceVolume : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_SetSurfaceVolume)) . as_ptr ())) , CSurf_SetTrackListChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_SetTrackListChange)) . as_ptr ())) , CSurf_TrackFromID : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_TrackFromID)) . as_ptr ())) , CSurf_TrackToID : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CSurf_TrackToID)) . as_ptr ())) , DB2SLIDER : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DB2SLIDER)) . as_ptr ())) , DeleteActionShortcut : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DeleteActionShortcut)) . as_ptr ())) , DeleteEnvelopePointEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DeleteEnvelopePointEx)) . as_ptr ())) , DeleteEnvelopePointRange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DeleteEnvelopePointRange)) . as_ptr ())) , DeleteEnvelopePointRangeEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DeleteEnvelopePointRangeEx)) . as_ptr ())) , DeleteExtState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DeleteExtState)) . as_ptr ())) , DeleteProjectMarker : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DeleteProjectMarker)) . as_ptr ())) , DeleteProjectMarkerByIndex : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DeleteProjectMarkerByIndex)) . as_ptr ())) , DeleteTakeMarker : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DeleteTakeMarker)) . as_ptr ())) , DeleteTakeStretchMarkers : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DeleteTakeStretchMarkers)) . as_ptr ())) , DeleteTempoTimeSigMarker : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DeleteTempoTimeSigMarker)) . as_ptr ())) , DeleteTrack : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DeleteTrack)) . as_ptr ())) , DeleteTrackMediaItem : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DeleteTrackMediaItem)) . as_ptr ())) , DestroyAudioAccessor : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DestroyAudioAccessor)) . as_ptr ())) , DestroyLocalOscHandler : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DestroyLocalOscHandler)) . as_ptr ())) , DoActionShortcutDialog : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DoActionShortcutDialog)) . as_ptr ())) , Dock_UpdateDockID : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Dock_UpdateDockID)) . as_ptr ())) , DockGetPosition : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DockGetPosition)) . as_ptr ())) , DockIsChildOfDock : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DockIsChildOfDock)) . as_ptr ())) , DockWindowActivate : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DockWindowActivate)) . as_ptr ())) , DockWindowAdd : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DockWindowAdd)) . as_ptr ())) , DockWindowAddEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DockWindowAddEx)) . as_ptr ())) , DockWindowRefresh : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DockWindowRefresh)) . as_ptr ())) , DockWindowRefreshForHWND : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DockWindowRefreshForHWND)) . as_ptr ())) , DockWindowRemove : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DockWindowRemove)) . as_ptr ())) , DuplicateCustomizableMenu : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DuplicateCustomizableMenu)) . as_ptr ())) , EditTempoTimeSigMarker : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (EditTempoTimeSigMarker)) . as_ptr ())) , EnsureNotCompletelyOffscreen : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (EnsureNotCompletelyOffscreen)) . as_ptr ())) , EnumerateFiles : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (EnumerateFiles)) . as_ptr ())) , EnumerateSubdirectories : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (EnumerateSubdirectories)) . as_ptr ())) , EnumInstalledFX : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (EnumInstalledFX)) . as_ptr ())) , EnumPitchShiftModes : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (EnumPitchShiftModes)) . as_ptr ())) , EnumPitchShiftSubModes : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (EnumPitchShiftSubModes)) . as_ptr ())) , EnumProjectMarkers : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (EnumProjectMarkers)) . as_ptr ())) , EnumProjectMarkers2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (EnumProjectMarkers2)) . as_ptr ())) , EnumProjectMarkers3 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (EnumProjectMarkers3)) . as_ptr ())) , EnumProjects : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (EnumProjects)) . as_ptr ())) , EnumProjExtState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (EnumProjExtState)) . as_ptr ())) , EnumRegionRenderMatrix : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (EnumRegionRenderMatrix)) . as_ptr ())) , EnumTrackMIDIProgramNames : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (EnumTrackMIDIProgramNames)) . as_ptr ())) , EnumTrackMIDIProgramNamesEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (EnumTrackMIDIProgramNamesEx)) . as_ptr ())) , Envelope_Evaluate : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Envelope_Evaluate)) . as_ptr ())) , Envelope_FormatValue : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Envelope_FormatValue)) . as_ptr ())) , Envelope_GetParentTake : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Envelope_GetParentTake)) . as_ptr ())) , Envelope_GetParentTrack : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Envelope_GetParentTrack)) . as_ptr ())) , Envelope_SortPoints : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Envelope_SortPoints)) . as_ptr ())) , Envelope_SortPointsEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Envelope_SortPointsEx)) . as_ptr ())) , ExecProcess : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ExecProcess)) . as_ptr ())) , file_exists : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (file_exists)) . as_ptr ())) , FindTempoTimeSigMarker : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (FindTempoTimeSigMarker)) . as_ptr ())) , format_timestr : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (format_timestr)) . as_ptr ())) , format_timestr_len : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (format_timestr_len)) . as_ptr ())) , format_timestr_pos : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (format_timestr_pos)) . as_ptr ())) , FreeHeapPtr : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (FreeHeapPtr)) . as_ptr ())) , genGuid : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (genGuid)) . as_ptr ())) , get_config_var : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (get_config_var)) . as_ptr ())) , get_config_var_string : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (get_config_var_string)) . as_ptr ())) , get_ini_file : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (get_ini_file)) . as_ptr ())) , get_midi_config_var : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (get_midi_config_var)) . as_ptr ())) , GetActionShortcutDesc : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetActionShortcutDesc)) . as_ptr ())) , GetActiveTake : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetActiveTake)) . as_ptr ())) , GetAllProjectPlayStates : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetAllProjectPlayStates)) . as_ptr ())) , GetAppVersion : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetAppVersion)) . as_ptr ())) , GetArmedCommand : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetArmedCommand)) . as_ptr ())) , GetAudioAccessorEndTime : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetAudioAccessorEndTime)) . as_ptr ())) , GetAudioAccessorHash : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetAudioAccessorHash)) . as_ptr ())) , GetAudioAccessorSamples : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetAudioAccessorSamples)) . as_ptr ())) , GetAudioAccessorStartTime : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetAudioAccessorStartTime)) . as_ptr ())) , GetAudioDeviceInfo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetAudioDeviceInfo)) . as_ptr ())) , GetColorTheme : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetColorTheme)) . as_ptr ())) , GetColorThemeStruct : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetColorThemeStruct)) . as_ptr ())) , GetConfigWantsDock : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetConfigWantsDock)) . as_ptr ())) , GetContextMenu : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetContextMenu)) . as_ptr ())) , GetCurrentProjectInLoadSave : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetCurrentProjectInLoadSave)) . as_ptr ())) , GetCursorContext : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetCursorContext)) . as_ptr ())) , GetCursorContext2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetCursorContext2)) . as_ptr ())) , GetCursorPosition : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetCursorPosition)) . as_ptr ())) , GetCursorPositionEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetCursorPositionEx)) . as_ptr ())) , GetDisplayedMediaItemColor : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetDisplayedMediaItemColor)) . as_ptr ())) , GetDisplayedMediaItemColor2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetDisplayedMediaItemColor2)) . as_ptr ())) , GetEnvelopeInfo_Value : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetEnvelopeInfo_Value)) . as_ptr ())) , GetEnvelopeName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetEnvelopeName)) . as_ptr ())) , GetEnvelopePoint : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetEnvelopePoint)) . as_ptr ())) , GetEnvelopePointByTime : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetEnvelopePointByTime)) . as_ptr ())) , GetEnvelopePointByTimeEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetEnvelopePointByTimeEx)) . as_ptr ())) , GetEnvelopePointEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetEnvelopePointEx)) . as_ptr ())) , GetEnvelopeScalingMode : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetEnvelopeScalingMode)) . as_ptr ())) , GetEnvelopeStateChunk : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetEnvelopeStateChunk)) . as_ptr ())) , GetEnvelopeUIState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetEnvelopeUIState)) . as_ptr ())) , GetExePath : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetExePath)) . as_ptr ())) , GetExtState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetExtState)) . as_ptr ())) , GetFocusedFX : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetFocusedFX)) . as_ptr ())) , GetFocusedFX2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetFocusedFX2)) . as_ptr ())) , GetFreeDiskSpaceForRecordPath : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetFreeDiskSpaceForRecordPath)) . as_ptr ())) , GetFXEnvelope : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetFXEnvelope)) . as_ptr ())) , GetGlobalAutomationOverride : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetGlobalAutomationOverride)) . as_ptr ())) , GetHZoomLevel : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetHZoomLevel)) . as_ptr ())) , GetIconThemePointer : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetIconThemePointer)) . as_ptr ())) , GetIconThemePointerForDPI : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetIconThemePointerForDPI)) . as_ptr ())) , GetIconThemeStruct : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetIconThemeStruct)) . as_ptr ())) , GetInputActivityLevel : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetInputActivityLevel)) . as_ptr ())) , GetInputChannelName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetInputChannelName)) . as_ptr ())) , GetInputOutputLatency : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetInputOutputLatency)) . as_ptr ())) , GetItemEditingTime2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetItemEditingTime2)) . as_ptr ())) , GetItemFromPoint : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetItemFromPoint)) . as_ptr ())) , GetItemProjectContext : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetItemProjectContext)) . as_ptr ())) , GetItemStateChunk : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetItemStateChunk)) . as_ptr ())) , GetLastColorThemeFile : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetLastColorThemeFile)) . as_ptr ())) , GetLastMarkerAndCurRegion : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetLastMarkerAndCurRegion)) . as_ptr ())) , GetLastTouchedFX : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetLastTouchedFX)) . as_ptr ())) , GetLastTouchedTrack : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetLastTouchedTrack)) . as_ptr ())) , GetMainHwnd : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMainHwnd)) . as_ptr ())) , GetMasterMuteSoloFlags : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMasterMuteSoloFlags)) . as_ptr ())) , GetMasterTrack : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMasterTrack)) . as_ptr ())) , GetMasterTrackVisibility : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMasterTrackVisibility)) . as_ptr ())) , GetMaxMidiInputs : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMaxMidiInputs)) . as_ptr ())) , GetMaxMidiOutputs : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMaxMidiOutputs)) . as_ptr ())) , GetMediaFileMetadata : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaFileMetadata)) . as_ptr ())) , GetMediaItem : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaItem)) . as_ptr ())) , GetMediaItem_Track : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaItem_Track)) . as_ptr ())) , GetMediaItemInfo_Value : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaItemInfo_Value)) . as_ptr ())) , GetMediaItemNumTakes : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaItemNumTakes)) . as_ptr ())) , GetMediaItemTake : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaItemTake)) . as_ptr ())) , GetMediaItemTake_Item : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaItemTake_Item)) . as_ptr ())) , GetMediaItemTake_Peaks : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaItemTake_Peaks)) . as_ptr ())) , GetMediaItemTake_Source : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaItemTake_Source)) . as_ptr ())) , GetMediaItemTake_Track : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaItemTake_Track)) . as_ptr ())) , GetMediaItemTakeByGUID : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaItemTakeByGUID)) . as_ptr ())) , GetMediaItemTakeInfo_Value : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaItemTakeInfo_Value)) . as_ptr ())) , GetMediaItemTrack : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaItemTrack)) . as_ptr ())) , GetMediaSourceFileName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaSourceFileName)) . as_ptr ())) , GetMediaSourceLength : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaSourceLength)) . as_ptr ())) , GetMediaSourceNumChannels : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaSourceNumChannels)) . as_ptr ())) , GetMediaSourceParent : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaSourceParent)) . as_ptr ())) , GetMediaSourceSampleRate : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaSourceSampleRate)) . as_ptr ())) , GetMediaSourceType : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaSourceType)) . as_ptr ())) , GetMediaTrackInfo_Value : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMediaTrackInfo_Value)) . as_ptr ())) , GetMIDIInputName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMIDIInputName)) . as_ptr ())) , GetMIDIOutputName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMIDIOutputName)) . as_ptr ())) , GetMixerScroll : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMixerScroll)) . as_ptr ())) , GetMouseModifier : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMouseModifier)) . as_ptr ())) , GetMousePosition : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMousePosition)) . as_ptr ())) , GetNumAudioInputs : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetNumAudioInputs)) . as_ptr ())) , GetNumAudioOutputs : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetNumAudioOutputs)) . as_ptr ())) , GetNumMIDIInputs : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetNumMIDIInputs)) . as_ptr ())) , GetNumMIDIOutputs : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetNumMIDIOutputs)) . as_ptr ())) , GetNumTakeMarkers : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetNumTakeMarkers)) . as_ptr ())) , GetNumTracks : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetNumTracks)) . as_ptr ())) , GetOS : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetOS)) . as_ptr ())) , GetOutputChannelName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetOutputChannelName)) . as_ptr ())) , GetOutputLatency : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetOutputLatency)) . as_ptr ())) , GetParentTrack : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetParentTrack)) . as_ptr ())) , GetPeakFileName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetPeakFileName)) . as_ptr ())) , GetPeakFileNameEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetPeakFileNameEx)) . as_ptr ())) , GetPeakFileNameEx2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetPeakFileNameEx2)) . as_ptr ())) , GetPeaksBitmap : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetPeaksBitmap)) . as_ptr ())) , GetPlayPosition : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetPlayPosition)) . as_ptr ())) , GetPlayPosition2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetPlayPosition2)) . as_ptr ())) , GetPlayPosition2Ex : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetPlayPosition2Ex)) . as_ptr ())) , GetPlayPositionEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetPlayPositionEx)) . as_ptr ())) , GetPlayState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetPlayState)) . as_ptr ())) , GetPlayStateEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetPlayStateEx)) . as_ptr ())) , GetPreferredDiskReadMode : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetPreferredDiskReadMode)) . as_ptr ())) , GetPreferredDiskReadModePeak : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetPreferredDiskReadModePeak)) . as_ptr ())) , GetPreferredDiskWriteMode : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetPreferredDiskWriteMode)) . as_ptr ())) , GetProjectLength : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetProjectLength)) . as_ptr ())) , GetProjectName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetProjectName)) . as_ptr ())) , GetProjectPath : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetProjectPath)) . as_ptr ())) , GetProjectPathEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetProjectPathEx)) . as_ptr ())) , GetProjectStateChangeCount : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetProjectStateChangeCount)) . as_ptr ())) , GetProjectTimeOffset : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetProjectTimeOffset)) . as_ptr ())) , GetProjectTimeSignature : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetProjectTimeSignature)) . as_ptr ())) , GetProjectTimeSignature2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetProjectTimeSignature2)) . as_ptr ())) , GetProjExtState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetProjExtState)) . as_ptr ())) , GetResourcePath : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetResourcePath)) . as_ptr ())) , GetSelectedEnvelope : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSelectedEnvelope)) . as_ptr ())) , GetSelectedMediaItem : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSelectedMediaItem)) . as_ptr ())) , GetSelectedTrack : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSelectedTrack)) . as_ptr ())) , GetSelectedTrack2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSelectedTrack2)) . as_ptr ())) , GetSelectedTrackEnvelope : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSelectedTrackEnvelope)) . as_ptr ())) , GetSet_ArrangeView2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSet_ArrangeView2)) . as_ptr ())) , GetSet_LoopTimeRange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSet_LoopTimeRange)) . as_ptr ())) , GetSet_LoopTimeRange2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSet_LoopTimeRange2)) . as_ptr ())) , GetSetAutomationItemInfo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetAutomationItemInfo)) . as_ptr ())) , GetSetAutomationItemInfo_String : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetAutomationItemInfo_String)) . as_ptr ())) , GetSetEnvelopeInfo_String : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetEnvelopeInfo_String)) . as_ptr ())) , GetSetEnvelopeState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetEnvelopeState)) . as_ptr ())) , GetSetEnvelopeState2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetEnvelopeState2)) . as_ptr ())) , GetSetItemState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetItemState)) . as_ptr ())) , GetSetItemState2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetItemState2)) . as_ptr ())) , GetSetMediaItemInfo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetMediaItemInfo)) . as_ptr ())) , GetSetMediaItemInfo_String : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetMediaItemInfo_String)) . as_ptr ())) , GetSetMediaItemTakeInfo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetMediaItemTakeInfo)) . as_ptr ())) , GetSetMediaItemTakeInfo_String : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetMediaItemTakeInfo_String)) . as_ptr ())) , GetSetMediaTrackInfo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetMediaTrackInfo)) . as_ptr ())) , GetSetMediaTrackInfo_String : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetMediaTrackInfo_String)) . as_ptr ())) , GetSetObjectState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetObjectState)) . as_ptr ())) , GetSetObjectState2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetObjectState2)) . as_ptr ())) , GetSetProjectAuthor : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetProjectAuthor)) . as_ptr ())) , GetSetProjectGrid : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetProjectGrid)) . as_ptr ())) , GetSetProjectInfo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetProjectInfo)) . as_ptr ())) , GetSetProjectInfo_String : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetProjectInfo_String)) . as_ptr ())) , GetSetProjectNotes : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetProjectNotes)) . as_ptr ())) , GetSetRepeat : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetRepeat)) . as_ptr ())) , GetSetRepeatEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetRepeatEx)) . as_ptr ())) , GetSetTempoTimeSigMarkerFlag : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetTempoTimeSigMarkerFlag)) . as_ptr ())) , GetSetTrackGroupMembership : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetTrackGroupMembership)) . as_ptr ())) , GetSetTrackGroupMembershipEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetTrackGroupMembershipEx)) . as_ptr ())) , GetSetTrackGroupMembershipHigh : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetTrackGroupMembershipHigh)) . as_ptr ())) , GetSetTrackMIDISupportFile : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetTrackMIDISupportFile)) . as_ptr ())) , GetSetTrackSendInfo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetTrackSendInfo)) . as_ptr ())) , GetSetTrackSendInfo_String : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetTrackSendInfo_String)) . as_ptr ())) , GetSetTrackState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetTrackState)) . as_ptr ())) , GetSetTrackState2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSetTrackState2)) . as_ptr ())) , GetSubProjectFromSource : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetSubProjectFromSource)) . as_ptr ())) , GetTake : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTake)) . as_ptr ())) , GetTakeEnvelope : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTakeEnvelope)) . as_ptr ())) , GetTakeEnvelopeByName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTakeEnvelopeByName)) . as_ptr ())) , GetTakeMarker : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTakeMarker)) . as_ptr ())) , GetTakeName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTakeName)) . as_ptr ())) , GetTakeNumStretchMarkers : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTakeNumStretchMarkers)) . as_ptr ())) , GetTakeStretchMarker : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTakeStretchMarker)) . as_ptr ())) , GetTakeStretchMarkerSlope : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTakeStretchMarkerSlope)) . as_ptr ())) , GetTCPFXParm : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTCPFXParm)) . as_ptr ())) , GetTempoMatchPlayRate : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTempoMatchPlayRate)) . as_ptr ())) , GetTempoTimeSigMarker : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTempoTimeSigMarker)) . as_ptr ())) , GetThemeColor : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetThemeColor)) . as_ptr ())) , GetThingFromPoint : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetThingFromPoint)) . as_ptr ())) , GetToggleCommandState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetToggleCommandState)) . as_ptr ())) , GetToggleCommandState2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetToggleCommandState2)) . as_ptr ())) , GetToggleCommandStateEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetToggleCommandStateEx)) . as_ptr ())) , GetToggleCommandStateThroughHooks : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetToggleCommandStateThroughHooks)) . as_ptr ())) , GetTooltipWindow : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTooltipWindow)) . as_ptr ())) , GetTouchedOrFocusedFX : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTouchedOrFocusedFX)) . as_ptr ())) , GetTrack : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrack)) . as_ptr ())) , GetTrackAutomationMode : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackAutomationMode)) . as_ptr ())) , GetTrackColor : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackColor)) . as_ptr ())) , GetTrackDepth : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackDepth)) . as_ptr ())) , GetTrackEnvelope : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackEnvelope)) . as_ptr ())) , GetTrackEnvelopeByChunkName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackEnvelopeByChunkName)) . as_ptr ())) , GetTrackEnvelopeByName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackEnvelopeByName)) . as_ptr ())) , GetTrackFromPoint : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackFromPoint)) . as_ptr ())) , GetTrackGUID : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackGUID)) . as_ptr ())) , GetTrackInfo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackInfo)) . as_ptr ())) , GetTrackMediaItem : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackMediaItem)) . as_ptr ())) , GetTrackMIDILyrics : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackMIDILyrics)) . as_ptr ())) , GetTrackMIDINoteName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackMIDINoteName)) . as_ptr ())) , GetTrackMIDINoteNameEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackMIDINoteNameEx)) . as_ptr ())) , GetTrackMIDINoteRange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackMIDINoteRange)) . as_ptr ())) , GetTrackName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackName)) . as_ptr ())) , GetTrackNumMediaItems : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackNumMediaItems)) . as_ptr ())) , GetTrackNumSends : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackNumSends)) . as_ptr ())) , GetTrackReceiveName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackReceiveName)) . as_ptr ())) , GetTrackReceiveUIMute : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackReceiveUIMute)) . as_ptr ())) , GetTrackReceiveUIVolPan : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackReceiveUIVolPan)) . as_ptr ())) , GetTrackSendInfo_Value : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackSendInfo_Value)) . as_ptr ())) , GetTrackSendName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackSendName)) . as_ptr ())) , GetTrackSendUIMute : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackSendUIMute)) . as_ptr ())) , GetTrackSendUIVolPan : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackSendUIVolPan)) . as_ptr ())) , GetTrackState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackState)) . as_ptr ())) , GetTrackStateChunk : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackStateChunk)) . as_ptr ())) , GetTrackUIMute : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackUIMute)) . as_ptr ())) , GetTrackUIPan : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackUIPan)) . as_ptr ())) , GetTrackUIVolPan : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetTrackUIVolPan)) . as_ptr ())) , GetUnderrunTime : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetUnderrunTime)) . as_ptr ())) , GetUserFileNameForRead : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetUserFileNameForRead)) . as_ptr ())) , GetUserInputs : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetUserInputs)) . as_ptr ())) , GoToMarker : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GoToMarker)) . as_ptr ())) , GoToRegion : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GoToRegion)) . as_ptr ())) , GR_SelectColor : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GR_SelectColor)) . as_ptr ())) , GSC_mainwnd : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GSC_mainwnd)) . as_ptr ())) , guidToString : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (guidToString)) . as_ptr ())) , HasExtState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (HasExtState)) . as_ptr ())) , HasTrackMIDIPrograms : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (HasTrackMIDIPrograms)) . as_ptr ())) , HasTrackMIDIProgramsEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (HasTrackMIDIProgramsEx)) . as_ptr ())) , Help_Set : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Help_Set)) . as_ptr ())) , HiresPeaksFromSource : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (HiresPeaksFromSource)) . as_ptr ())) , image_resolve_fn : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (image_resolve_fn)) . as_ptr ())) , InsertAutomationItem : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (InsertAutomationItem)) . as_ptr ())) , InsertEnvelopePoint : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (InsertEnvelopePoint)) . as_ptr ())) , InsertEnvelopePointEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (InsertEnvelopePointEx)) . as_ptr ())) , InsertMedia : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (InsertMedia)) . as_ptr ())) , InsertMediaSection : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (InsertMediaSection)) . as_ptr ())) , InsertTrackAtIndex : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (InsertTrackAtIndex)) . as_ptr ())) , InsertTrackInProject : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (InsertTrackInProject)) . as_ptr ())) , IsInRealTimeAudio : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (IsInRealTimeAudio)) . as_ptr ())) , IsItemTakeActiveForPlayback : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (IsItemTakeActiveForPlayback)) . as_ptr ())) , IsMediaExtension : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (IsMediaExtension)) . as_ptr ())) , IsMediaItemSelected : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (IsMediaItemSelected)) . as_ptr ())) , IsProjectDirty : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (IsProjectDirty)) . as_ptr ())) , IsREAPER : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (IsREAPER)) . as_ptr ())) , IsTrackSelected : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (IsTrackSelected)) . as_ptr ())) , IsTrackVisible : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (IsTrackVisible)) . as_ptr ())) , IsWindowTextField : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (IsWindowTextField)) . as_ptr ())) , joystick_create : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (joystick_create)) . as_ptr ())) , joystick_destroy : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (joystick_destroy)) . as_ptr ())) , joystick_enum : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (joystick_enum)) . as_ptr ())) , joystick_getaxis : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (joystick_getaxis)) . as_ptr ())) , joystick_getbuttonmask : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (joystick_getbuttonmask)) . as_ptr ())) , joystick_getinfo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (joystick_getinfo)) . as_ptr ())) , joystick_getpov : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (joystick_getpov)) . as_ptr ())) , joystick_update : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (joystick_update)) . as_ptr ())) , kbd_enumerateActions : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (kbd_enumerateActions)) . as_ptr ())) , kbd_formatKeyName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (kbd_formatKeyName)) . as_ptr ())) , kbd_getCommandName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (kbd_getCommandName)) . as_ptr ())) , kbd_getTextFromCmd : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (kbd_getTextFromCmd)) . as_ptr ())) , KBD_OnMainActionEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (KBD_OnMainActionEx)) . as_ptr ())) , kbd_OnMidiEvent : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (kbd_OnMidiEvent)) . as_ptr ())) , kbd_OnMidiList : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (kbd_OnMidiList)) . as_ptr ())) , kbd_ProcessActionsMenu : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (kbd_ProcessActionsMenu)) . as_ptr ())) , kbd_processMidiEventActionEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (kbd_processMidiEventActionEx)) . as_ptr ())) , kbd_reprocessMenu : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (kbd_reprocessMenu)) . as_ptr ())) , kbd_RunCommandThroughHooks : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (kbd_RunCommandThroughHooks)) . as_ptr ())) , kbd_translateAccelerator : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (kbd_translateAccelerator)) . as_ptr ())) , LICE__Destroy : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE__Destroy)) . as_ptr ())) , LICE__DestroyFont : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE__DestroyFont)) . as_ptr ())) , LICE__DrawText : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE__DrawText)) . as_ptr ())) , LICE__GetBits : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE__GetBits)) . as_ptr ())) , LICE__GetDC : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE__GetDC)) . as_ptr ())) , LICE__GetHeight : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE__GetHeight)) . as_ptr ())) , LICE__GetRowSpan : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE__GetRowSpan)) . as_ptr ())) , LICE__GetWidth : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE__GetWidth)) . as_ptr ())) , LICE__IsFlipped : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE__IsFlipped)) . as_ptr ())) , LICE__resize : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE__resize)) . as_ptr ())) , LICE__SetBkColor : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE__SetBkColor)) . as_ptr ())) , LICE__SetFromHFont : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE__SetFromHFont)) . as_ptr ())) , LICE__SetTextColor : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE__SetTextColor)) . as_ptr ())) , LICE__SetTextCombineMode : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE__SetTextCombineMode)) . as_ptr ())) , LICE_Arc : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_Arc)) . as_ptr ())) , LICE_Blit : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_Blit)) . as_ptr ())) , LICE_Blur : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_Blur)) . as_ptr ())) , LICE_BorderedRect : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_BorderedRect)) . as_ptr ())) , LICE_Circle : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_Circle)) . as_ptr ())) , LICE_Clear : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_Clear)) . as_ptr ())) , LICE_ClearRect : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_ClearRect)) . as_ptr ())) , LICE_ClipLine : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_ClipLine)) . as_ptr ())) , LICE_CombinePixels : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_CombinePixels)) . as_ptr ())) , LICE_Copy : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_Copy)) . as_ptr ())) , LICE_CreateBitmap : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_CreateBitmap)) . as_ptr ())) , LICE_CreateFont : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_CreateFont)) . as_ptr ())) , LICE_DrawCBezier : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_DrawCBezier)) . as_ptr ())) , LICE_DrawChar : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_DrawChar)) . as_ptr ())) , LICE_DrawGlyph : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_DrawGlyph)) . as_ptr ())) , LICE_DrawRect : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_DrawRect)) . as_ptr ())) , LICE_DrawText : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_DrawText)) . as_ptr ())) , LICE_FillCBezier : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_FillCBezier)) . as_ptr ())) , LICE_FillCircle : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_FillCircle)) . as_ptr ())) , LICE_FillConvexPolygon : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_FillConvexPolygon)) . as_ptr ())) , LICE_FillRect : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_FillRect)) . as_ptr ())) , LICE_FillTrapezoid : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_FillTrapezoid)) . as_ptr ())) , LICE_FillTriangle : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_FillTriangle)) . as_ptr ())) , LICE_GetPixel : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_GetPixel)) . as_ptr ())) , LICE_GradRect : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_GradRect)) . as_ptr ())) , LICE_Line : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_Line)) . as_ptr ())) , LICE_LineInt : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_LineInt)) . as_ptr ())) , LICE_LoadPNG : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_LoadPNG)) . as_ptr ())) , LICE_LoadPNGFromResource : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_LoadPNGFromResource)) . as_ptr ())) , LICE_MeasureText : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_MeasureText)) . as_ptr ())) , LICE_MultiplyAddRect : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_MultiplyAddRect)) . as_ptr ())) , LICE_PutPixel : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_PutPixel)) . as_ptr ())) , LICE_RotatedBlit : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_RotatedBlit)) . as_ptr ())) , LICE_RoundRect : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_RoundRect)) . as_ptr ())) , LICE_ScaledBlit : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_ScaledBlit)) . as_ptr ())) , LICE_SimpleFill : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_SimpleFill)) . as_ptr ())) , LICE_ThickFLine : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LICE_ThickFLine)) . as_ptr ())) , LocalizeString : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (LocalizeString)) . as_ptr ())) , Loop_OnArrow : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Loop_OnArrow)) . as_ptr ())) , Main_OnCommand : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Main_OnCommand)) . as_ptr ())) , Main_OnCommandEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Main_OnCommandEx)) . as_ptr ())) , Main_openProject : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Main_openProject)) . as_ptr ())) , Main_SaveProject : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Main_SaveProject)) . as_ptr ())) , Main_SaveProjectEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Main_SaveProjectEx)) . as_ptr ())) , Main_UpdateLoopInfo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Main_UpdateLoopInfo)) . as_ptr ())) , MarkProjectDirty : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MarkProjectDirty)) . as_ptr ())) , MarkTrackItemsDirty : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MarkTrackItemsDirty)) . as_ptr ())) , Master_GetPlayRate : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Master_GetPlayRate)) . as_ptr ())) , Master_GetPlayRateAtTime : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Master_GetPlayRateAtTime)) . as_ptr ())) , Master_GetTempo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Master_GetTempo)) . as_ptr ())) , Master_NormalizePlayRate : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Master_NormalizePlayRate)) . as_ptr ())) , Master_NormalizeTempo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Master_NormalizeTempo)) . as_ptr ())) , MB : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MB)) . as_ptr ())) , MediaItemDescendsFromTrack : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MediaItemDescendsFromTrack)) . as_ptr ())) , Menu_GetHash : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Menu_GetHash)) . as_ptr ())) , MIDI_CountEvts : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_CountEvts)) . as_ptr ())) , MIDI_DeleteCC : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_DeleteCC)) . as_ptr ())) , MIDI_DeleteEvt : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_DeleteEvt)) . as_ptr ())) , MIDI_DeleteNote : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_DeleteNote)) . as_ptr ())) , MIDI_DeleteTextSysexEvt : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_DeleteTextSysexEvt)) . as_ptr ())) , MIDI_DisableSort : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_DisableSort)) . as_ptr ())) , MIDI_EnumSelCC : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_EnumSelCC)) . as_ptr ())) , MIDI_EnumSelEvts : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_EnumSelEvts)) . as_ptr ())) , MIDI_EnumSelNotes : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_EnumSelNotes)) . as_ptr ())) , MIDI_EnumSelTextSysexEvts : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_EnumSelTextSysexEvts)) . as_ptr ())) , MIDI_eventlist_Create : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_eventlist_Create)) . as_ptr ())) , MIDI_eventlist_Destroy : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_eventlist_Destroy)) . as_ptr ())) , MIDI_GetAllEvts : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetAllEvts)) . as_ptr ())) , MIDI_GetCC : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetCC)) . as_ptr ())) , MIDI_GetCCShape : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetCCShape)) . as_ptr ())) , MIDI_GetEvt : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetEvt)) . as_ptr ())) , MIDI_GetGrid : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetGrid)) . as_ptr ())) , MIDI_GetHash : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetHash)) . as_ptr ())) , MIDI_GetNote : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetNote)) . as_ptr ())) , MIDI_GetPPQPos_EndOfMeasure : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetPPQPos_EndOfMeasure)) . as_ptr ())) , MIDI_GetPPQPos_StartOfMeasure : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetPPQPos_StartOfMeasure)) . as_ptr ())) , MIDI_GetPPQPosFromProjQN : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetPPQPosFromProjQN)) . as_ptr ())) , MIDI_GetPPQPosFromProjTime : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetPPQPosFromProjTime)) . as_ptr ())) , MIDI_GetProjQNFromPPQPos : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetProjQNFromPPQPos)) . as_ptr ())) , MIDI_GetProjTimeFromPPQPos : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetProjTimeFromPPQPos)) . as_ptr ())) , MIDI_GetRecentInputEvent : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetRecentInputEvent)) . as_ptr ())) , MIDI_GetScale : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetScale)) . as_ptr ())) , MIDI_GetTextSysexEvt : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetTextSysexEvt)) . as_ptr ())) , MIDI_GetTrackHash : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_GetTrackHash)) . as_ptr ())) , midi_init : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (midi_init)) . as_ptr ())) , MIDI_InsertCC : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_InsertCC)) . as_ptr ())) , MIDI_InsertEvt : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_InsertEvt)) . as_ptr ())) , MIDI_InsertNote : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_InsertNote)) . as_ptr ())) , MIDI_InsertTextSysexEvt : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_InsertTextSysexEvt)) . as_ptr ())) , MIDI_RefreshEditors : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_RefreshEditors)) . as_ptr ())) , midi_reinit : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (midi_reinit)) . as_ptr ())) , MIDI_SelectAll : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_SelectAll)) . as_ptr ())) , MIDI_SetAllEvts : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_SetAllEvts)) . as_ptr ())) , MIDI_SetCC : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_SetCC)) . as_ptr ())) , MIDI_SetCCShape : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_SetCCShape)) . as_ptr ())) , MIDI_SetEvt : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_SetEvt)) . as_ptr ())) , MIDI_SetItemExtents : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_SetItemExtents)) . as_ptr ())) , MIDI_SetNote : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_SetNote)) . as_ptr ())) , MIDI_SetTextSysexEvt : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_SetTextSysexEvt)) . as_ptr ())) , MIDI_Sort : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDI_Sort)) . as_ptr ())) , MIDIEditor_EnumTakes : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDIEditor_EnumTakes)) . as_ptr ())) , MIDIEditor_GetActive : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDIEditor_GetActive)) . as_ptr ())) , MIDIEditor_GetMode : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDIEditor_GetMode)) . as_ptr ())) , MIDIEditor_GetSetting_int : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDIEditor_GetSetting_int)) . as_ptr ())) , MIDIEditor_GetSetting_str : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDIEditor_GetSetting_str)) . as_ptr ())) , MIDIEditor_GetTake : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDIEditor_GetTake)) . as_ptr ())) , MIDIEditor_LastFocused_OnCommand : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDIEditor_LastFocused_OnCommand)) . as_ptr ())) , MIDIEditor_OnCommand : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDIEditor_OnCommand)) . as_ptr ())) , MIDIEditor_SetSetting_int : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDIEditor_SetSetting_int)) . as_ptr ())) , MIDIEditorFlagsForTrack : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MIDIEditorFlagsForTrack)) . as_ptr ())) , mkpanstr : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (mkpanstr)) . as_ptr ())) , mkvolpanstr : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (mkvolpanstr)) . as_ptr ())) , mkvolstr : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (mkvolstr)) . as_ptr ())) , MoveEditCursor : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MoveEditCursor)) . as_ptr ())) , MoveMediaItemToTrack : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MoveMediaItemToTrack)) . as_ptr ())) , MuteAllTracks : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (MuteAllTracks)) . as_ptr ())) , my_getViewport : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (my_getViewport)) . as_ptr ())) , NamedCommandLookup : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (NamedCommandLookup)) . as_ptr ())) , OnPauseButton : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (OnPauseButton)) . as_ptr ())) , OnPauseButtonEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (OnPauseButtonEx)) . as_ptr ())) , OnPlayButton : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (OnPlayButton)) . as_ptr ())) , OnPlayButtonEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (OnPlayButtonEx)) . as_ptr ())) , OnStopButton : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (OnStopButton)) . as_ptr ())) , OnStopButtonEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (OnStopButtonEx)) . as_ptr ())) , OpenColorThemeFile : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (OpenColorThemeFile)) . as_ptr ())) , OpenMediaExplorer : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (OpenMediaExplorer)) . as_ptr ())) , OscLocalMessageToHost : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (OscLocalMessageToHost)) . as_ptr ())) , parse_timestr : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (parse_timestr)) . as_ptr ())) , parse_timestr_len : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (parse_timestr_len)) . as_ptr ())) , parse_timestr_pos : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (parse_timestr_pos)) . as_ptr ())) , parsepanstr : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (parsepanstr)) . as_ptr ())) , PCM_Sink_Create : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PCM_Sink_Create)) . as_ptr ())) , PCM_Sink_CreateEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PCM_Sink_CreateEx)) . as_ptr ())) , PCM_Sink_CreateMIDIFile : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PCM_Sink_CreateMIDIFile)) . as_ptr ())) , PCM_Sink_CreateMIDIFileEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PCM_Sink_CreateMIDIFileEx)) . as_ptr ())) , PCM_Sink_Enum : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PCM_Sink_Enum)) . as_ptr ())) , PCM_Sink_GetExtension : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PCM_Sink_GetExtension)) . as_ptr ())) , PCM_Sink_ShowConfig : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PCM_Sink_ShowConfig)) . as_ptr ())) , PCM_Source_BuildPeaks : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PCM_Source_BuildPeaks)) . as_ptr ())) , PCM_Source_CreateFromFile : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PCM_Source_CreateFromFile)) . as_ptr ())) , PCM_Source_CreateFromFileEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PCM_Source_CreateFromFileEx)) . as_ptr ())) , PCM_Source_CreateFromSimple : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PCM_Source_CreateFromSimple)) . as_ptr ())) , PCM_Source_CreateFromType : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PCM_Source_CreateFromType)) . as_ptr ())) , PCM_Source_Destroy : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PCM_Source_Destroy)) . as_ptr ())) , PCM_Source_GetPeaks : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PCM_Source_GetPeaks)) . as_ptr ())) , PCM_Source_GetSectionInfo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PCM_Source_GetSectionInfo)) . as_ptr ())) , PeakBuild_Create : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PeakBuild_Create)) . as_ptr ())) , PeakBuild_CreateEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PeakBuild_CreateEx)) . as_ptr ())) , PeakGet_Create : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PeakGet_Create)) . as_ptr ())) , PitchShiftSubModeMenu : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PitchShiftSubModeMenu)) . as_ptr ())) , PlayPreview : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PlayPreview)) . as_ptr ())) , PlayPreviewEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PlayPreviewEx)) . as_ptr ())) , PlayTrackPreview : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PlayTrackPreview)) . as_ptr ())) , PlayTrackPreview2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PlayTrackPreview2)) . as_ptr ())) , PlayTrackPreview2Ex : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PlayTrackPreview2Ex)) . as_ptr ())) , plugin_getapi : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (plugin_getapi)) . as_ptr ())) , plugin_getFilterList : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (plugin_getFilterList)) . as_ptr ())) , plugin_getImportableProjectFilterList : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (plugin_getImportableProjectFilterList)) . as_ptr ())) , plugin_register : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (plugin_register)) . as_ptr ())) , PluginWantsAlwaysRunFx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PluginWantsAlwaysRunFx)) . as_ptr ())) , PreventUIRefresh : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PreventUIRefresh)) . as_ptr ())) , projectconfig_var_addr : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (projectconfig_var_addr)) . as_ptr ())) , projectconfig_var_getoffs : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (projectconfig_var_getoffs)) . as_ptr ())) , PromptForAction : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (PromptForAction)) . as_ptr ())) , realloc_cmd_clear : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (realloc_cmd_clear)) . as_ptr ())) , realloc_cmd_ptr : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (realloc_cmd_ptr)) . as_ptr ())) , realloc_cmd_register_buf : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (realloc_cmd_register_buf)) . as_ptr ())) , ReaperGetPitchShiftAPI : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ReaperGetPitchShiftAPI)) . as_ptr ())) , ReaScriptError : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ReaScriptError)) . as_ptr ())) , RecursiveCreateDirectory : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (RecursiveCreateDirectory)) . as_ptr ())) , reduce_open_files : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (reduce_open_files)) . as_ptr ())) , RefreshToolbar : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (RefreshToolbar)) . as_ptr ())) , RefreshToolbar2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (RefreshToolbar2)) . as_ptr ())) , relative_fn : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (relative_fn)) . as_ptr ())) , RemoveTrackSend : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (RemoveTrackSend)) . as_ptr ())) , RenderFileSection : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (RenderFileSection)) . as_ptr ())) , ReorderSelectedTracks : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ReorderSelectedTracks)) . as_ptr ())) , Resample_EnumModes : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Resample_EnumModes)) . as_ptr ())) , Resampler_Create : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Resampler_Create)) . as_ptr ())) , resolve_fn : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (resolve_fn)) . as_ptr ())) , resolve_fn2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (resolve_fn2)) . as_ptr ())) , ResolveRenderPattern : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ResolveRenderPattern)) . as_ptr ())) , ReverseNamedCommandLookup : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ReverseNamedCommandLookup)) . as_ptr ())) , ScaleFromEnvelopeMode : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ScaleFromEnvelopeMode)) . as_ptr ())) , ScaleToEnvelopeMode : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ScaleToEnvelopeMode)) . as_ptr ())) , screenset_register : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (screenset_register)) . as_ptr ())) , screenset_registerNew : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (screenset_registerNew)) . as_ptr ())) , screenset_unregister : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (screenset_unregister)) . as_ptr ())) , screenset_unregisterByParam : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (screenset_unregisterByParam)) . as_ptr ())) , screenset_updateLastFocus : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (screenset_updateLastFocus)) . as_ptr ())) , SectionFromUniqueID : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SectionFromUniqueID)) . as_ptr ())) , SelectAllMediaItems : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SelectAllMediaItems)) . as_ptr ())) , SelectProjectInstance : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SelectProjectInstance)) . as_ptr ())) , SendLocalOscMessage : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SendLocalOscMessage)) . as_ptr ())) , SendMIDIMessageToHardware : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SendMIDIMessageToHardware)) . as_ptr ())) , SetActiveTake : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetActiveTake)) . as_ptr ())) , SetAutomationMode : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetAutomationMode)) . as_ptr ())) , SetCurrentBPM : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetCurrentBPM)) . as_ptr ())) , SetCursorContext : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetCursorContext)) . as_ptr ())) , SetEditCurPos : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetEditCurPos)) . as_ptr ())) , SetEditCurPos2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetEditCurPos2)) . as_ptr ())) , SetEnvelopePoint : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetEnvelopePoint)) . as_ptr ())) , SetEnvelopePointEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetEnvelopePointEx)) . as_ptr ())) , SetEnvelopeStateChunk : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetEnvelopeStateChunk)) . as_ptr ())) , SetExtState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetExtState)) . as_ptr ())) , SetGlobalAutomationOverride : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetGlobalAutomationOverride)) . as_ptr ())) , SetItemStateChunk : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetItemStateChunk)) . as_ptr ())) , SetMasterTrackVisibility : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetMasterTrackVisibility)) . as_ptr ())) , SetMediaItemInfo_Value : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetMediaItemInfo_Value)) . as_ptr ())) , SetMediaItemLength : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetMediaItemLength)) . as_ptr ())) , SetMediaItemPosition : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetMediaItemPosition)) . as_ptr ())) , SetMediaItemSelected : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetMediaItemSelected)) . as_ptr ())) , SetMediaItemTake_Source : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetMediaItemTake_Source)) . as_ptr ())) , SetMediaItemTakeInfo_Value : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetMediaItemTakeInfo_Value)) . as_ptr ())) , SetMediaTrackInfo_Value : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetMediaTrackInfo_Value)) . as_ptr ())) , SetMIDIEditorGrid : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetMIDIEditorGrid)) . as_ptr ())) , SetMixerScroll : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetMixerScroll)) . as_ptr ())) , SetMouseModifier : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetMouseModifier)) . as_ptr ())) , SetOnlyTrackSelected : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetOnlyTrackSelected)) . as_ptr ())) , SetProjectGrid : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetProjectGrid)) . as_ptr ())) , SetProjectMarker : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetProjectMarker)) . as_ptr ())) , SetProjectMarker2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetProjectMarker2)) . as_ptr ())) , SetProjectMarker3 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetProjectMarker3)) . as_ptr ())) , SetProjectMarker4 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetProjectMarker4)) . as_ptr ())) , SetProjectMarkerByIndex : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetProjectMarkerByIndex)) . as_ptr ())) , SetProjectMarkerByIndex2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetProjectMarkerByIndex2)) . as_ptr ())) , SetProjExtState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetProjExtState)) . as_ptr ())) , SetRegionRenderMatrix : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetRegionRenderMatrix)) . as_ptr ())) , SetRenderLastError : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetRenderLastError)) . as_ptr ())) , SetTakeMarker : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTakeMarker)) . as_ptr ())) , SetTakeStretchMarker : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTakeStretchMarker)) . as_ptr ())) , SetTakeStretchMarkerSlope : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTakeStretchMarkerSlope)) . as_ptr ())) , SetTempoTimeSigMarker : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTempoTimeSigMarker)) . as_ptr ())) , SetThemeColor : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetThemeColor)) . as_ptr ())) , SetToggleCommandState : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetToggleCommandState)) . as_ptr ())) , SetTrackAutomationMode : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackAutomationMode)) . as_ptr ())) , SetTrackColor : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackColor)) . as_ptr ())) , SetTrackMIDILyrics : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackMIDILyrics)) . as_ptr ())) , SetTrackMIDINoteName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackMIDINoteName)) . as_ptr ())) , SetTrackMIDINoteNameEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackMIDINoteNameEx)) . as_ptr ())) , SetTrackSelected : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackSelected)) . as_ptr ())) , SetTrackSendInfo_Value : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackSendInfo_Value)) . as_ptr ())) , SetTrackSendUIPan : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackSendUIPan)) . as_ptr ())) , SetTrackSendUIVol : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackSendUIVol)) . as_ptr ())) , SetTrackStateChunk : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackStateChunk)) . as_ptr ())) , SetTrackUIInputMonitor : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackUIInputMonitor)) . as_ptr ())) , SetTrackUIMute : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackUIMute)) . as_ptr ())) , SetTrackUIPan : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackUIPan)) . as_ptr ())) , SetTrackUIPolarity : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackUIPolarity)) . as_ptr ())) , SetTrackUIRecArm : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackUIRecArm)) . as_ptr ())) , SetTrackUISolo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackUISolo)) . as_ptr ())) , SetTrackUIVolume : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackUIVolume)) . as_ptr ())) , SetTrackUIWidth : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SetTrackUIWidth)) . as_ptr ())) , ShowActionList : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ShowActionList)) . as_ptr ())) , ShowConsoleMsg : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ShowConsoleMsg)) . as_ptr ())) , ShowMessageBox : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ShowMessageBox)) . as_ptr ())) , ShowPopupMenu : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ShowPopupMenu)) . as_ptr ())) , SLIDER2DB : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SLIDER2DB)) . as_ptr ())) , SnapToGrid : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SnapToGrid)) . as_ptr ())) , SoloAllTracks : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SoloAllTracks)) . as_ptr ())) , Splash_GetWnd : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Splash_GetWnd)) . as_ptr ())) , SplitMediaItem : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (SplitMediaItem)) . as_ptr ())) , StopPreview : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (StopPreview)) . as_ptr ())) , StopTrackPreview : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (StopTrackPreview)) . as_ptr ())) , StopTrackPreview2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (StopTrackPreview2)) . as_ptr ())) , stringToGuid : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (stringToGuid)) . as_ptr ())) , StuffMIDIMessage : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (StuffMIDIMessage)) . as_ptr ())) , TakeFX_AddByName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_AddByName)) . as_ptr ())) , TakeFX_CopyToTake : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_CopyToTake)) . as_ptr ())) , TakeFX_CopyToTrack : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_CopyToTrack)) . as_ptr ())) , TakeFX_Delete : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_Delete)) . as_ptr ())) , TakeFX_EndParamEdit : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_EndParamEdit)) . as_ptr ())) , TakeFX_FormatParamValue : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_FormatParamValue)) . as_ptr ())) , TakeFX_FormatParamValueNormalized : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_FormatParamValueNormalized)) . as_ptr ())) , TakeFX_GetChainVisible : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetChainVisible)) . as_ptr ())) , TakeFX_GetCount : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetCount)) . as_ptr ())) , TakeFX_GetEnabled : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetEnabled)) . as_ptr ())) , TakeFX_GetEnvelope : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetEnvelope)) . as_ptr ())) , TakeFX_GetFloatingWindow : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetFloatingWindow)) . as_ptr ())) , TakeFX_GetFormattedParamValue : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetFormattedParamValue)) . as_ptr ())) , TakeFX_GetFXGUID : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetFXGUID)) . as_ptr ())) , TakeFX_GetFXName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetFXName)) . as_ptr ())) , TakeFX_GetIOSize : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetIOSize)) . as_ptr ())) , TakeFX_GetNamedConfigParm : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetNamedConfigParm)) . as_ptr ())) , TakeFX_GetNumParams : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetNumParams)) . as_ptr ())) , TakeFX_GetOffline : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetOffline)) . as_ptr ())) , TakeFX_GetOpen : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetOpen)) . as_ptr ())) , TakeFX_GetParam : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetParam)) . as_ptr ())) , TakeFX_GetParameterStepSizes : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetParameterStepSizes)) . as_ptr ())) , TakeFX_GetParamEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetParamEx)) . as_ptr ())) , TakeFX_GetParamFromIdent : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetParamFromIdent)) . as_ptr ())) , TakeFX_GetParamIdent : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetParamIdent)) . as_ptr ())) , TakeFX_GetParamName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetParamName)) . as_ptr ())) , TakeFX_GetParamNormalized : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetParamNormalized)) . as_ptr ())) , TakeFX_GetPinMappings : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetPinMappings)) . as_ptr ())) , TakeFX_GetPreset : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetPreset)) . as_ptr ())) , TakeFX_GetPresetIndex : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetPresetIndex)) . as_ptr ())) , TakeFX_GetUserPresetFilename : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_GetUserPresetFilename)) . as_ptr ())) , TakeFX_NavigatePresets : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_NavigatePresets)) . as_ptr ())) , TakeFX_SetEnabled : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_SetEnabled)) . as_ptr ())) , TakeFX_SetNamedConfigParm : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_SetNamedConfigParm)) . as_ptr ())) , TakeFX_SetOffline : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_SetOffline)) . as_ptr ())) , TakeFX_SetOpen : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_SetOpen)) . as_ptr ())) , TakeFX_SetParam : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_SetParam)) . as_ptr ())) , TakeFX_SetParamNormalized : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_SetParamNormalized)) . as_ptr ())) , TakeFX_SetPinMappings : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_SetPinMappings)) . as_ptr ())) , TakeFX_SetPreset : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_SetPreset)) . as_ptr ())) , TakeFX_SetPresetByIndex : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_SetPresetByIndex)) . as_ptr ())) , TakeFX_Show : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeFX_Show)) . as_ptr ())) , TakeIsMIDI : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TakeIsMIDI)) . as_ptr ())) , ThemeLayout_GetLayout : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ThemeLayout_GetLayout)) . as_ptr ())) , ThemeLayout_GetParameter : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ThemeLayout_GetParameter)) . as_ptr ())) , ThemeLayout_RefreshAll : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ThemeLayout_RefreshAll)) . as_ptr ())) , ThemeLayout_SetLayout : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ThemeLayout_SetLayout)) . as_ptr ())) , ThemeLayout_SetParameter : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ThemeLayout_SetParameter)) . as_ptr ())) , time_precise : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (time_precise)) . as_ptr ())) , TimeMap2_beatsToTime : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap2_beatsToTime)) . as_ptr ())) , TimeMap2_GetDividedBpmAtTime : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap2_GetDividedBpmAtTime)) . as_ptr ())) , TimeMap2_GetNextChangeTime : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap2_GetNextChangeTime)) . as_ptr ())) , TimeMap2_QNToTime : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap2_QNToTime)) . as_ptr ())) , TimeMap2_timeToBeats : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap2_timeToBeats)) . as_ptr ())) , TimeMap2_timeToQN : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap2_timeToQN)) . as_ptr ())) , TimeMap_curFrameRate : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap_curFrameRate)) . as_ptr ())) , TimeMap_GetDividedBpmAtTime : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap_GetDividedBpmAtTime)) . as_ptr ())) , TimeMap_GetMeasureInfo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap_GetMeasureInfo)) . as_ptr ())) , TimeMap_GetMetronomePattern : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap_GetMetronomePattern)) . as_ptr ())) , TimeMap_GetTimeSigAtTime : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap_GetTimeSigAtTime)) . as_ptr ())) , TimeMap_QNToMeasures : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap_QNToMeasures)) . as_ptr ())) , TimeMap_QNToTime : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap_QNToTime)) . as_ptr ())) , TimeMap_QNToTime_abs : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap_QNToTime_abs)) . as_ptr ())) , TimeMap_timeToQN : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap_timeToQN)) . as_ptr ())) , TimeMap_timeToQN_abs : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TimeMap_timeToQN_abs)) . as_ptr ())) , ToggleTrackSendUIMute : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ToggleTrackSendUIMute)) . as_ptr ())) , Track_GetPeakHoldDB : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Track_GetPeakHoldDB)) . as_ptr ())) , Track_GetPeakInfo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Track_GetPeakInfo)) . as_ptr ())) , TrackCtl_SetToolTip : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackCtl_SetToolTip)) . as_ptr ())) , TrackFX_AddByName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_AddByName)) . as_ptr ())) , TrackFX_CopyToTake : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_CopyToTake)) . as_ptr ())) , TrackFX_CopyToTrack : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_CopyToTrack)) . as_ptr ())) , TrackFX_Delete : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_Delete)) . as_ptr ())) , TrackFX_EndParamEdit : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_EndParamEdit)) . as_ptr ())) , TrackFX_FormatParamValue : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_FormatParamValue)) . as_ptr ())) , TrackFX_FormatParamValueNormalized : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_FormatParamValueNormalized)) . as_ptr ())) , TrackFX_GetByName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetByName)) . as_ptr ())) , TrackFX_GetChainVisible : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetChainVisible)) . as_ptr ())) , TrackFX_GetCount : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetCount)) . as_ptr ())) , TrackFX_GetEnabled : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetEnabled)) . as_ptr ())) , TrackFX_GetEQ : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetEQ)) . as_ptr ())) , TrackFX_GetEQBandEnabled : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetEQBandEnabled)) . as_ptr ())) , TrackFX_GetEQParam : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetEQParam)) . as_ptr ())) , TrackFX_GetFloatingWindow : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetFloatingWindow)) . as_ptr ())) , TrackFX_GetFormattedParamValue : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetFormattedParamValue)) . as_ptr ())) , TrackFX_GetFXGUID : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetFXGUID)) . as_ptr ())) , TrackFX_GetFXName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetFXName)) . as_ptr ())) , TrackFX_GetInstrument : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetInstrument)) . as_ptr ())) , TrackFX_GetIOSize : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetIOSize)) . as_ptr ())) , TrackFX_GetNamedConfigParm : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetNamedConfigParm)) . as_ptr ())) , TrackFX_GetNumParams : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetNumParams)) . as_ptr ())) , TrackFX_GetOffline : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetOffline)) . as_ptr ())) , TrackFX_GetOpen : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetOpen)) . as_ptr ())) , TrackFX_GetParam : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetParam)) . as_ptr ())) , TrackFX_GetParameterStepSizes : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetParameterStepSizes)) . as_ptr ())) , TrackFX_GetParamEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetParamEx)) . as_ptr ())) , TrackFX_GetParamFromIdent : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetParamFromIdent)) . as_ptr ())) , TrackFX_GetParamIdent : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetParamIdent)) . as_ptr ())) , TrackFX_GetParamName : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetParamName)) . as_ptr ())) , TrackFX_GetParamNormalized : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetParamNormalized)) . as_ptr ())) , TrackFX_GetPinMappings : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetPinMappings)) . as_ptr ())) , TrackFX_GetPreset : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetPreset)) . as_ptr ())) , TrackFX_GetPresetIndex : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetPresetIndex)) . as_ptr ())) , TrackFX_GetRecChainVisible : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetRecChainVisible)) . as_ptr ())) , TrackFX_GetRecCount : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetRecCount)) . as_ptr ())) , TrackFX_GetUserPresetFilename : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_GetUserPresetFilename)) . as_ptr ())) , TrackFX_NavigatePresets : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_NavigatePresets)) . as_ptr ())) , TrackFX_SetEnabled : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_SetEnabled)) . as_ptr ())) , TrackFX_SetEQBandEnabled : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_SetEQBandEnabled)) . as_ptr ())) , TrackFX_SetEQParam : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_SetEQParam)) . as_ptr ())) , TrackFX_SetNamedConfigParm : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_SetNamedConfigParm)) . as_ptr ())) , TrackFX_SetOffline : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_SetOffline)) . as_ptr ())) , TrackFX_SetOpen : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_SetOpen)) . as_ptr ())) , TrackFX_SetParam : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_SetParam)) . as_ptr ())) , TrackFX_SetParamNormalized : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_SetParamNormalized)) . as_ptr ())) , TrackFX_SetPinMappings : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_SetPinMappings)) . as_ptr ())) , TrackFX_SetPreset : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_SetPreset)) . as_ptr ())) , TrackFX_SetPresetByIndex : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_SetPresetByIndex)) . as_ptr ())) , TrackFX_Show : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackFX_Show)) . as_ptr ())) , TrackList_AdjustWindows : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackList_AdjustWindows)) . as_ptr ())) , TrackList_UpdateAllExternalSurfaces : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (TrackList_UpdateAllExternalSurfaces)) . as_ptr ())) , Undo_BeginBlock : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Undo_BeginBlock)) . as_ptr ())) , Undo_BeginBlock2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Undo_BeginBlock2)) . as_ptr ())) , Undo_CanRedo2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Undo_CanRedo2)) . as_ptr ())) , Undo_CanUndo2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Undo_CanUndo2)) . as_ptr ())) , Undo_DoRedo2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Undo_DoRedo2)) . as_ptr ())) , Undo_DoUndo2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Undo_DoUndo2)) . as_ptr ())) , Undo_EndBlock : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Undo_EndBlock)) . as_ptr ())) , Undo_EndBlock2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Undo_EndBlock2)) . as_ptr ())) , Undo_OnStateChange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Undo_OnStateChange)) . as_ptr ())) , Undo_OnStateChange2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Undo_OnStateChange2)) . as_ptr ())) , Undo_OnStateChange_Item : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Undo_OnStateChange_Item)) . as_ptr ())) , Undo_OnStateChangeEx : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Undo_OnStateChangeEx)) . as_ptr ())) , Undo_OnStateChangeEx2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (Undo_OnStateChangeEx2)) . as_ptr ())) , update_disk_counters : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (update_disk_counters)) . as_ptr ())) , UpdateArrange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (UpdateArrange)) . as_ptr ())) , UpdateItemInProject : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (UpdateItemInProject)) . as_ptr ())) , UpdateItemLanes : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (UpdateItemLanes)) . as_ptr ())) , UpdateTimeline : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (UpdateTimeline)) . as_ptr ())) , ValidatePtr : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ValidatePtr)) . as_ptr ())) , ValidatePtr2 : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ValidatePtr2)) . as_ptr ())) , ViewPrefs : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (ViewPrefs)) . as_ptr ())) , WDL_VirtualWnd_ScaledBlitBG : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (WDL_VirtualWnd_ScaledBlitBG)) . as_ptr ())) , GetMidiInput : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMidiInput)) . as_ptr ())) , GetMidiOutput : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetMidiOutput)) . as_ptr ())) , fxDoReaperPresetAction : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (fxDoReaperPresetAction)) . as_ptr ())) , AddCustomMenuOrToolbarItem : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (AddCustomMenuOrToolbarItem)) . as_ptr ())) , DeleteCustomMenuOrToolbarItem : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (DeleteCustomMenuOrToolbarItem)) . as_ptr ())) , GetCustomMenuOrToolbarItem : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetCustomMenuOrToolbarItem)) . as_ptr ())) , AdvancePlaybackPosition : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (AdvancePlaybackPosition)) . as_ptr ())) , GetPlayLoopCnt : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (GetPlayLoopCnt)) . as_ptr ())) , InitializeCoolSB : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (InitializeCoolSB)) . as_ptr ())) , UninitializeCoolSB : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (UninitializeCoolSB)) . as_ptr ())) , CoolSB_SetMinThumbSize : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CoolSB_SetMinThumbSize)) . as_ptr ())) , CoolSB_GetScrollInfo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CoolSB_GetScrollInfo)) . as_ptr ())) , CoolSB_SetScrollInfo : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CoolSB_SetScrollInfo)) . as_ptr ())) , CoolSB_SetScrollPos : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CoolSB_SetScrollPos)) . as_ptr ())) , CoolSB_SetScrollRange : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CoolSB_SetScrollRange)) . as_ptr ())) , CoolSB_ShowScrollBar : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CoolSB_ShowScrollBar)) . as_ptr ())) , CoolSB_SetResizingThumb : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CoolSB_SetResizingThumb)) . as_ptr ())) , CoolSB_SetThemeIndex : std :: mem :: transmute (plugin_context . GetFunc (c_str_macro :: c_str ! (stringify ! (CoolSB_SetThemeIndex)) . as_ptr ())) , } } ; if pointers . __mergesort . is_some () { loaded_count += 1 ; } if pointers . AddCustomizableMenu . is_some () { loaded_count += 1 ; } if pointers . AddExtensionsMainMenu . is_some () { loaded_count += 1 ; } if pointers . AddMediaItemToTrack . is_some () { loaded_count += 1 ; } if pointers . AddProjectMarker . is_some () { loaded_count += 1 ; } if pointers . AddProjectMarker2 . is_some () { loaded_count += 1 ; } if pointers . AddRemoveReaScript . is_some () { loaded_count += 1 ; } if pointers . AddTakeToMediaItem . is_some () { loaded_count += 1 ; } if pointers . AddTempoTimeSigMarker . is_some () { loaded_count += 1 ; } if pointers . adjustZoom . is_some () { loaded_count += 1 ; } if pointers . AnyTrackSolo . is_some () { loaded_count += 1 ; } if pointers . APIExists . is_some () { loaded_count += 1 ; } if pointers . APITest . is_some () { loaded_count += 1 ; } if pointers . ApplyNudge . is_some () { loaded_count += 1 ; } if pointers . ArmCommand . is_some () { loaded_count += 1 ; } if pointers . Audio_Init . is_some () { loaded_count += 1 ; } if pointers . Audio_IsPreBuffer . is_some () { loaded_count += 1 ; } if pointers . Audio_IsRunning . is_some () { loaded_count += 1 ; } if pointers . Audio_Quit . is_some () { loaded_count += 1 ; } if pointers . Audio_RegHardwareHook . is_some () { loaded_count += 1 ; } if pointers . AudioAccessorStateChanged . is_some () { loaded_count += 1 ; } if pointers . AudioAccessorUpdate . is_some () { loaded_count += 1 ; } if pointers . AudioAccessorValidateState . is_some () { loaded_count += 1 ; } if pointers . BypassFxAllTracks . is_some () { loaded_count += 1 ; } if pointers . CalcMediaSrcLoudness . is_some () { loaded_count += 1 ; } if pointers . CalculateNormalization . is_some () { loaded_count += 1 ; } if pointers . CalculatePeaks . is_some () { loaded_count += 1 ; } if pointers . CalculatePeaksFloatSrcPtr . is_some () { loaded_count += 1 ; } if pointers . ClearAllRecArmed . is_some () { loaded_count += 1 ; } if pointers . ClearConsole . is_some () { loaded_count += 1 ; } if pointers . ClearPeakCache . is_some () { loaded_count += 1 ; } if pointers . ColorFromNative . is_some () { loaded_count += 1 ; } if pointers . ColorToNative . is_some () { loaded_count += 1 ; } if pointers . CountActionShortcuts . is_some () { loaded_count += 1 ; } if pointers . CountAutomationItems . is_some () { loaded_count += 1 ; } if pointers . CountEnvelopePoints . is_some () { loaded_count += 1 ; } if pointers . CountEnvelopePointsEx . is_some () { loaded_count += 1 ; } if pointers . CountMediaItems . is_some () { loaded_count += 1 ; } if pointers . CountProjectMarkers . is_some () { loaded_count += 1 ; } if pointers . CountSelectedMediaItems . is_some () { loaded_count += 1 ; } if pointers . CountSelectedTracks . is_some () { loaded_count += 1 ; } if pointers . CountSelectedTracks2 . is_some () { loaded_count += 1 ; } if pointers . CountTakeEnvelopes . is_some () { loaded_count += 1 ; } if pointers . CountTakes . is_some () { loaded_count += 1 ; } if pointers . CountTCPFXParms . is_some () { loaded_count += 1 ; } if pointers . CountTempoTimeSigMarkers . is_some () { loaded_count += 1 ; } if pointers . CountTrackEnvelopes . is_some () { loaded_count += 1 ; } if pointers . CountTrackMediaItems . is_some () { loaded_count += 1 ; } if pointers . CountTracks . is_some () { loaded_count += 1 ; } if pointers . CreateLocalOscHandler . is_some () { loaded_count += 1 ; } if pointers . CreateMIDIInput . is_some () { loaded_count += 1 ; } if pointers . CreateMIDIOutput . is_some () { loaded_count += 1 ; } if pointers . CreateNewMIDIItemInProj . is_some () { loaded_count += 1 ; } if pointers . CreateTakeAudioAccessor . is_some () { loaded_count += 1 ; } if pointers . CreateTrackAudioAccessor . is_some () { loaded_count += 1 ; } if pointers . CreateTrackSend . is_some () { loaded_count += 1 ; } if pointers . CSurf_FlushUndo . is_some () { loaded_count += 1 ; } if pointers . CSurf_GetTouchState . is_some () { loaded_count += 1 ; } if pointers . CSurf_GoEnd . is_some () { loaded_count += 1 ; } if pointers . CSurf_GoStart . is_some () { loaded_count += 1 ; } if pointers . CSurf_NumTracks . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnArrow . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnFwd . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnFXChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnInputMonitorChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnInputMonitorChangeEx . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnMuteChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnMuteChangeEx . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnOscControlMessage . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnOscControlMessage2 . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnPanChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnPanChangeEx . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnPause . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnPlay . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnPlayRateChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnRecArmChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnRecArmChangeEx . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnRecord . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnRecvPanChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnRecvVolumeChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnRew . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnRewFwd . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnScroll . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnSelectedChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnSendPanChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnSendVolumeChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnSoloChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnSoloChangeEx . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnStop . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnTempoChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnTrackSelection . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnVolumeChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnVolumeChangeEx . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnWidthChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnWidthChangeEx . is_some () { loaded_count += 1 ; } if pointers . CSurf_OnZoom . is_some () { loaded_count += 1 ; } if pointers . CSurf_ResetAllCachedVolPanStates . is_some () { loaded_count += 1 ; } if pointers . CSurf_ScrubAmt . is_some () { loaded_count += 1 ; } if pointers . CSurf_SetAutoMode . is_some () { loaded_count += 1 ; } if pointers . CSurf_SetPlayState . is_some () { loaded_count += 1 ; } if pointers . CSurf_SetRepeatState . is_some () { loaded_count += 1 ; } if pointers . CSurf_SetSurfaceMute . is_some () { loaded_count += 1 ; } if pointers . CSurf_SetSurfacePan . is_some () { loaded_count += 1 ; } if pointers . CSurf_SetSurfaceRecArm . is_some () { loaded_count += 1 ; } if pointers . CSurf_SetSurfaceSelected . is_some () { loaded_count += 1 ; } if pointers . CSurf_SetSurfaceSolo . is_some () { loaded_count += 1 ; } if pointers . CSurf_SetSurfaceVolume . is_some () { loaded_count += 1 ; } if pointers . CSurf_SetTrackListChange . is_some () { loaded_count += 1 ; } if pointers . CSurf_TrackFromID . is_some () { loaded_count += 1 ; } if pointers . CSurf_TrackToID . is_some () { loaded_count += 1 ; } if pointers . DB2SLIDER . is_some () { loaded_count += 1 ; } if pointers . DeleteActionShortcut . is_some () { loaded_count += 1 ; } if pointers . DeleteEnvelopePointEx . is_some () { loaded_count += 1 ; } if pointers . DeleteEnvelopePointRange . is_some () { loaded_count += 1 ; } if pointers . DeleteEnvelopePointRangeEx . is_some () { loaded_count += 1 ; } if pointers . DeleteExtState . is_some () { loaded_count += 1 ; } if pointers . DeleteProjectMarker . is_some () { loaded_count += 1 ; } if pointers . DeleteProjectMarkerByIndex . is_some () { loaded_count += 1 ; } if pointers . DeleteTakeMarker . is_some () { loaded_count += 1 ; } if pointers . DeleteTakeStretchMarkers . is_some () { loaded_count += 1 ; } if pointers . DeleteTempoTimeSigMarker . is_some () { loaded_count += 1 ; } if pointers . DeleteTrack . is_some () { loaded_count += 1 ; } if pointers . DeleteTrackMediaItem . is_some () { loaded_count += 1 ; } if pointers . DestroyAudioAccessor . is_some () { loaded_count += 1 ; } if pointers . DestroyLocalOscHandler . is_some () { loaded_count += 1 ; } if pointers . DoActionShortcutDialog . is_some () { loaded_count += 1 ; } if pointers . Dock_UpdateDockID . is_some () { loaded_count += 1 ; } if pointers . DockGetPosition . is_some () { loaded_count += 1 ; } if pointers . DockIsChildOfDock . is_some () { loaded_count += 1 ; } if pointers . DockWindowActivate . is_some () { loaded_count += 1 ; } if pointers . DockWindowAdd . is_some () { loaded_count += 1 ; } if pointers . DockWindowAddEx . is_some () { loaded_count += 1 ; } if pointers . DockWindowRefresh . is_some () { loaded_count += 1 ; } if pointers . DockWindowRefreshForHWND . is_some () { loaded_count += 1 ; } if pointers . DockWindowRemove . is_some () { loaded_count += 1 ; } if pointers . DuplicateCustomizableMenu . is_some () { loaded_count += 1 ; } if pointers . EditTempoTimeSigMarker . is_some () { loaded_count += 1 ; } if pointers . EnsureNotCompletelyOffscreen . is_some () { loaded_count += 1 ; } if pointers . EnumerateFiles . is_some () { loaded_count += 1 ; } if pointers . EnumerateSubdirectories . is_some () { loaded_count += 1 ; } if pointers . EnumInstalledFX . is_some () { loaded_count += 1 ; } if pointers . EnumPitchShiftModes . is_some () { loaded_count += 1 ; } if pointers . EnumPitchShiftSubModes . is_some () { loaded_count += 1 ; } if pointers . EnumProjectMarkers . is_some () { loaded_count += 1 ; } if pointers . EnumProjectMarkers2 . is_some () { loaded_count += 1 ; } if pointers . EnumProjectMarkers3 . is_some () { loaded_count += 1 ; } if pointers . EnumProjects . is_some () { loaded_count += 1 ; } if pointers . EnumProjExtState . is_some () { loaded_count += 1 ; } if pointers . EnumRegionRenderMatrix . is_some () { loaded_count += 1 ; } if pointers . EnumTrackMIDIProgramNames . is_some () { loaded_count += 1 ; } if pointers . EnumTrackMIDIProgramNamesEx . is_some () { loaded_count += 1 ; } if pointers . Envelope_Evaluate . is_some () { loaded_count += 1 ; } if pointers . Envelope_FormatValue . is_some () { loaded_count += 1 ; } if pointers . Envelope_GetParentTake . is_some () { loaded_count += 1 ; } if pointers . Envelope_GetParentTrack . is_some () { loaded_count += 1 ; } if pointers . Envelope_SortPoints . is_some () { loaded_count += 1 ; } if pointers . Envelope_SortPointsEx . is_some () { loaded_count += 1 ; } if pointers . ExecProcess . is_some () { loaded_count += 1 ; } if pointers . file_exists . is_some () { loaded_count += 1 ; } if pointers . FindTempoTimeSigMarker . is_some () { loaded_count += 1 ; } if pointers . format_timestr . is_some () { loaded_count += 1 ; } if pointers . format_timestr_len . is_some () { loaded_count += 1 ; } if pointers . format_timestr_pos . is_some () { loaded_count += 1 ; } if pointers . FreeHeapPtr . is_some () { loaded_count += 1 ; } if pointers . genGuid . is_some () { loaded_count += 1 ; } if pointers . get_config_var . is_some () { loaded_count += 1 ; } if pointers . get_config_var_string . is_some () { loaded_count += 1 ; } if pointers . get_ini_file . is_some () { loaded_count += 1 ; } if pointers . get_midi_config_var . is_some () { loaded_count += 1 ; } if pointers . GetActionShortcutDesc . is_some () { loaded_count += 1 ; } if pointers . GetActiveTake . is_some () { loaded_count += 1 ; } if pointers . GetAllProjectPlayStates . is_some () { loaded_count += 1 ; } if pointers . GetAppVersion . is_some () { loaded_count += 1 ; } if pointers . GetArmedCommand . is_some () { loaded_count += 1 ; } if pointers . GetAudioAccessorEndTime . is_some () { loaded_count += 1 ; } if pointers . GetAudioAccessorHash . is_some () { loaded_count += 1 ; } if pointers . GetAudioAccessorSamples . is_some () { loaded_count += 1 ; } if pointers . GetAudioAccessorStartTime . is_some () { loaded_count += 1 ; } if pointers . GetAudioDeviceInfo . is_some () { loaded_count += 1 ; } if pointers . GetColorTheme . is_some () { loaded_count += 1 ; } if pointers . GetColorThemeStruct . is_some () { loaded_count += 1 ; } if pointers . GetConfigWantsDock . is_some () { loaded_count += 1 ; } if pointers . GetContextMenu . is_some () { loaded_count += 1 ; } if pointers . GetCurrentProjectInLoadSave . is_some () { loaded_count += 1 ; } if pointers . GetCursorContext . is_some () { loaded_count += 1 ; } if pointers . GetCursorContext2 . is_some () { loaded_count += 1 ; } if pointers . GetCursorPosition . is_some () { loaded_count += 1 ; } if pointers . GetCursorPositionEx . is_some () { loaded_count += 1 ; } if pointers . GetDisplayedMediaItemColor . is_some () { loaded_count += 1 ; } if pointers . GetDisplayedMediaItemColor2 . is_some () { loaded_count += 1 ; } if pointers . GetEnvelopeInfo_Value . is_some () { loaded_count += 1 ; } if pointers . GetEnvelopeName . is_some () { loaded_count += 1 ; } if pointers . GetEnvelopePoint . is_some () { loaded_count += 1 ; } if pointers . GetEnvelopePointByTime . is_some () { loaded_count += 1 ; } if pointers . GetEnvelopePointByTimeEx . is_some () { loaded_count += 1 ; } if pointers . GetEnvelopePointEx . is_some () { loaded_count += 1 ; } if pointers . GetEnvelopeScalingMode . is_some () { loaded_count += 1 ; } if pointers . GetEnvelopeStateChunk . is_some () { loaded_count += 1 ; } if pointers . GetEnvelopeUIState . is_some () { loaded_count += 1 ; } if pointers . GetExePath . is_some () { loaded_count += 1 ; } if pointers . GetExtState . is_some () { loaded_count += 1 ; } if pointers . GetFocusedFX . is_some () { loaded_count += 1 ; } if pointers . GetFocusedFX2 . is_some () { loaded_count += 1 ; } if pointers . GetFreeDiskSpaceForRecordPath . is_some () { loaded_count += 1 ; } if pointers . GetFXEnvelope . is_some () { loaded_count += 1 ; } if pointers . GetGlobalAutomationOverride . is_some () { loaded_count += 1 ; } if pointers . GetHZoomLevel . is_some () { loaded_count += 1 ; } if pointers . GetIconThemePointer . is_some () { loaded_count += 1 ; } if pointers . GetIconThemePointerForDPI . is_some () { loaded_count += 1 ; } if pointers . GetIconThemeStruct . is_some () { loaded_count += 1 ; } if pointers . GetInputActivityLevel . is_some () { loaded_count += 1 ; } if pointers . GetInputChannelName . is_some () { loaded_count += 1 ; } if pointers . GetInputOutputLatency . is_some () { loaded_count += 1 ; } if pointers . GetItemEditingTime2 . is_some () { loaded_count += 1 ; } if pointers . GetItemFromPoint . is_some () { loaded_count += 1 ; } if pointers . GetItemProjectContext . is_some () { loaded_count += 1 ; } if pointers . GetItemStateChunk . is_some () { loaded_count += 1 ; } if pointers . GetLastColorThemeFile . is_some () { loaded_count += 1 ; } if pointers . GetLastMarkerAndCurRegion . is_some () { loaded_count += 1 ; } if pointers . GetLastTouchedFX . is_some () { loaded_count += 1 ; } if pointers . GetLastTouchedTrack . is_some () { loaded_count += 1 ; } if pointers . GetMainHwnd . is_some () { loaded_count += 1 ; } if pointers . GetMasterMuteSoloFlags . is_some () { loaded_count += 1 ; } if pointers . GetMasterTrack . is_some () { loaded_count += 1 ; } if pointers . GetMasterTrackVisibility . is_some () { loaded_count += 1 ; } if pointers . GetMaxMidiInputs . is_some () { loaded_count += 1 ; } if pointers . GetMaxMidiOutputs . is_some () { loaded_count += 1 ; } if pointers . GetMediaFileMetadata . is_some () { loaded_count += 1 ; } if pointers . GetMediaItem . is_some () { loaded_count += 1 ; } if pointers . GetMediaItem_Track . is_some () { loaded_count += 1 ; } if pointers . GetMediaItemInfo_Value . is_some () { loaded_count += 1 ; } if pointers . GetMediaItemNumTakes . is_some () { loaded_count += 1 ; } if pointers . GetMediaItemTake . is_some () { loaded_count += 1 ; } if pointers . GetMediaItemTake_Item . is_some () { loaded_count += 1 ; } if pointers . GetMediaItemTake_Peaks . is_some () { loaded_count += 1 ; } if pointers . GetMediaItemTake_Source . is_some () { loaded_count += 1 ; } if pointers . GetMediaItemTake_Track . is_some () { loaded_count += 1 ; } if pointers . GetMediaItemTakeByGUID . is_some () { loaded_count += 1 ; } if pointers . GetMediaItemTakeInfo_Value . is_some () { loaded_count += 1 ; } if pointers . GetMediaItemTrack . is_some () { loaded_count += 1 ; } if pointers . GetMediaSourceFileName . is_some () { loaded_count += 1 ; } if pointers . GetMediaSourceLength . is_some () { loaded_count += 1 ; } if pointers . GetMediaSourceNumChannels . is_some () { loaded_count += 1 ; } if pointers . GetMediaSourceParent . is_some () { loaded_count += 1 ; } if pointers . GetMediaSourceSampleRate . is_some () { loaded_count += 1 ; } if pointers . GetMediaSourceType . is_some () { loaded_count += 1 ; } if pointers . GetMediaTrackInfo_Value . is_some () { loaded_count += 1 ; } if pointers . GetMIDIInputName . is_some () { loaded_count += 1 ; } if pointers . GetMIDIOutputName . is_some () { loaded_count += 1 ; } if pointers . GetMixerScroll . is_some () { loaded_count += 1 ; } if pointers . GetMouseModifier . is_some () { loaded_count += 1 ; } if pointers . GetMousePosition . is_some () { loaded_count += 1 ; } if pointers . GetNumAudioInputs . is_some () { loaded_count += 1 ; } if pointers . GetNumAudioOutputs . is_some () { loaded_count += 1 ; } if pointers . GetNumMIDIInputs . is_some () { loaded_count += 1 ; } if pointers . GetNumMIDIOutputs . is_some () { loaded_count += 1 ; } if pointers . GetNumTakeMarkers . is_some () { loaded_count += 1 ; } if pointers . GetNumTracks . is_some () { loaded_count += 1 ; } if pointers . GetOS . is_some () { loaded_count += 1 ; } if pointers . GetOutputChannelName . is_some () { loaded_count += 1 ; } if pointers . GetOutputLatency . is_some () { loaded_count += 1 ; } if pointers . GetParentTrack . is_some () { loaded_count += 1 ; } if pointers . GetPeakFileName . is_some () { loaded_count += 1 ; } if pointers . GetPeakFileNameEx . is_some () { loaded_count += 1 ; } if pointers . GetPeakFileNameEx2 . is_some () { loaded_count += 1 ; } if pointers . GetPeaksBitmap . is_some () { loaded_count += 1 ; } if pointers . GetPlayPosition . is_some () { loaded_count += 1 ; } if pointers . GetPlayPosition2 . is_some () { loaded_count += 1 ; } if pointers . GetPlayPosition2Ex . is_some () { loaded_count += 1 ; } if pointers . GetPlayPositionEx . is_some () { loaded_count += 1 ; } if pointers . GetPlayState . is_some () { loaded_count += 1 ; } if pointers . GetPlayStateEx . is_some () { loaded_count += 1 ; } if pointers . GetPreferredDiskReadMode . is_some () { loaded_count += 1 ; } if pointers . GetPreferredDiskReadModePeak . is_some () { loaded_count += 1 ; } if pointers . GetPreferredDiskWriteMode . is_some () { loaded_count += 1 ; } if pointers . GetProjectLength . is_some () { loaded_count += 1 ; } if pointers . GetProjectName . is_some () { loaded_count += 1 ; } if pointers . GetProjectPath . is_some () { loaded_count += 1 ; } if pointers . GetProjectPathEx . is_some () { loaded_count += 1 ; } if pointers . GetProjectStateChangeCount . is_some () { loaded_count += 1 ; } if pointers . GetProjectTimeOffset . is_some () { loaded_count += 1 ; } if pointers . GetProjectTimeSignature . is_some () { loaded_count += 1 ; } if pointers . GetProjectTimeSignature2 . is_some () { loaded_count += 1 ; } if pointers . GetProjExtState . is_some () { loaded_count += 1 ; } if pointers . GetResourcePath . is_some () { loaded_count += 1 ; } if pointers . GetSelectedEnvelope . is_some () { loaded_count += 1 ; } if pointers . GetSelectedMediaItem . is_some () { loaded_count += 1 ; } if pointers . GetSelectedTrack . is_some () { loaded_count += 1 ; } if pointers . GetSelectedTrack2 . is_some () { loaded_count += 1 ; } if pointers . GetSelectedTrackEnvelope . is_some () { loaded_count += 1 ; } if pointers . GetSet_ArrangeView2 . is_some () { loaded_count += 1 ; } if pointers . GetSet_LoopTimeRange . is_some () { loaded_count += 1 ; } if pointers . GetSet_LoopTimeRange2 . is_some () { loaded_count += 1 ; } if pointers . GetSetAutomationItemInfo . is_some () { loaded_count += 1 ; } if pointers . GetSetAutomationItemInfo_String . is_some () { loaded_count += 1 ; } if pointers . GetSetEnvelopeInfo_String . is_some () { loaded_count += 1 ; } if pointers . GetSetEnvelopeState . is_some () { loaded_count += 1 ; } if pointers . GetSetEnvelopeState2 . is_some () { loaded_count += 1 ; } if pointers . GetSetItemState . is_some () { loaded_count += 1 ; } if pointers . GetSetItemState2 . is_some () { loaded_count += 1 ; } if pointers . GetSetMediaItemInfo . is_some () { loaded_count += 1 ; } if pointers . GetSetMediaItemInfo_String . is_some () { loaded_count += 1 ; } if pointers . GetSetMediaItemTakeInfo . is_some () { loaded_count += 1 ; } if pointers . GetSetMediaItemTakeInfo_String . is_some () { loaded_count += 1 ; } if pointers . GetSetMediaTrackInfo . is_some () { loaded_count += 1 ; } if pointers . GetSetMediaTrackInfo_String . is_some () { loaded_count += 1 ; } if pointers . GetSetObjectState . is_some () { loaded_count += 1 ; } if pointers . GetSetObjectState2 . is_some () { loaded_count += 1 ; } if pointers . GetSetProjectAuthor . is_some () { loaded_count += 1 ; } if pointers . GetSetProjectGrid . is_some () { loaded_count += 1 ; } if pointers . GetSetProjectInfo . is_some () { loaded_count += 1 ; } if pointers . GetSetProjectInfo_String . is_some () { loaded_count += 1 ; } if pointers . GetSetProjectNotes . is_some () { loaded_count += 1 ; } if pointers . GetSetRepeat . is_some () { loaded_count += 1 ; } if pointers . GetSetRepeatEx . is_some () { loaded_count += 1 ; } if pointers . GetSetTempoTimeSigMarkerFlag . is_some () { loaded_count += 1 ; } if pointers . GetSetTrackGroupMembership . is_some () { loaded_count += 1 ; } if pointers . GetSetTrackGroupMembershipEx . is_some () { loaded_count += 1 ; } if pointers . GetSetTrackGroupMembershipHigh . is_some () { loaded_count += 1 ; } if pointers . GetSetTrackMIDISupportFile . is_some () { loaded_count += 1 ; } if pointers . GetSetTrackSendInfo . is_some () { loaded_count += 1 ; } if pointers . GetSetTrackSendInfo_String . is_some () { loaded_count += 1 ; } if pointers . GetSetTrackState . is_some () { loaded_count += 1 ; } if pointers . GetSetTrackState2 . is_some () { loaded_count += 1 ; } if pointers . GetSubProjectFromSource . is_some () { loaded_count += 1 ; } if pointers . GetTake . is_some () { loaded_count += 1 ; } if pointers . GetTakeEnvelope . is_some () { loaded_count += 1 ; } if pointers . GetTakeEnvelopeByName . is_some () { loaded_count += 1 ; } if pointers . GetTakeMarker . is_some () { loaded_count += 1 ; } if pointers . GetTakeName . is_some () { loaded_count += 1 ; } if pointers . GetTakeNumStretchMarkers . is_some () { loaded_count += 1 ; } if pointers . GetTakeStretchMarker . is_some () { loaded_count += 1 ; } if pointers . GetTakeStretchMarkerSlope . is_some () { loaded_count += 1 ; } if pointers . GetTCPFXParm . is_some () { loaded_count += 1 ; } if pointers . GetTempoMatchPlayRate . is_some () { loaded_count += 1 ; } if pointers . GetTempoTimeSigMarker . is_some () { loaded_count += 1 ; } if pointers . GetThemeColor . is_some () { loaded_count += 1 ; } if pointers . GetThingFromPoint . is_some () { loaded_count += 1 ; } if pointers . GetToggleCommandState . is_some () { loaded_count += 1 ; } if pointers . GetToggleCommandState2 . is_some () { loaded_count += 1 ; } if pointers . GetToggleCommandStateEx . is_some () { loaded_count += 1 ; } if pointers . GetToggleCommandStateThroughHooks . is_some () { loaded_count += 1 ; } if pointers . GetTooltipWindow . is_some () { loaded_count += 1 ; } if pointers . GetTouchedOrFocusedFX . is_some () { loaded_count += 1 ; } if pointers . GetTrack . is_some () { loaded_count += 1 ; } if pointers . GetTrackAutomationMode . is_some () { loaded_count += 1 ; } if pointers . GetTrackColor . is_some () { loaded_count += 1 ; } if pointers . GetTrackDepth . is_some () { loaded_count += 1 ; } if pointers . GetTrackEnvelope . is_some () { loaded_count += 1 ; } if pointers . GetTrackEnvelopeByChunkName . is_some () { loaded_count += 1 ; } if pointers . GetTrackEnvelopeByName . is_some () { loaded_count += 1 ; } if pointers . GetTrackFromPoint . is_some () { loaded_count += 1 ; } if pointers . GetTrackGUID . is_some () { loaded_count += 1 ; } if pointers . GetTrackInfo . is_some () { loaded_count += 1 ; } if pointers . GetTrackMediaItem . is_some () { loaded_count += 1 ; } if pointers . GetTrackMIDILyrics . is_some () { loaded_count += 1 ; } if pointers . GetTrackMIDINoteName . is_some () { loaded_count += 1 ; } if pointers . GetTrackMIDINoteNameEx . is_some () { loaded_count += 1 ; } if pointers . GetTrackMIDINoteRange . is_some () { loaded_count += 1 ; } if pointers . GetTrackName . is_some () { loaded_count += 1 ; } if pointers . GetTrackNumMediaItems . is_some () { loaded_count += 1 ; } if pointers . GetTrackNumSends . is_some () { loaded_count += 1 ; } if pointers . GetTrackReceiveName . is_some () { loaded_count += 1 ; } if pointers . GetTrackReceiveUIMute . is_some () { loaded_count += 1 ; } if pointers . GetTrackReceiveUIVolPan . is_some () { loaded_count += 1 ; } if pointers . GetTrackSendInfo_Value . is_some () { loaded_count += 1 ; } if pointers . GetTrackSendName . is_some () { loaded_count += 1 ; } if pointers . GetTrackSendUIMute . is_some () { loaded_count += 1 ; } if pointers . GetTrackSendUIVolPan . is_some () { loaded_count += 1 ; } if pointers . GetTrackState . is_some () { loaded_count += 1 ; } if pointers . GetTrackStateChunk . is_some () { loaded_count += 1 ; } if pointers . GetTrackUIMute . is_some () { loaded_count += 1 ; } if pointers . GetTrackUIPan . is_some () { loaded_count += 1 ; } if pointers . GetTrackUIVolPan . is_some () { loaded_count += 1 ; } if pointers . GetUnderrunTime . is_some () { loaded_count += 1 ; } if pointers . GetUserFileNameForRead . is_some () { loaded_count += 1 ; } if pointers . GetUserInputs . is_some () { loaded_count += 1 ; } if pointers . GoToMarker . is_some () { loaded_count += 1 ; } if pointers . GoToRegion . is_some () { loaded_count += 1 ; } if pointers . GR_SelectColor . is_some () { loaded_count += 1 ; } if pointers . GSC_mainwnd . is_some () { loaded_count += 1 ; } if pointers . guidToString . is_some () { loaded_count += 1 ; } if pointers . HasExtState . is_some () { loaded_count += 1 ; } if pointers . HasTrackMIDIPrograms . is_some () { loaded_count += 1 ; } if pointers . HasTrackMIDIProgramsEx . is_some () { loaded_count += 1 ; } if pointers . Help_Set . is_some () { loaded_count += 1 ; } if pointers . HiresPeaksFromSource . is_some () { loaded_count += 1 ; } if pointers . image_resolve_fn . is_some () { loaded_count += 1 ; } if pointers . InsertAutomationItem . is_some () { loaded_count += 1 ; } if pointers . InsertEnvelopePoint . is_some () { loaded_count += 1 ; } if pointers . InsertEnvelopePointEx . is_some () { loaded_count += 1 ; } if pointers . InsertMedia . is_some () { loaded_count += 1 ; } if pointers . InsertMediaSection . is_some () { loaded_count += 1 ; } if pointers . InsertTrackAtIndex . is_some () { loaded_count += 1 ; } if pointers . InsertTrackInProject . is_some () { loaded_count += 1 ; } if pointers . IsInRealTimeAudio . is_some () { loaded_count += 1 ; } if pointers . IsItemTakeActiveForPlayback . is_some () { loaded_count += 1 ; } if pointers . IsMediaExtension . is_some () { loaded_count += 1 ; } if pointers . IsMediaItemSelected . is_some () { loaded_count += 1 ; } if pointers . IsProjectDirty . is_some () { loaded_count += 1 ; } if pointers . IsREAPER . is_some () { loaded_count += 1 ; } if pointers . IsTrackSelected . is_some () { loaded_count += 1 ; } if pointers . IsTrackVisible . is_some () { loaded_count += 1 ; } if pointers . IsWindowTextField . is_some () { loaded_count += 1 ; } if pointers . joystick_create . is_some () { loaded_count += 1 ; } if pointers . joystick_destroy . is_some () { loaded_count += 1 ; } if pointers . joystick_enum . is_some () { loaded_count += 1 ; } if pointers . joystick_getaxis . is_some () { loaded_count += 1 ; } if pointers . joystick_getbuttonmask . is_some () { loaded_count += 1 ; } if pointers . joystick_getinfo . is_some () { loaded_count += 1 ; } if pointers . joystick_getpov . is_some () { loaded_count += 1 ; } if pointers . joystick_update . is_some () { loaded_count += 1 ; } if pointers . kbd_enumerateActions . is_some () { loaded_count += 1 ; } if pointers . kbd_formatKeyName . is_some () { loaded_count += 1 ; } if pointers . kbd_getCommandName . is_some () { loaded_count += 1 ; } if pointers . kbd_getTextFromCmd . is_some () { loaded_count += 1 ; } if pointers . KBD_OnMainActionEx . is_some () { loaded_count += 1 ; } if pointers . kbd_OnMidiEvent . is_some () { loaded_count += 1 ; } if pointers . kbd_OnMidiList . is_some () { loaded_count += 1 ; } if pointers . kbd_ProcessActionsMenu . is_some () { loaded_count += 1 ; } if pointers . kbd_processMidiEventActionEx . is_some () { loaded_count += 1 ; } if pointers . kbd_reprocessMenu . is_some () { loaded_count += 1 ; } if pointers . kbd_RunCommandThroughHooks . is_some () { loaded_count += 1 ; } if pointers . kbd_translateAccelerator . is_some () { loaded_count += 1 ; } if pointers . LICE__Destroy . is_some () { loaded_count += 1 ; } if pointers . LICE__DestroyFont . is_some () { loaded_count += 1 ; } if pointers . LICE__DrawText . is_some () { loaded_count += 1 ; } if pointers . LICE__GetBits . is_some () { loaded_count += 1 ; } if pointers . LICE__GetDC . is_some () { loaded_count += 1 ; } if pointers . LICE__GetHeight . is_some () { loaded_count += 1 ; } if pointers . LICE__GetRowSpan . is_some () { loaded_count += 1 ; } if pointers . LICE__GetWidth . is_some () { loaded_count += 1 ; } if pointers . LICE__IsFlipped . is_some () { loaded_count += 1 ; } if pointers . LICE__resize . is_some () { loaded_count += 1 ; } if pointers . LICE__SetBkColor . is_some () { loaded_count += 1 ; } if pointers . LICE__SetFromHFont . is_some () { loaded_count += 1 ; } if pointers . LICE__SetTextColor . is_some () { loaded_count += 1 ; } if pointers . LICE__SetTextCombineMode . is_some () { loaded_count += 1 ; } if pointers . LICE_Arc . is_some () { loaded_count += 1 ; } if pointers . LICE_Blit . is_some () { loaded_count += 1 ; } if pointers . LICE_Blur . is_some () { loaded_count += 1 ; } if pointers . LICE_BorderedRect . is_some () { loaded_count += 1 ; } if pointers . LICE_Circle . is_some () { loaded_count += 1 ; } if pointers . LICE_Clear . is_some () { loaded_count += 1 ; } if pointers . LICE_ClearRect . is_some () { loaded_count += 1 ; } if pointers . LICE_ClipLine . is_some () { loaded_count += 1 ; } if pointers . LICE_CombinePixels . is_some () { loaded_count += 1 ; } if pointers . LICE_Copy . is_some () { loaded_count += 1 ; } if pointers . LICE_CreateBitmap . is_some () { loaded_count += 1 ; } if pointers . LICE_CreateFont . is_some () { loaded_count += 1 ; } if pointers . LICE_DrawCBezier . is_some () { loaded_count += 1 ; } if pointers . LICE_DrawChar . is_some () { loaded_count += 1 ; } if pointers . LICE_DrawGlyph . is_some () { loaded_count += 1 ; } if pointers . LICE_DrawRect . is_some () { loaded_count += 1 ; } if pointers . LICE_DrawText . is_some () { loaded_count += 1 ; } if pointers . LICE_FillCBezier . is_some () { loaded_count += 1 ; } if pointers . LICE_FillCircle . is_some () { loaded_count += 1 ; } if pointers . LICE_FillConvexPolygon . is_some () { loaded_count += 1 ; } if pointers . LICE_FillRect . is_some () { loaded_count += 1 ; } if pointers . LICE_FillTrapezoid . is_some () { loaded_count += 1 ; } if pointers . LICE_FillTriangle . is_some () { loaded_count += 1 ; } if pointers . LICE_GetPixel . is_some () { loaded_count += 1 ; } if pointers . LICE_GradRect . is_some () { loaded_count += 1 ; } if pointers . LICE_Line . is_some () { loaded_count += 1 ; } if pointers . LICE_LineInt . is_some () { loaded_count += 1 ; } if pointers . LICE_LoadPNG . is_some () { loaded_count += 1 ; } if pointers . LICE_LoadPNGFromResource . is_some () { loaded_count += 1 ; } if pointers . LICE_MeasureText . is_some () { loaded_count += 1 ; } if pointers . LICE_MultiplyAddRect . is_some () { loaded_count += 1 ; } if pointers . LICE_PutPixel . is_some () { loaded_count += 1 ; } if pointers . LICE_RotatedBlit . is_some () { loaded_count += 1 ; } if pointers . LICE_RoundRect . is_some () { loaded_count += 1 ; } if pointers . LICE_ScaledBlit . is_some () { loaded_count += 1 ; } if pointers . LICE_SimpleFill . is_some () { loaded_count += 1 ; } if pointers . LICE_ThickFLine . is_some () { loaded_count += 1 ; } if pointers . LocalizeString . is_some () { loaded_count += 1 ; } if pointers . Loop_OnArrow . is_some () { loaded_count += 1 ; } if pointers . Main_OnCommand . is_some () { loaded_count += 1 ; } if pointers . Main_OnCommandEx . is_some () { loaded_count += 1 ; } if pointers . Main_openProject . is_some () { loaded_count += 1 ; } if pointers . Main_SaveProject . is_some () { loaded_count += 1 ; } if pointers . Main_SaveProjectEx . is_some () { loaded_count += 1 ; } if pointers . Main_UpdateLoopInfo . is_some () { loaded_count += 1 ; } if pointers . MarkProjectDirty . is_some () { loaded_count += 1 ; } if pointers . MarkTrackItemsDirty . is_some () { loaded_count += 1 ; } if pointers . Master_GetPlayRate . is_some () { loaded_count += 1 ; } if pointers . Master_GetPlayRateAtTime . is_some () { loaded_count += 1 ; } if pointers . Master_GetTempo . is_some () { loaded_count += 1 ; } if pointers . Master_NormalizePlayRate . is_some () { loaded_count += 1 ; } if pointers . Master_NormalizeTempo . is_some () { loaded_count += 1 ; } if pointers . MB . is_some () { loaded_count += 1 ; } if pointers . MediaItemDescendsFromTrack . is_some () { loaded_count += 1 ; } if pointers . Menu_GetHash . is_some () { loaded_count += 1 ; } if pointers . MIDI_CountEvts . is_some () { loaded_count += 1 ; } if pointers . MIDI_DeleteCC . is_some () { loaded_count += 1 ; } if pointers . MIDI_DeleteEvt . is_some () { loaded_count += 1 ; } if pointers . MIDI_DeleteNote . is_some () { loaded_count += 1 ; } if pointers . MIDI_DeleteTextSysexEvt . is_some () { loaded_count += 1 ; } if pointers . MIDI_DisableSort . is_some () { loaded_count += 1 ; } if pointers . MIDI_EnumSelCC . is_some () { loaded_count += 1 ; } if pointers . MIDI_EnumSelEvts . is_some () { loaded_count += 1 ; } if pointers . MIDI_EnumSelNotes . is_some () { loaded_count += 1 ; } if pointers . MIDI_EnumSelTextSysexEvts . is_some () { loaded_count += 1 ; } if pointers . MIDI_eventlist_Create . is_some () { loaded_count += 1 ; } if pointers . MIDI_eventlist_Destroy . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetAllEvts . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetCC . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetCCShape . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetEvt . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetGrid . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetHash . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetNote . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetPPQPos_EndOfMeasure . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetPPQPos_StartOfMeasure . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetPPQPosFromProjQN . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetPPQPosFromProjTime . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetProjQNFromPPQPos . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetProjTimeFromPPQPos . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetRecentInputEvent . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetScale . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetTextSysexEvt . is_some () { loaded_count += 1 ; } if pointers . MIDI_GetTrackHash . is_some () { loaded_count += 1 ; } if pointers . midi_init . is_some () { loaded_count += 1 ; } if pointers . MIDI_InsertCC . is_some () { loaded_count += 1 ; } if pointers . MIDI_InsertEvt . is_some () { loaded_count += 1 ; } if pointers . MIDI_InsertNote . is_some () { loaded_count += 1 ; } if pointers . MIDI_InsertTextSysexEvt . is_some () { loaded_count += 1 ; } if pointers . MIDI_RefreshEditors . is_some () { loaded_count += 1 ; } if pointers . midi_reinit . is_some () { loaded_count += 1 ; } if pointers . MIDI_SelectAll . is_some () { loaded_count += 1 ; } if pointers . MIDI_SetAllEvts . is_some () { loaded_count += 1 ; } if pointers . MIDI_SetCC . is_some () { loaded_count += 1 ; } if pointers . MIDI_SetCCShape . is_some () { loaded_count += 1 ; } if pointers . MIDI_SetEvt . is_some () { loaded_count += 1 ; } if pointers . MIDI_SetItemExtents . is_some () { loaded_count += 1 ; } if pointers . MIDI_SetNote . is_some () { loaded_count += 1 ; } if pointers . MIDI_SetTextSysexEvt . is_some () { loaded_count += 1 ; } if pointers . MIDI_Sort . is_some () { loaded_count += 1 ; } if pointers . MIDIEditor_EnumTakes . is_some () { loaded_count += 1 ; } if pointers . MIDIEditor_GetActive . is_some () { loaded_count += 1 ; } if pointers . MIDIEditor_GetMode . is_some () { loaded_count += 1 ; } if pointers . MIDIEditor_GetSetting_int . is_some () { loaded_count += 1 ; } if pointers . MIDIEditor_GetSetting_str . is_some () { loaded_count += 1 ; } if pointers . MIDIEditor_GetTake . is_some () { loaded_count += 1 ; } if pointers . MIDIEditor_LastFocused_OnCommand . is_some () { loaded_count += 1 ; } if pointers . MIDIEditor_OnCommand . is_some () { loaded_count += 1 ; } if pointers . MIDIEditor_SetSetting_int . is_some () { loaded_count += 1 ; } if pointers . MIDIEditorFlagsForTrack . is_some () { loaded_count += 1 ; } if pointers . mkpanstr . is_some () { loaded_count += 1 ; } if pointers . mkvolpanstr . is_some () { loaded_count += 1 ; } if pointers . mkvolstr . is_some () { loaded_count += 1 ; } if pointers . MoveEditCursor . is_some () { loaded_count += 1 ; } if pointers . MoveMediaItemToTrack . is_some () { loaded_count += 1 ; } if pointers . MuteAllTracks . is_some () { loaded_count += 1 ; } if pointers . my_getViewport . is_some () { loaded_count += 1 ; } if pointers . NamedCommandLookup . is_some () { loaded_count += 1 ; } if pointers . OnPauseButton . is_some () { loaded_count += 1 ; } if pointers . OnPauseButtonEx . is_some () { loaded_count += 1 ; } if pointers . OnPlayButton . is_some () { loaded_count += 1 ; } if pointers . OnPlayButtonEx . is_some () { loaded_count += 1 ; } if pointers . OnStopButton . is_some () { loaded_count += 1 ; } if pointers . OnStopButtonEx . is_some () { loaded_count += 1 ; } if pointers . OpenColorThemeFile . is_some () { loaded_count += 1 ; } if pointers . OpenMediaExplorer . is_some () { loaded_count += 1 ; } if pointers . OscLocalMessageToHost . is_some () { loaded_count += 1 ; } if pointers . parse_timestr . is_some () { loaded_count += 1 ; } if pointers . parse_timestr_len . is_some () { loaded_count += 1 ; } if pointers . parse_timestr_pos . is_some () { loaded_count += 1 ; } if pointers . parsepanstr . is_some () { loaded_count += 1 ; } if pointers . PCM_Sink_Create . is_some () { loaded_count += 1 ; } if pointers . PCM_Sink_CreateEx . is_some () { loaded_count += 1 ; } if pointers . PCM_Sink_CreateMIDIFile . is_some () { loaded_count += 1 ; } if pointers . PCM_Sink_CreateMIDIFileEx . is_some () { loaded_count += 1 ; } if pointers . PCM_Sink_Enum . is_some () { loaded_count += 1 ; } if pointers . PCM_Sink_GetExtension . is_some () { loaded_count += 1 ; } if pointers . PCM_Sink_ShowConfig . is_some () { loaded_count += 1 ; } if pointers . PCM_Source_BuildPeaks . is_some () { loaded_count += 1 ; } if pointers . PCM_Source_CreateFromFile . is_some () { loaded_count += 1 ; } if pointers . PCM_Source_CreateFromFileEx . is_some () { loaded_count += 1 ; } if pointers . PCM_Source_CreateFromSimple . is_some () { loaded_count += 1 ; } if pointers . PCM_Source_CreateFromType . is_some () { loaded_count += 1 ; } if pointers . PCM_Source_Destroy . is_some () { loaded_count += 1 ; } if pointers . PCM_Source_GetPeaks . is_some () { loaded_count += 1 ; } if pointers . PCM_Source_GetSectionInfo . is_some () { loaded_count += 1 ; } if pointers . PeakBuild_Create . is_some () { loaded_count += 1 ; } if pointers . PeakBuild_CreateEx . is_some () { loaded_count += 1 ; } if pointers . PeakGet_Create . is_some () { loaded_count += 1 ; } if pointers . PitchShiftSubModeMenu . is_some () { loaded_count += 1 ; } if pointers . PlayPreview . is_some () { loaded_count += 1 ; } if pointers . PlayPreviewEx . is_some () { loaded_count += 1 ; } if pointers . PlayTrackPreview . is_some () { loaded_count += 1 ; } if pointers . PlayTrackPreview2 . is_some () { loaded_count += 1 ; } if pointers . PlayTrackPreview2Ex . is_some () { loaded_count += 1 ; } if pointers . plugin_getapi . is_some () { loaded_count += 1 ; } if pointers . plugin_getFilterList . is_some () { loaded_count += 1 ; } if pointers . plugin_getImportableProjectFilterList . is_some () { loaded_count += 1 ; } if pointers . plugin_register . is_some () { loaded_count += 1 ; } if pointers . PluginWantsAlwaysRunFx . is_some () { loaded_count += 1 ; } if pointers . PreventUIRefresh . is_some () { loaded_count += 1 ; } if pointers . projectconfig_var_addr . is_some () { loaded_count += 1 ; } if pointers . projectconfig_var_getoffs . is_some () { loaded_count += 1 ; } if pointers . PromptForAction . is_some () { loaded_count += 1 ; } if pointers . realloc_cmd_clear . is_some () { loaded_count += 1 ; } if pointers . realloc_cmd_ptr . is_some () { loaded_count += 1 ; } if pointers . realloc_cmd_register_buf . is_some () { loaded_count += 1 ; } if pointers . ReaperGetPitchShiftAPI . is_some () { loaded_count += 1 ; } if pointers . ReaScriptError . is_some () { loaded_count += 1 ; } if pointers . RecursiveCreateDirectory . is_some () { loaded_count += 1 ; } if pointers . reduce_open_files . is_some () { loaded_count += 1 ; } if pointers . RefreshToolbar . is_some () { loaded_count += 1 ; } if pointers . RefreshToolbar2 . is_some () { loaded_count += 1 ; } if pointers . relative_fn . is_some () { loaded_count += 1 ; } if pointers . RemoveTrackSend . is_some () { loaded_count += 1 ; } if pointers . RenderFileSection . is_some () { loaded_count += 1 ; } if pointers . ReorderSelectedTracks . is_some () { loaded_count += 1 ; } if pointers . Resample_EnumModes . is_some () { loaded_count += 1 ; } if pointers . Resampler_Create . is_some () { loaded_count += 1 ; } if pointers . resolve_fn . is_some () { loaded_count += 1 ; } if pointers . resolve_fn2 . is_some () { loaded_count += 1 ; } if pointers . ResolveRenderPattern . is_some () { loaded_count += 1 ; } if pointers . ReverseNamedCommandLookup . is_some () { loaded_count += 1 ; } if pointers . ScaleFromEnvelopeMode . is_some () { loaded_count += 1 ; } if pointers . ScaleToEnvelopeMode . is_some () { loaded_count += 1 ; } if pointers . screenset_register . is_some () { loaded_count += 1 ; } if pointers . screenset_registerNew . is_some () { loaded_count += 1 ; } if pointers . screenset_unregister . is_some () { loaded_count += 1 ; } if pointers . screenset_unregisterByParam . is_some () { loaded_count += 1 ; } if pointers . screenset_updateLastFocus . is_some () { loaded_count += 1 ; } if pointers . SectionFromUniqueID . is_some () { loaded_count += 1 ; } if pointers . SelectAllMediaItems . is_some () { loaded_count += 1 ; } if pointers . SelectProjectInstance . is_some () { loaded_count += 1 ; } if pointers . SendLocalOscMessage . is_some () { loaded_count += 1 ; } if pointers . SendMIDIMessageToHardware . is_some () { loaded_count += 1 ; } if pointers . SetActiveTake . is_some () { loaded_count += 1 ; } if pointers . SetAutomationMode . is_some () { loaded_count += 1 ; } if pointers . SetCurrentBPM . is_some () { loaded_count += 1 ; } if pointers . SetCursorContext . is_some () { loaded_count += 1 ; } if pointers . SetEditCurPos . is_some () { loaded_count += 1 ; } if pointers . SetEditCurPos2 . is_some () { loaded_count += 1 ; } if pointers . SetEnvelopePoint . is_some () { loaded_count += 1 ; } if pointers . SetEnvelopePointEx . is_some () { loaded_count += 1 ; } if pointers . SetEnvelopeStateChunk . is_some () { loaded_count += 1 ; } if pointers . SetExtState . is_some () { loaded_count += 1 ; } if pointers . SetGlobalAutomationOverride . is_some () { loaded_count += 1 ; } if pointers . SetItemStateChunk . is_some () { loaded_count += 1 ; } if pointers . SetMasterTrackVisibility . is_some () { loaded_count += 1 ; } if pointers . SetMediaItemInfo_Value . is_some () { loaded_count += 1 ; } if pointers . SetMediaItemLength . is_some () { loaded_count += 1 ; } if pointers . SetMediaItemPosition . is_some () { loaded_count += 1 ; } if pointers . SetMediaItemSelected . is_some () { loaded_count += 1 ; } if pointers . SetMediaItemTake_Source . is_some () { loaded_count += 1 ; } if pointers . SetMediaItemTakeInfo_Value . is_some () { loaded_count += 1 ; } if pointers . SetMediaTrackInfo_Value . is_some () { loaded_count += 1 ; } if pointers . SetMIDIEditorGrid . is_some () { loaded_count += 1 ; } if pointers . SetMixerScroll . is_some () { loaded_count += 1 ; } if pointers . SetMouseModifier . is_some () { loaded_count += 1 ; } if pointers . SetOnlyTrackSelected . is_some () { loaded_count += 1 ; } if pointers . SetProjectGrid . is_some () { loaded_count += 1 ; } if pointers . SetProjectMarker . is_some () { loaded_count += 1 ; } if pointers . SetProjectMarker2 . is_some () { loaded_count += 1 ; } if pointers . SetProjectMarker3 . is_some () { loaded_count += 1 ; } if pointers . SetProjectMarker4 . is_some () { loaded_count += 1 ; } if pointers . SetProjectMarkerByIndex . is_some () { loaded_count += 1 ; } if pointers . SetProjectMarkerByIndex2 . is_some () { loaded_count += 1 ; } if pointers . SetProjExtState . is_some () { loaded_count += 1 ; } if pointers . SetRegionRenderMatrix . is_some () { loaded_count += 1 ; } if pointers . SetRenderLastError . is_some () { loaded_count += 1 ; } if pointers . SetTakeMarker . is_some () { loaded_count += 1 ; } if pointers . SetTakeStretchMarker . is_some () { loaded_count += 1 ; } if pointers . SetTakeStretchMarkerSlope . is_some () { loaded_count += 1 ; } if pointers . SetTempoTimeSigMarker . is_some () { loaded_count += 1 ; } if pointers . SetThemeColor . is_some () { loaded_count += 1 ; } if pointers . SetToggleCommandState . is_some () { loaded_count += 1 ; } if pointers . SetTrackAutomationMode . is_some () { loaded_count += 1 ; } if pointers . SetTrackColor . is_some () { loaded_count += 1 ; } if pointers . SetTrackMIDILyrics . is_some () { loaded_count += 1 ; } if pointers . SetTrackMIDINoteName . is_some () { loaded_count += 1 ; } if pointers . SetTrackMIDINoteNameEx . is_some () { loaded_count += 1 ; } if pointers . SetTrackSelected . is_some () { loaded_count += 1 ; } if pointers . SetTrackSendInfo_Value . is_some () { loaded_count += 1 ; } if pointers . SetTrackSendUIPan . is_some () { loaded_count += 1 ; } if pointers . SetTrackSendUIVol . is_some () { loaded_count += 1 ; } if pointers . SetTrackStateChunk . is_some () { loaded_count += 1 ; } if pointers . SetTrackUIInputMonitor . is_some () { loaded_count += 1 ; } if pointers . SetTrackUIMute . is_some () { loaded_count += 1 ; } if pointers . SetTrackUIPan . is_some () { loaded_count += 1 ; } if pointers . SetTrackUIPolarity . is_some () { loaded_count += 1 ; } if pointers . SetTrackUIRecArm . is_some () { loaded_count += 1 ; } if pointers . SetTrackUISolo . is_some () { loaded_count += 1 ; } if pointers . SetTrackUIVolume . is_some () { loaded_count += 1 ; } if pointers . SetTrackUIWidth . is_some () { loaded_count += 1 ; } if pointers . ShowActionList . is_some () { loaded_count += 1 ; } if pointers . ShowConsoleMsg . is_some () { loaded_count += 1 ; } if pointers . ShowMessageBox . is_some () { loaded_count += 1 ; } if pointers . ShowPopupMenu . is_some () { loaded_count += 1 ; } if pointers . SLIDER2DB . is_some () { loaded_count += 1 ; } if pointers . SnapToGrid . is_some () { loaded_count += 1 ; } if pointers . SoloAllTracks . is_some () { loaded_count += 1 ; } if pointers . Splash_GetWnd . is_some () { loaded_count += 1 ; } if pointers . SplitMediaItem . is_some () { loaded_count += 1 ; } if pointers . StopPreview . is_some () { loaded_count += 1 ; } if pointers . StopTrackPreview . is_some () { loaded_count += 1 ; } if pointers . StopTrackPreview2 . is_some () { loaded_count += 1 ; } if pointers . stringToGuid . is_some () { loaded_count += 1 ; } if pointers . StuffMIDIMessage . is_some () { loaded_count += 1 ; } if pointers . TakeFX_AddByName . is_some () { loaded_count += 1 ; } if pointers . TakeFX_CopyToTake . is_some () { loaded_count += 1 ; } if pointers . TakeFX_CopyToTrack . is_some () { loaded_count += 1 ; } if pointers . TakeFX_Delete . is_some () { loaded_count += 1 ; } if pointers . TakeFX_EndParamEdit . is_some () { loaded_count += 1 ; } if pointers . TakeFX_FormatParamValue . is_some () { loaded_count += 1 ; } if pointers . TakeFX_FormatParamValueNormalized . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetChainVisible . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetCount . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetEnabled . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetEnvelope . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetFloatingWindow . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetFormattedParamValue . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetFXGUID . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetFXName . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetIOSize . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetNamedConfigParm . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetNumParams . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetOffline . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetOpen . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetParam . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetParameterStepSizes . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetParamEx . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetParamFromIdent . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetParamIdent . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetParamName . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetParamNormalized . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetPinMappings . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetPreset . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetPresetIndex . is_some () { loaded_count += 1 ; } if pointers . TakeFX_GetUserPresetFilename . is_some () { loaded_count += 1 ; } if pointers . TakeFX_NavigatePresets . is_some () { loaded_count += 1 ; } if pointers . TakeFX_SetEnabled . is_some () { loaded_count += 1 ; } if pointers . TakeFX_SetNamedConfigParm . is_some () { loaded_count += 1 ; } if pointers . TakeFX_SetOffline . is_some () { loaded_count += 1 ; } if pointers . TakeFX_SetOpen . is_some () { loaded_count += 1 ; } if pointers . TakeFX_SetParam . is_some () { loaded_count += 1 ; } if pointers . TakeFX_SetParamNormalized . is_some () { loaded_count += 1 ; } if pointers . TakeFX_SetPinMappings . is_some () { loaded_count += 1 ; } if pointers . TakeFX_SetPreset . is_some () { loaded_count += 1 ; } if pointers . TakeFX_SetPresetByIndex . is_some () { loaded_count += 1 ; } if pointers . TakeFX_Show . is_some () { loaded_count += 1 ; } if pointers . TakeIsMIDI . is_some () { loaded_count += 1 ; } if pointers . ThemeLayout_GetLayout . is_some () { loaded_count += 1 ; } if pointers . ThemeLayout_GetParameter . is_some () { loaded_count += 1 ; } if pointers . ThemeLayout_RefreshAll . is_some () { loaded_count += 1 ; } if pointers . ThemeLayout_SetLayout . is_some () { loaded_count += 1 ; } if pointers . ThemeLayout_SetParameter . is_some () { loaded_count += 1 ; } if pointers . time_precise . is_some () { loaded_count += 1 ; } if pointers . TimeMap2_beatsToTime . is_some () { loaded_count += 1 ; } if pointers . TimeMap2_GetDividedBpmAtTime . is_some () { loaded_count += 1 ; } if pointers . TimeMap2_GetNextChangeTime . is_some () { loaded_count += 1 ; } if pointers . TimeMap2_QNToTime . is_some () { loaded_count += 1 ; } if pointers . TimeMap2_timeToBeats . is_some () { loaded_count += 1 ; } if pointers . TimeMap2_timeToQN . is_some () { loaded_count += 1 ; } if pointers . TimeMap_curFrameRate . is_some () { loaded_count += 1 ; } if pointers . TimeMap_GetDividedBpmAtTime . is_some () { loaded_count += 1 ; } if pointers . TimeMap_GetMeasureInfo . is_some () { loaded_count += 1 ; } if pointers . TimeMap_GetMetronomePattern . is_some () { loaded_count += 1 ; } if pointers . TimeMap_GetTimeSigAtTime . is_some () { loaded_count += 1 ; } if pointers . TimeMap_QNToMeasures . is_some () { loaded_count += 1 ; } if pointers . TimeMap_QNToTime . is_some () { loaded_count += 1 ; } if pointers . TimeMap_QNToTime_abs . is_some () { loaded_count += 1 ; } if pointers . TimeMap_timeToQN . is_some () { loaded_count += 1 ; } if pointers . TimeMap_timeToQN_abs . is_some () { loaded_count += 1 ; } if pointers . ToggleTrackSendUIMute . is_some () { loaded_count += 1 ; } if pointers . Track_GetPeakHoldDB . is_some () { loaded_count += 1 ; } if pointers . Track_GetPeakInfo . is_some () { loaded_count += 1 ; } if pointers . TrackCtl_SetToolTip . is_some () { loaded_count += 1 ; } if pointers . TrackFX_AddByName . is_some () { loaded_count += 1 ; } if pointers . TrackFX_CopyToTake . is_some () { loaded_count += 1 ; } if pointers . TrackFX_CopyToTrack . is_some () { loaded_count += 1 ; } if pointers . TrackFX_Delete . is_some () { loaded_count += 1 ; } if pointers . TrackFX_EndParamEdit . is_some () { loaded_count += 1 ; } if pointers . TrackFX_FormatParamValue . is_some () { loaded_count += 1 ; } if pointers . TrackFX_FormatParamValueNormalized . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetByName . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetChainVisible . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetCount . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetEnabled . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetEQ . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetEQBandEnabled . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetEQParam . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetFloatingWindow . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetFormattedParamValue . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetFXGUID . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetFXName . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetInstrument . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetIOSize . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetNamedConfigParm . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetNumParams . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetOffline . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetOpen . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetParam . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetParameterStepSizes . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetParamEx . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetParamFromIdent . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetParamIdent . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetParamName . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetParamNormalized . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetPinMappings . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetPreset . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetPresetIndex . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetRecChainVisible . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetRecCount . is_some () { loaded_count += 1 ; } if pointers . TrackFX_GetUserPresetFilename . is_some () { loaded_count += 1 ; } if pointers . TrackFX_NavigatePresets . is_some () { loaded_count += 1 ; } if pointers . TrackFX_SetEnabled . is_some () { loaded_count += 1 ; } if pointers . TrackFX_SetEQBandEnabled . is_some () { loaded_count += 1 ; } if pointers . TrackFX_SetEQParam . is_some () { loaded_count += 1 ; } if pointers . TrackFX_SetNamedConfigParm . is_some () { loaded_count += 1 ; } if pointers . TrackFX_SetOffline . is_some () { loaded_count += 1 ; } if pointers . TrackFX_SetOpen . is_some () { loaded_count += 1 ; } if pointers . TrackFX_SetParam . is_some () { loaded_count += 1 ; } if pointers . TrackFX_SetParamNormalized . is_some () { loaded_count += 1 ; } if pointers . TrackFX_SetPinMappings . is_some () { loaded_count += 1 ; } if pointers . TrackFX_SetPreset . is_some () { loaded_count += 1 ; } if pointers . TrackFX_SetPresetByIndex . is_some () { loaded_count += 1 ; } if pointers . TrackFX_Show . is_some () { loaded_count += 1 ; } if pointers . TrackList_AdjustWindows . is_some () { loaded_count += 1 ; } if pointers . TrackList_UpdateAllExternalSurfaces . is_some () { loaded_count += 1 ; } if pointers . Undo_BeginBlock . is_some () { loaded_count += 1 ; } if pointers . Undo_BeginBlock2 . is_some () { loaded_count += 1 ; } if pointers . Undo_CanRedo2 . is_some () { loaded_count += 1 ; } if pointers . Undo_CanUndo2 . is_some () { loaded_count += 1 ; } if pointers . Undo_DoRedo2 . is_some () { loaded_count += 1 ; } if pointers . Undo_DoUndo2 . is_some () { loaded_count += 1 ; } if pointers . Undo_EndBlock . is_some () { loaded_count += 1 ; } if pointers . Undo_EndBlock2 . is_some () { loaded_count += 1 ; } if pointers . Undo_OnStateChange . is_some () { loaded_count += 1 ; } if pointers . Undo_OnStateChange2 . is_some () { loaded_count += 1 ; } if pointers . Undo_OnStateChange_Item . is_some () { loaded_count += 1 ; } if pointers . Undo_OnStateChangeEx . is_some () { loaded_count += 1 ; } if pointers . Undo_OnStateChangeEx2 . is_some () { loaded_count += 1 ; } if pointers . update_disk_counters . is_some () { loaded_count += 1 ; } if pointers . UpdateArrange . is_some () { loaded_count += 1 ; } if pointers . UpdateItemInProject . is_some () { loaded_count += 1 ; } if pointers . UpdateItemLanes . is_some () { loaded_count += 1 ; } if pointers . UpdateTimeline . is_some () { loaded_count += 1 ; } if pointers . ValidatePtr . is_some () { loaded_count += 1 ; } if pointers . ValidatePtr2 . is_some () { loaded_count += 1 ; } if pointers . ViewPrefs . is_some () { loaded_count += 1 ; } if pointers . WDL_VirtualWnd_ScaledBlitBG . is_some () { loaded_count += 1 ; } if pointers . GetMidiInput . is_some () { loaded_count += 1 ; } if pointers . GetMidiOutput . is_some () { loaded_count += 1 ; } if pointers . fxDoReaperPresetAction . is_some () { loaded_count += 1 ; } if pointers . AddCustomMenuOrToolbarItem . is_some () { loaded_count += 1 ; } if pointers . DeleteCustomMenuOrToolbarItem . is_some () { loaded_count += 1 ; } if pointers . GetCustomMenuOrToolbarItem . is_some () { loaded_count += 1 ; } if pointers . AdvancePlaybackPosition . is_some () { loaded_count += 1 ; } if pointers . GetPlayLoopCnt . is_some () { loaded_count += 1 ; } if pointers . InitializeCoolSB . is_some () { loaded_count += 1 ; } if pointers . UninitializeCoolSB . is_some () { loaded_count += 1 ; } if pointers . CoolSB_SetMinThumbSize . is_some () { loaded_count += 1 ; } if pointers . CoolSB_GetScrollInfo . is_some () { loaded_count += 1 ; } if pointers . CoolSB_SetScrollInfo . is_some () { loaded_count += 1 ; } if pointers . CoolSB_SetScrollPos . is_some () { loaded_count += 1 ; } if pointers . CoolSB_SetScrollRange . is_some () { loaded_count += 1 ; } if pointers . CoolSB_ShowScrollBar . is_some () { loaded_count += 1 ; } if pointers . CoolSB_SetResizingThumb . is_some () { loaded_count += 1 ; } if pointers . CoolSB_SetThemeIndex . is_some () { loaded_count += 1 ; } pointers . loaded_count = loaded_count ; Reaper { pointers , plugin_context : Some (plugin_context) } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn __mergesort (& self , base : * mut :: std :: os :: raw :: c_void , nmemb : usize , size : usize , cmpfunc : :: std :: option :: Option < unsafe extern "C" fn (arg1 : * const :: std :: os :: raw :: c_void , arg2 : * const :: std :: os :: raw :: c_void ,) -> :: std :: os :: raw :: c_int , > , tmpspace : * mut :: std :: os :: raw :: c_void) { match self . pointers . __mergesort { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (__mergesort)) , Some (f) => f (base , nmemb , size , cmpfunc , tmpspace) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn AddCustomizableMenu (& self , menuidstr : * const :: std :: os :: raw :: c_char , menuname : * const :: std :: os :: raw :: c_char , kbdsecname : * const :: std :: os :: raw :: c_char , addtomainmenu : bool) -> bool { match self . pointers . AddCustomizableMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AddCustomizableMenu)) , Some (f) => f (menuidstr , menuname , kbdsecname , addtomainmenu) , } } pub fn AddExtensionsMainMenu (& self) -> bool { match self . pointers . AddExtensionsMainMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AddExtensionsMainMenu)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn AddMediaItemToTrack (& self , tr : * mut root :: MediaTrack) -> * mut root :: MediaItem { match self . pointers . AddMediaItemToTrack { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AddMediaItemToTrack)) , Some (f) => f (tr) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn AddProjectMarker (& self , proj : * mut root :: ReaProject , isrgn : bool , pos : f64 , rgnend : f64 , name : * const :: std :: os :: raw :: c_char , wantidx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . AddProjectMarker { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AddProjectMarker)) , Some (f) => f (proj , isrgn , pos , rgnend , name , wantidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn AddProjectMarker2 (& self , proj : * mut root :: ReaProject , isrgn : bool , pos : f64 , rgnend : f64 , name : * const :: std :: os :: raw :: c_char , wantidx : :: std :: os :: raw :: c_int , color : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . AddProjectMarker2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AddProjectMarker2)) , Some (f) => f (proj , isrgn , pos , rgnend , name , wantidx , color) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn AddRemoveReaScript (& self , add : bool , sectionID : :: std :: os :: raw :: c_int , scriptfn : * const :: std :: os :: raw :: c_char , commit : bool) -> :: std :: os :: raw :: c_int { match self . pointers . AddRemoveReaScript { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AddRemoveReaScript)) , Some (f) => f (add , sectionID , scriptfn , commit) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn AddTakeToMediaItem (& self , item : * mut root :: MediaItem) -> * mut root :: MediaItem_Take { match self . pointers . AddTakeToMediaItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AddTakeToMediaItem)) , Some (f) => f (item) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn AddTempoTimeSigMarker (& self , proj : * mut root :: ReaProject , timepos : f64 , bpm : f64 , timesig_num : :: std :: os :: raw :: c_int , timesig_denom : :: std :: os :: raw :: c_int , lineartempochange : bool) -> bool { match self . pointers . AddTempoTimeSigMarker { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AddTempoTimeSigMarker)) , Some (f) => f (proj , timepos , bpm , timesig_num , timesig_denom , lineartempochange) , } } pub fn adjustZoom (& self , amt : f64 , forceset : :: std :: os :: raw :: c_int , doupd : bool , centermode : :: std :: os :: raw :: c_int) { match self . pointers . adjustZoom { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (adjustZoom)) , Some (f) => f (amt , forceset , doupd , centermode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn AnyTrackSolo (& self , proj : * mut root :: ReaProject) -> bool { match self . pointers . AnyTrackSolo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AnyTrackSolo)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn APIExists (& self , function_name : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . APIExists { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (APIExists)) , Some (f) => f (function_name) , } } pub fn APITest (& self) { match self . pointers . APITest { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (APITest)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ApplyNudge (& self , project : * mut root :: ReaProject , nudgeflag : :: std :: os :: raw :: c_int , nudgewhat : :: std :: os :: raw :: c_int , nudgeunits : :: std :: os :: raw :: c_int , value : f64 , reverse : bool , copies : :: std :: os :: raw :: c_int) -> bool { match self . pointers . ApplyNudge { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ApplyNudge)) , Some (f) => f (project , nudgeflag , nudgewhat , nudgeunits , value , reverse , copies) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ArmCommand (& self , cmd : :: std :: os :: raw :: c_int , sectionname : * const :: std :: os :: raw :: c_char) { match self . pointers . ArmCommand { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ArmCommand)) , Some (f) => f (cmd , sectionname) , } } pub fn Audio_Init (& self) { match self . pointers . Audio_Init { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Audio_Init)) , Some (f) => f () , } } pub fn Audio_IsPreBuffer (& self) -> :: std :: os :: raw :: c_int { match self . pointers . Audio_IsPreBuffer { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Audio_IsPreBuffer)) , Some (f) => f () , } } pub fn Audio_IsRunning (& self) -> :: std :: os :: raw :: c_int { match self . pointers . Audio_IsRunning { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Audio_IsRunning)) , Some (f) => f () , } } pub fn Audio_Quit (& self) { match self . pointers . Audio_Quit { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Audio_Quit)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Audio_RegHardwareHook (& self , isAdd : bool , reg : * mut root :: audio_hook_register_t) -> :: std :: os :: raw :: c_int { match self . pointers . Audio_RegHardwareHook { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Audio_RegHardwareHook)) , Some (f) => f (isAdd , reg) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn AudioAccessorStateChanged (& self , accessor : * mut root :: reaper_functions :: AudioAccessor) -> bool { match self . pointers . AudioAccessorStateChanged { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AudioAccessorStateChanged)) , Some (f) => f (accessor) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn AudioAccessorUpdate (& self , accessor : * mut root :: reaper_functions :: AudioAccessor) { match self . pointers . AudioAccessorUpdate { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AudioAccessorUpdate)) , Some (f) => f (accessor) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn AudioAccessorValidateState (& self , accessor : * mut root :: reaper_functions :: AudioAccessor) -> bool { match self . pointers . AudioAccessorValidateState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AudioAccessorValidateState)) , Some (f) => f (accessor) , } } pub fn BypassFxAllTracks (& self , bypass : :: std :: os :: raw :: c_int) { match self . pointers . BypassFxAllTracks { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (BypassFxAllTracks)) , Some (f) => f (bypass) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CalcMediaSrcLoudness (& self , mediasource : * mut root :: PCM_source) -> :: std :: os :: raw :: c_int { match self . pointers . CalcMediaSrcLoudness { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CalcMediaSrcLoudness)) , Some (f) => f (mediasource) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CalculateNormalization (& self , source : * mut root :: PCM_source , normalizeTo : :: std :: os :: raw :: c_int , normalizeTarget : f64 , normalizeStart : f64 , normalizeEnd : f64) -> f64 { match self . pointers . CalculateNormalization { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CalculateNormalization)) , Some (f) => f (source , normalizeTo , normalizeTarget , normalizeStart , normalizeEnd) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CalculatePeaks (& self , srcBlock : * mut root :: PCM_source_transfer_t , pksBlock : * mut root :: PCM_source_peaktransfer_t) -> :: std :: os :: raw :: c_int { match self . pointers . CalculatePeaks { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CalculatePeaks)) , Some (f) => f (srcBlock , pksBlock) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CalculatePeaksFloatSrcPtr (& self , srcBlock : * mut root :: PCM_source_transfer_t , pksBlock : * mut root :: PCM_source_peaktransfer_t) -> :: std :: os :: raw :: c_int { match self . pointers . CalculatePeaksFloatSrcPtr { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CalculatePeaksFloatSrcPtr)) , Some (f) => f (srcBlock , pksBlock) , } } pub fn ClearAllRecArmed (& self) { match self . pointers . ClearAllRecArmed { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ClearAllRecArmed)) , Some (f) => f () , } } pub fn ClearConsole (& self) { match self . pointers . ClearConsole { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ClearConsole)) , Some (f) => f () , } } pub fn ClearPeakCache (& self) { match self . pointers . ClearPeakCache { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ClearPeakCache)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ColorFromNative (& self , col : :: std :: os :: raw :: c_int , rOut : * mut :: std :: os :: raw :: c_int , gOut : * mut :: std :: os :: raw :: c_int , bOut : * mut :: std :: os :: raw :: c_int) { match self . pointers . ColorFromNative { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ColorFromNative)) , Some (f) => f (col , rOut , gOut , bOut) , } } pub fn ColorToNative (& self , r : :: std :: os :: raw :: c_int , g : :: std :: os :: raw :: c_int , b : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . ColorToNative { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ColorToNative)) , Some (f) => f (r , g , b) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountActionShortcuts (& self , section : * mut root :: KbdSectionInfo , cmdID : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . CountActionShortcuts { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountActionShortcuts)) , Some (f) => f (section , cmdID) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountAutomationItems (& self , env : * mut root :: TrackEnvelope) -> :: std :: os :: raw :: c_int { match self . pointers . CountAutomationItems { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountAutomationItems)) , Some (f) => f (env) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountEnvelopePoints (& self , envelope : * mut root :: TrackEnvelope) -> :: std :: os :: raw :: c_int { match self . pointers . CountEnvelopePoints { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountEnvelopePoints)) , Some (f) => f (envelope) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountEnvelopePointsEx (& self , envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . CountEnvelopePointsEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountEnvelopePointsEx)) , Some (f) => f (envelope , autoitem_idx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountMediaItems (& self , proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int { match self . pointers . CountMediaItems { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountMediaItems)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountProjectMarkers (& self , proj : * mut root :: ReaProject , num_markersOut : * mut :: std :: os :: raw :: c_int , num_regionsOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . CountProjectMarkers { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountProjectMarkers)) , Some (f) => f (proj , num_markersOut , num_regionsOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountSelectedMediaItems (& self , proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int { match self . pointers . CountSelectedMediaItems { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountSelectedMediaItems)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountSelectedTracks (& self , proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int { match self . pointers . CountSelectedTracks { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountSelectedTracks)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountSelectedTracks2 (& self , proj : * mut root :: ReaProject , wantmaster : bool) -> :: std :: os :: raw :: c_int { match self . pointers . CountSelectedTracks2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountSelectedTracks2)) , Some (f) => f (proj , wantmaster) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountTakeEnvelopes (& self , take : * mut root :: MediaItem_Take) -> :: std :: os :: raw :: c_int { match self . pointers . CountTakeEnvelopes { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountTakeEnvelopes)) , Some (f) => f (take) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountTakes (& self , item : * mut root :: MediaItem) -> :: std :: os :: raw :: c_int { match self . pointers . CountTakes { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountTakes)) , Some (f) => f (item) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountTCPFXParms (& self , project : * mut root :: ReaProject , track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int { match self . pointers . CountTCPFXParms { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountTCPFXParms)) , Some (f) => f (project , track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountTempoTimeSigMarkers (& self , proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int { match self . pointers . CountTempoTimeSigMarkers { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountTempoTimeSigMarkers)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountTrackEnvelopes (& self , track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int { match self . pointers . CountTrackEnvelopes { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountTrackEnvelopes)) , Some (f) => f (track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountTrackMediaItems (& self , track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int { match self . pointers . CountTrackMediaItems { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountTrackMediaItems)) , Some (f) => f (track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CountTracks (& self , projOptional : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int { match self . pointers . CountTracks { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CountTracks)) , Some (f) => f (projOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CreateLocalOscHandler (& self , obj : * mut :: std :: os :: raw :: c_void , callback : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void { match self . pointers . CreateLocalOscHandler { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateLocalOscHandler)) , Some (f) => f (obj , callback) , } } pub fn CreateMIDIInput (& self , dev : :: std :: os :: raw :: c_int) -> * mut root :: midi_Input { match self . pointers . CreateMIDIInput { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateMIDIInput)) , Some (f) => f (dev) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CreateMIDIOutput (& self , dev : :: std :: os :: raw :: c_int , streamMode : bool , msoffset100 : * mut :: std :: os :: raw :: c_int) -> * mut root :: midi_Output { match self . pointers . CreateMIDIOutput { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateMIDIOutput)) , Some (f) => f (dev , streamMode , msoffset100) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CreateNewMIDIItemInProj (& self , track : * mut root :: MediaTrack , starttime : f64 , endtime : f64 , qnInOptional : * const bool) -> * mut root :: MediaItem { match self . pointers . CreateNewMIDIItemInProj { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateNewMIDIItemInProj)) , Some (f) => f (track , starttime , endtime , qnInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CreateTakeAudioAccessor (& self , take : * mut root :: MediaItem_Take) -> * mut root :: reaper_functions :: AudioAccessor { match self . pointers . CreateTakeAudioAccessor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateTakeAudioAccessor)) , Some (f) => f (take) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CreateTrackAudioAccessor (& self , track : * mut root :: MediaTrack) -> * mut root :: reaper_functions :: AudioAccessor { match self . pointers . CreateTrackAudioAccessor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateTrackAudioAccessor)) , Some (f) => f (track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CreateTrackSend (& self , tr : * mut root :: MediaTrack , desttrInOptional : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int { match self . pointers . CreateTrackSend { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateTrackSend)) , Some (f) => f (tr , desttrInOptional) , } } pub fn CSurf_FlushUndo (& self , force : bool) { match self . pointers . CSurf_FlushUndo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_FlushUndo)) , Some (f) => f (force) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_GetTouchState (& self , trackid : * mut root :: MediaTrack , isPan : :: std :: os :: raw :: c_int) -> bool { match self . pointers . CSurf_GetTouchState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_GetTouchState)) , Some (f) => f (trackid , isPan) , } } pub fn CSurf_GoEnd (& self) { match self . pointers . CSurf_GoEnd { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_GoEnd)) , Some (f) => f () , } } pub fn CSurf_GoStart (& self) { match self . pointers . CSurf_GoStart { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_GoStart)) , Some (f) => f () , } } pub fn CSurf_NumTracks (& self , mcpView : bool) -> :: std :: os :: raw :: c_int { match self . pointers . CSurf_NumTracks { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_NumTracks)) , Some (f) => f (mcpView) , } } pub fn CSurf_OnArrow (& self , whichdir : :: std :: os :: raw :: c_int , wantzoom : bool) { match self . pointers . CSurf_OnArrow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnArrow)) , Some (f) => f (whichdir , wantzoom) , } } pub fn CSurf_OnFwd (& self , seekplay : :: std :: os :: raw :: c_int) { match self . pointers . CSurf_OnFwd { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnFwd)) , Some (f) => f (seekplay) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnFXChange (& self , trackid : * mut root :: MediaTrack , en : :: std :: os :: raw :: c_int) -> bool { match self . pointers . CSurf_OnFXChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnFXChange)) , Some (f) => f (trackid , en) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnInputMonitorChange (& self , trackid : * mut root :: MediaTrack , monitor : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . CSurf_OnInputMonitorChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnInputMonitorChange)) , Some (f) => f (trackid , monitor) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnInputMonitorChangeEx (& self , trackid : * mut root :: MediaTrack , monitor : :: std :: os :: raw :: c_int , allowgang : bool) -> :: std :: os :: raw :: c_int { match self . pointers . CSurf_OnInputMonitorChangeEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnInputMonitorChangeEx)) , Some (f) => f (trackid , monitor , allowgang) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnMuteChange (& self , trackid : * mut root :: MediaTrack , mute : :: std :: os :: raw :: c_int) -> bool { match self . pointers . CSurf_OnMuteChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnMuteChange)) , Some (f) => f (trackid , mute) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnMuteChangeEx (& self , trackid : * mut root :: MediaTrack , mute : :: std :: os :: raw :: c_int , allowgang : bool) -> bool { match self . pointers . CSurf_OnMuteChangeEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnMuteChangeEx)) , Some (f) => f (trackid , mute , allowgang) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnOscControlMessage (& self , msg : * const :: std :: os :: raw :: c_char , arg : * const f32) { match self . pointers . CSurf_OnOscControlMessage { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnOscControlMessage)) , Some (f) => f (msg , arg) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnOscControlMessage2 (& self , msg : * const :: std :: os :: raw :: c_char , arg : * const f32 , argstr : * const :: std :: os :: raw :: c_char) { match self . pointers . CSurf_OnOscControlMessage2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnOscControlMessage2)) , Some (f) => f (msg , arg , argstr) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnPanChange (& self , trackid : * mut root :: MediaTrack , pan : f64 , relative : bool) -> f64 { match self . pointers . CSurf_OnPanChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnPanChange)) , Some (f) => f (trackid , pan , relative) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnPanChangeEx (& self , trackid : * mut root :: MediaTrack , pan : f64 , relative : bool , allowGang : bool) -> f64 { match self . pointers . CSurf_OnPanChangeEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnPanChangeEx)) , Some (f) => f (trackid , pan , relative , allowGang) , } } pub fn CSurf_OnPause (& self) { match self . pointers . CSurf_OnPause { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnPause)) , Some (f) => f () , } } pub fn CSurf_OnPlay (& self) { match self . pointers . CSurf_OnPlay { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnPlay)) , Some (f) => f () , } } pub fn CSurf_OnPlayRateChange (& self , playrate : f64) { match self . pointers . CSurf_OnPlayRateChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnPlayRateChange)) , Some (f) => f (playrate) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnRecArmChange (& self , trackid : * mut root :: MediaTrack , recarm : :: std :: os :: raw :: c_int) -> bool { match self . pointers . CSurf_OnRecArmChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnRecArmChange)) , Some (f) => f (trackid , recarm) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnRecArmChangeEx (& self , trackid : * mut root :: MediaTrack , recarm : :: std :: os :: raw :: c_int , allowgang : bool) -> bool { match self . pointers . CSurf_OnRecArmChangeEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnRecArmChangeEx)) , Some (f) => f (trackid , recarm , allowgang) , } } pub fn CSurf_OnRecord (& self) { match self . pointers . CSurf_OnRecord { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnRecord)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnRecvPanChange (& self , trackid : * mut root :: MediaTrack , recv_index : :: std :: os :: raw :: c_int , pan : f64 , relative : bool) -> f64 { match self . pointers . CSurf_OnRecvPanChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnRecvPanChange)) , Some (f) => f (trackid , recv_index , pan , relative) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnRecvVolumeChange (& self , trackid : * mut root :: MediaTrack , recv_index : :: std :: os :: raw :: c_int , volume : f64 , relative : bool) -> f64 { match self . pointers . CSurf_OnRecvVolumeChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnRecvVolumeChange)) , Some (f) => f (trackid , recv_index , volume , relative) , } } pub fn CSurf_OnRew (& self , seekplay : :: std :: os :: raw :: c_int) { match self . pointers . CSurf_OnRew { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnRew)) , Some (f) => f (seekplay) , } } pub fn CSurf_OnRewFwd (& self , seekplay : :: std :: os :: raw :: c_int , dir : :: std :: os :: raw :: c_int) { match self . pointers . CSurf_OnRewFwd { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnRewFwd)) , Some (f) => f (seekplay , dir) , } } pub fn CSurf_OnScroll (& self , xdir : :: std :: os :: raw :: c_int , ydir : :: std :: os :: raw :: c_int) { match self . pointers . CSurf_OnScroll { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnScroll)) , Some (f) => f (xdir , ydir) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnSelectedChange (& self , trackid : * mut root :: MediaTrack , selected : :: std :: os :: raw :: c_int) -> bool { match self . pointers . CSurf_OnSelectedChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnSelectedChange)) , Some (f) => f (trackid , selected) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnSendPanChange (& self , trackid : * mut root :: MediaTrack , send_index : :: std :: os :: raw :: c_int , pan : f64 , relative : bool) -> f64 { match self . pointers . CSurf_OnSendPanChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnSendPanChange)) , Some (f) => f (trackid , send_index , pan , relative) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnSendVolumeChange (& self , trackid : * mut root :: MediaTrack , send_index : :: std :: os :: raw :: c_int , volume : f64 , relative : bool) -> f64 { match self . pointers . CSurf_OnSendVolumeChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnSendVolumeChange)) , Some (f) => f (trackid , send_index , volume , relative) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnSoloChange (& self , trackid : * mut root :: MediaTrack , solo : :: std :: os :: raw :: c_int) -> bool { match self . pointers . CSurf_OnSoloChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnSoloChange)) , Some (f) => f (trackid , solo) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnSoloChangeEx (& self , trackid : * mut root :: MediaTrack , solo : :: std :: os :: raw :: c_int , allowgang : bool) -> bool { match self . pointers . CSurf_OnSoloChangeEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnSoloChangeEx)) , Some (f) => f (trackid , solo , allowgang) , } } pub fn CSurf_OnStop (& self) { match self . pointers . CSurf_OnStop { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnStop)) , Some (f) => f () , } } pub fn CSurf_OnTempoChange (& self , bpm : f64) { match self . pointers . CSurf_OnTempoChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnTempoChange)) , Some (f) => f (bpm) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnTrackSelection (& self , trackid : * mut root :: MediaTrack) { match self . pointers . CSurf_OnTrackSelection { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnTrackSelection)) , Some (f) => f (trackid) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnVolumeChange (& self , trackid : * mut root :: MediaTrack , volume : f64 , relative : bool) -> f64 { match self . pointers . CSurf_OnVolumeChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnVolumeChange)) , Some (f) => f (trackid , volume , relative) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnVolumeChangeEx (& self , trackid : * mut root :: MediaTrack , volume : f64 , relative : bool , allowGang : bool) -> f64 { match self . pointers . CSurf_OnVolumeChangeEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnVolumeChangeEx)) , Some (f) => f (trackid , volume , relative , allowGang) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnWidthChange (& self , trackid : * mut root :: MediaTrack , width : f64 , relative : bool) -> f64 { match self . pointers . CSurf_OnWidthChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnWidthChange)) , Some (f) => f (trackid , width , relative) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_OnWidthChangeEx (& self , trackid : * mut root :: MediaTrack , width : f64 , relative : bool , allowGang : bool) -> f64 { match self . pointers . CSurf_OnWidthChangeEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnWidthChangeEx)) , Some (f) => f (trackid , width , relative , allowGang) , } } pub fn CSurf_OnZoom (& self , xdir : :: std :: os :: raw :: c_int , ydir : :: std :: os :: raw :: c_int) { match self . pointers . CSurf_OnZoom { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_OnZoom)) , Some (f) => f (xdir , ydir) , } } pub fn CSurf_ResetAllCachedVolPanStates (& self) { match self . pointers . CSurf_ResetAllCachedVolPanStates { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_ResetAllCachedVolPanStates)) , Some (f) => f () , } } pub fn CSurf_ScrubAmt (& self , amt : f64) { match self . pointers . CSurf_ScrubAmt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_ScrubAmt)) , Some (f) => f (amt) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_SetAutoMode (& self , mode : :: std :: os :: raw :: c_int , ignoresurf : * mut root :: IReaperControlSurface) { match self . pointers . CSurf_SetAutoMode { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_SetAutoMode)) , Some (f) => f (mode , ignoresurf) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_SetPlayState (& self , play : bool , pause : bool , rec : bool , ignoresurf : * mut root :: IReaperControlSurface) { match self . pointers . CSurf_SetPlayState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_SetPlayState)) , Some (f) => f (play , pause , rec , ignoresurf) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_SetRepeatState (& self , rep : bool , ignoresurf : * mut root :: IReaperControlSurface) { match self . pointers . CSurf_SetRepeatState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_SetRepeatState)) , Some (f) => f (rep , ignoresurf) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_SetSurfaceMute (& self , trackid : * mut root :: MediaTrack , mute : bool , ignoresurf : * mut root :: IReaperControlSurface) { match self . pointers . CSurf_SetSurfaceMute { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_SetSurfaceMute)) , Some (f) => f (trackid , mute , ignoresurf) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_SetSurfacePan (& self , trackid : * mut root :: MediaTrack , pan : f64 , ignoresurf : * mut root :: IReaperControlSurface) { match self . pointers . CSurf_SetSurfacePan { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_SetSurfacePan)) , Some (f) => f (trackid , pan , ignoresurf) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_SetSurfaceRecArm (& self , trackid : * mut root :: MediaTrack , recarm : bool , ignoresurf : * mut root :: IReaperControlSurface) { match self . pointers . CSurf_SetSurfaceRecArm { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_SetSurfaceRecArm)) , Some (f) => f (trackid , recarm , ignoresurf) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_SetSurfaceSelected (& self , trackid : * mut root :: MediaTrack , selected : bool , ignoresurf : * mut root :: IReaperControlSurface) { match self . pointers . CSurf_SetSurfaceSelected { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_SetSurfaceSelected)) , Some (f) => f (trackid , selected , ignoresurf) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_SetSurfaceSolo (& self , trackid : * mut root :: MediaTrack , solo : bool , ignoresurf : * mut root :: IReaperControlSurface) { match self . pointers . CSurf_SetSurfaceSolo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_SetSurfaceSolo)) , Some (f) => f (trackid , solo , ignoresurf) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_SetSurfaceVolume (& self , trackid : * mut root :: MediaTrack , volume : f64 , ignoresurf : * mut root :: IReaperControlSurface) { match self . pointers . CSurf_SetSurfaceVolume { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_SetSurfaceVolume)) , Some (f) => f (trackid , volume , ignoresurf) , } } pub fn CSurf_SetTrackListChange (& self) { match self . pointers . CSurf_SetTrackListChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_SetTrackListChange)) , Some (f) => f () , } } pub fn CSurf_TrackFromID (& self , idx : :: std :: os :: raw :: c_int , mcpView : bool) -> * mut root :: MediaTrack { match self . pointers . CSurf_TrackFromID { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_TrackFromID)) , Some (f) => f (idx , mcpView) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CSurf_TrackToID (& self , track : * mut root :: MediaTrack , mcpView : bool) -> :: std :: os :: raw :: c_int { match self . pointers . CSurf_TrackToID { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CSurf_TrackToID)) , Some (f) => f (track , mcpView) , } } pub fn DB2SLIDER (& self , x : f64) -> f64 { match self . pointers . DB2SLIDER { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DB2SLIDER)) , Some (f) => f (x) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteActionShortcut (& self , section : * mut root :: KbdSectionInfo , cmdID : :: std :: os :: raw :: c_int , shortcutidx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . DeleteActionShortcut { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DeleteActionShortcut)) , Some (f) => f (section , cmdID , shortcutidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteEnvelopePointEx (& self , envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , ptidx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . DeleteEnvelopePointEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DeleteEnvelopePointEx)) , Some (f) => f (envelope , autoitem_idx , ptidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteEnvelopePointRange (& self , envelope : * mut root :: TrackEnvelope , time_start : f64 , time_end : f64) -> bool { match self . pointers . DeleteEnvelopePointRange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DeleteEnvelopePointRange)) , Some (f) => f (envelope , time_start , time_end) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteEnvelopePointRangeEx (& self , envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , time_start : f64 , time_end : f64) -> bool { match self . pointers . DeleteEnvelopePointRangeEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DeleteEnvelopePointRangeEx)) , Some (f) => f (envelope , autoitem_idx , time_start , time_end) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteExtState (& self , section : * const :: std :: os :: raw :: c_char , key : * const :: std :: os :: raw :: c_char , persist : bool) { match self . pointers . DeleteExtState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DeleteExtState)) , Some (f) => f (section , key , persist) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteProjectMarker (& self , proj : * mut root :: ReaProject , markrgnindexnumber : :: std :: os :: raw :: c_int , isrgn : bool) -> bool { match self . pointers . DeleteProjectMarker { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DeleteProjectMarker)) , Some (f) => f (proj , markrgnindexnumber , isrgn) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteProjectMarkerByIndex (& self , proj : * mut root :: ReaProject , markrgnidx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . DeleteProjectMarkerByIndex { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DeleteProjectMarkerByIndex)) , Some (f) => f (proj , markrgnidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteTakeMarker (& self , take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . DeleteTakeMarker { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DeleteTakeMarker)) , Some (f) => f (take , idx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteTakeStretchMarkers (& self , take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int , countInOptional : * const :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . DeleteTakeStretchMarkers { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DeleteTakeStretchMarkers)) , Some (f) => f (take , idx , countInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteTempoTimeSigMarker (& self , project : * mut root :: ReaProject , markerindex : :: std :: os :: raw :: c_int) -> bool { match self . pointers . DeleteTempoTimeSigMarker { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DeleteTempoTimeSigMarker)) , Some (f) => f (project , markerindex) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteTrack (& self , tr : * mut root :: MediaTrack) { match self . pointers . DeleteTrack { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DeleteTrack)) , Some (f) => f (tr) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteTrackMediaItem (& self , tr : * mut root :: MediaTrack , it : * mut root :: MediaItem) -> bool { match self . pointers . DeleteTrackMediaItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DeleteTrackMediaItem)) , Some (f) => f (tr , it) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DestroyAudioAccessor (& self , accessor : * mut root :: reaper_functions :: AudioAccessor) { match self . pointers . DestroyAudioAccessor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DestroyAudioAccessor)) , Some (f) => f (accessor) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DestroyLocalOscHandler (& self , local_osc_handler : * mut :: std :: os :: raw :: c_void) { match self . pointers . DestroyLocalOscHandler { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DestroyLocalOscHandler)) , Some (f) => f (local_osc_handler) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DoActionShortcutDialog (& self , hwnd : root :: HWND , section : * mut root :: KbdSectionInfo , cmdID : :: std :: os :: raw :: c_int , shortcutidx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . DoActionShortcutDialog { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DoActionShortcutDialog)) , Some (f) => f (hwnd , section , cmdID , shortcutidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Dock_UpdateDockID (& self , ident_str : * const :: std :: os :: raw :: c_char , whichDock : :: std :: os :: raw :: c_int) { match self . pointers . Dock_UpdateDockID { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Dock_UpdateDockID)) , Some (f) => f (ident_str , whichDock) , } } pub fn DockGetPosition (& self , whichDock : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . DockGetPosition { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DockGetPosition)) , Some (f) => f (whichDock) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DockIsChildOfDock (& self , hwnd : root :: HWND , isFloatingDockerOut : * mut bool) -> :: std :: os :: raw :: c_int { match self . pointers . DockIsChildOfDock { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DockIsChildOfDock)) , Some (f) => f (hwnd , isFloatingDockerOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DockWindowActivate (& self , hwnd : root :: HWND) { match self . pointers . DockWindowActivate { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DockWindowActivate)) , Some (f) => f (hwnd) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DockWindowAdd (& self , hwnd : root :: HWND , name : * const :: std :: os :: raw :: c_char , pos : :: std :: os :: raw :: c_int , allowShow : bool) { match self . pointers . DockWindowAdd { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DockWindowAdd)) , Some (f) => f (hwnd , name , pos , allowShow) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DockWindowAddEx (& self , hwnd : root :: HWND , name : * const :: std :: os :: raw :: c_char , identstr : * const :: std :: os :: raw :: c_char , allowShow : bool) { match self . pointers . DockWindowAddEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DockWindowAddEx)) , Some (f) => f (hwnd , name , identstr , allowShow) , } } pub fn DockWindowRefresh (& self) { match self . pointers . DockWindowRefresh { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DockWindowRefresh)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DockWindowRefreshForHWND (& self , hwnd : root :: HWND) { match self . pointers . DockWindowRefreshForHWND { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DockWindowRefreshForHWND)) , Some (f) => f (hwnd) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DockWindowRemove (& self , hwnd : root :: HWND) { match self . pointers . DockWindowRemove { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DockWindowRemove)) , Some (f) => f (hwnd) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DuplicateCustomizableMenu (& self , srcmenu : * mut :: std :: os :: raw :: c_void , destmenu : * mut :: std :: os :: raw :: c_void) -> bool { match self . pointers . DuplicateCustomizableMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DuplicateCustomizableMenu)) , Some (f) => f (srcmenu , destmenu) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EditTempoTimeSigMarker (& self , project : * mut root :: ReaProject , markerindex : :: std :: os :: raw :: c_int) -> bool { match self . pointers . EditTempoTimeSigMarker { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EditTempoTimeSigMarker)) , Some (f) => f (project , markerindex) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnsureNotCompletelyOffscreen (& self , rInOut : * mut root :: RECT) { match self . pointers . EnsureNotCompletelyOffscreen { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnsureNotCompletelyOffscreen)) , Some (f) => f (rInOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumerateFiles (& self , path : * const :: std :: os :: raw :: c_char , fileindex : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . EnumerateFiles { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumerateFiles)) , Some (f) => f (path , fileindex) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumerateSubdirectories (& self , path : * const :: std :: os :: raw :: c_char , subdirindex : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . EnumerateSubdirectories { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumerateSubdirectories)) , Some (f) => f (path , subdirindex) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumInstalledFX (& self , index : :: std :: os :: raw :: c_int , nameOut : * mut * const :: std :: os :: raw :: c_char , identOut : * mut * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . EnumInstalledFX { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumInstalledFX)) , Some (f) => f (index , nameOut , identOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumPitchShiftModes (& self , mode : :: std :: os :: raw :: c_int , strOut : * mut * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . EnumPitchShiftModes { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumPitchShiftModes)) , Some (f) => f (mode , strOut) , } } pub fn EnumPitchShiftSubModes (& self , mode : :: std :: os :: raw :: c_int , submode : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . EnumPitchShiftSubModes { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumPitchShiftSubModes)) , Some (f) => f (mode , submode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumProjectMarkers (& self , idx : :: std :: os :: raw :: c_int , isrgnOut : * mut bool , posOut : * mut f64 , rgnendOut : * mut f64 , nameOut : * mut * const :: std :: os :: raw :: c_char , markrgnindexnumberOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . EnumProjectMarkers { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumProjectMarkers)) , Some (f) => f (idx , isrgnOut , posOut , rgnendOut , nameOut , markrgnindexnumberOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumProjectMarkers2 (& self , proj : * mut root :: ReaProject , idx : :: std :: os :: raw :: c_int , isrgnOut : * mut bool , posOut : * mut f64 , rgnendOut : * mut f64 , nameOut : * mut * const :: std :: os :: raw :: c_char , markrgnindexnumberOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . EnumProjectMarkers2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumProjectMarkers2)) , Some (f) => f (proj , idx , isrgnOut , posOut , rgnendOut , nameOut , markrgnindexnumberOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumProjectMarkers3 (& self , proj : * mut root :: ReaProject , idx : :: std :: os :: raw :: c_int , isrgnOut : * mut bool , posOut : * mut f64 , rgnendOut : * mut f64 , nameOut : * mut * const :: std :: os :: raw :: c_char , markrgnindexnumberOut : * mut :: std :: os :: raw :: c_int , colorOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . EnumProjectMarkers3 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumProjectMarkers3)) , Some (f) => f (proj , idx , isrgnOut , posOut , rgnendOut , nameOut , markrgnindexnumberOut , colorOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumProjects (& self , idx : :: std :: os :: raw :: c_int , projfnOutOptional : * mut :: std :: os :: raw :: c_char , projfnOutOptional_sz : :: std :: os :: raw :: c_int) -> * mut root :: ReaProject { match self . pointers . EnumProjects { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumProjects)) , Some (f) => f (idx , projfnOutOptional , projfnOutOptional_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumProjExtState (& self , proj : * mut root :: ReaProject , extname : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , keyOutOptional : * mut :: std :: os :: raw :: c_char , keyOutOptional_sz : :: std :: os :: raw :: c_int , valOutOptional : * mut :: std :: os :: raw :: c_char , valOutOptional_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . EnumProjExtState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumProjExtState)) , Some (f) => f (proj , extname , idx , keyOutOptional , keyOutOptional_sz , valOutOptional , valOutOptional_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumRegionRenderMatrix (& self , proj : * mut root :: ReaProject , regionindex : :: std :: os :: raw :: c_int , rendertrack : :: std :: os :: raw :: c_int) -> * mut root :: MediaTrack { match self . pointers . EnumRegionRenderMatrix { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumRegionRenderMatrix)) , Some (f) => f (proj , regionindex , rendertrack) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumTrackMIDIProgramNames (& self , track : :: std :: os :: raw :: c_int , programNumber : :: std :: os :: raw :: c_int , programName : * mut :: std :: os :: raw :: c_char , programName_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . EnumTrackMIDIProgramNames { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumTrackMIDIProgramNames)) , Some (f) => f (track , programNumber , programName , programName_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumTrackMIDIProgramNamesEx (& self , proj : * mut root :: ReaProject , track : * mut root :: MediaTrack , programNumber : :: std :: os :: raw :: c_int , programName : * mut :: std :: os :: raw :: c_char , programName_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . EnumTrackMIDIProgramNamesEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumTrackMIDIProgramNamesEx)) , Some (f) => f (proj , track , programNumber , programName , programName_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Envelope_Evaluate (& self , envelope : * mut root :: TrackEnvelope , time : f64 , samplerate : f64 , samplesRequested : :: std :: os :: raw :: c_int , valueOut : * mut f64 , dVdSOut : * mut f64 , ddVdSOut : * mut f64 , dddVdSOut : * mut f64) -> :: std :: os :: raw :: c_int { match self . pointers . Envelope_Evaluate { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Envelope_Evaluate)) , Some (f) => f (envelope , time , samplerate , samplesRequested , valueOut , dVdSOut , ddVdSOut , dddVdSOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Envelope_FormatValue (& self , env : * mut root :: TrackEnvelope , value : f64 , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) { match self . pointers . Envelope_FormatValue { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Envelope_FormatValue)) , Some (f) => f (env , value , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Envelope_GetParentTake (& self , env : * mut root :: TrackEnvelope , indexOut : * mut :: std :: os :: raw :: c_int , index2Out : * mut :: std :: os :: raw :: c_int) -> * mut root :: MediaItem_Take { match self . pointers . Envelope_GetParentTake { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Envelope_GetParentTake)) , Some (f) => f (env , indexOut , index2Out) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Envelope_GetParentTrack (& self , env : * mut root :: TrackEnvelope , indexOut : * mut :: std :: os :: raw :: c_int , index2Out : * mut :: std :: os :: raw :: c_int) -> * mut root :: MediaTrack { match self . pointers . Envelope_GetParentTrack { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Envelope_GetParentTrack)) , Some (f) => f (env , indexOut , index2Out) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Envelope_SortPoints (& self , envelope : * mut root :: TrackEnvelope) -> bool { match self . pointers . Envelope_SortPoints { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Envelope_SortPoints)) , Some (f) => f (envelope) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Envelope_SortPointsEx (& self , envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . Envelope_SortPointsEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Envelope_SortPointsEx)) , Some (f) => f (envelope , autoitem_idx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ExecProcess (& self , cmdline : * const :: std :: os :: raw :: c_char , timeoutmsec : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . ExecProcess { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ExecProcess)) , Some (f) => f (cmdline , timeoutmsec) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn file_exists (& self , path : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . file_exists { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (file_exists)) , Some (f) => f (path) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn FindTempoTimeSigMarker (& self , project : * mut root :: ReaProject , time : f64) -> :: std :: os :: raw :: c_int { match self . pointers . FindTempoTimeSigMarker { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (FindTempoTimeSigMarker)) , Some (f) => f (project , time) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn format_timestr (& self , tpos : f64 , buf : * mut :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int) { match self . pointers . format_timestr { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (format_timestr)) , Some (f) => f (tpos , buf , buf_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn format_timestr_len (& self , tpos : f64 , buf : * mut :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int , offset : f64 , modeoverride : :: std :: os :: raw :: c_int) { match self . pointers . format_timestr_len { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (format_timestr_len)) , Some (f) => f (tpos , buf , buf_sz , offset , modeoverride) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn format_timestr_pos (& self , tpos : f64 , buf : * mut :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int , modeoverride : :: std :: os :: raw :: c_int) { match self . pointers . format_timestr_pos { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (format_timestr_pos)) , Some (f) => f (tpos , buf , buf_sz , modeoverride) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn FreeHeapPtr (& self , ptr : * mut :: std :: os :: raw :: c_void) { match self . pointers . FreeHeapPtr { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (FreeHeapPtr)) , Some (f) => f (ptr) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn genGuid (& self , g : * mut root :: GUID) { match self . pointers . genGuid { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (genGuid)) , Some (f) => f (g) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn get_config_var (& self , name : * const :: std :: os :: raw :: c_char , szOut : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void { match self . pointers . get_config_var { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (get_config_var)) , Some (f) => f (name , szOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn get_config_var_string (& self , name : * const :: std :: os :: raw :: c_char , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . get_config_var_string { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (get_config_var_string)) , Some (f) => f (name , bufOut , bufOut_sz) , } } pub fn get_ini_file (& self) -> * const :: std :: os :: raw :: c_char { match self . pointers . get_ini_file { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (get_ini_file)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn get_midi_config_var (& self , name : * const :: std :: os :: raw :: c_char , szOut : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void { match self . pointers . get_midi_config_var { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (get_midi_config_var)) , Some (f) => f (name , szOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetActionShortcutDesc (& self , section : * mut root :: KbdSectionInfo , cmdID : :: std :: os :: raw :: c_int , shortcutidx : :: std :: os :: raw :: c_int , descOut : * mut :: std :: os :: raw :: c_char , descOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetActionShortcutDesc { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetActionShortcutDesc)) , Some (f) => f (section , cmdID , shortcutidx , descOut , descOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetActiveTake (& self , item : * mut root :: MediaItem) -> * mut root :: MediaItem_Take { match self . pointers . GetActiveTake { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetActiveTake)) , Some (f) => f (item) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetAllProjectPlayStates (& self , ignoreProject : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int { match self . pointers . GetAllProjectPlayStates { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetAllProjectPlayStates)) , Some (f) => f (ignoreProject) , } } pub fn GetAppVersion (& self) -> * const :: std :: os :: raw :: c_char { match self . pointers . GetAppVersion { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetAppVersion)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetArmedCommand (& self , secOut : * mut :: std :: os :: raw :: c_char , secOut_sz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetArmedCommand { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetArmedCommand)) , Some (f) => f (secOut , secOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetAudioAccessorEndTime (& self , accessor : * mut root :: reaper_functions :: AudioAccessor) -> f64 { match self . pointers . GetAudioAccessorEndTime { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetAudioAccessorEndTime)) , Some (f) => f (accessor) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetAudioAccessorHash (& self , accessor : * mut root :: reaper_functions :: AudioAccessor , hashNeed128 : * mut :: std :: os :: raw :: c_char) { match self . pointers . GetAudioAccessorHash { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetAudioAccessorHash)) , Some (f) => f (accessor , hashNeed128) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetAudioAccessorSamples (& self , accessor : * mut root :: reaper_functions :: AudioAccessor , samplerate : :: std :: os :: raw :: c_int , numchannels : :: std :: os :: raw :: c_int , starttime_sec : f64 , numsamplesperchannel : :: std :: os :: raw :: c_int , samplebuffer : * mut f64) -> :: std :: os :: raw :: c_int { match self . pointers . GetAudioAccessorSamples { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetAudioAccessorSamples)) , Some (f) => f (accessor , samplerate , numchannels , starttime_sec , numsamplesperchannel , samplebuffer) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetAudioAccessorStartTime (& self , accessor : * mut root :: reaper_functions :: AudioAccessor) -> f64 { match self . pointers . GetAudioAccessorStartTime { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetAudioAccessorStartTime)) , Some (f) => f (accessor) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetAudioDeviceInfo (& self , attribute : * const :: std :: os :: raw :: c_char , descOut : * mut :: std :: os :: raw :: c_char , descOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetAudioDeviceInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetAudioDeviceInfo)) , Some (f) => f (attribute , descOut , descOut_sz) , } } pub fn GetColorTheme (& self , idx : :: std :: os :: raw :: c_int , defval : :: std :: os :: raw :: c_int) -> root :: INT_PTR { match self . pointers . GetColorTheme { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetColorTheme)) , Some (f) => f (idx , defval) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetColorThemeStruct (& self , szOut : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void { match self . pointers . GetColorThemeStruct { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetColorThemeStruct)) , Some (f) => f (szOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetConfigWantsDock (& self , ident_str : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { match self . pointers . GetConfigWantsDock { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetConfigWantsDock)) , Some (f) => f (ident_str) , } } pub fn GetContextMenu (& self , idx : :: std :: os :: raw :: c_int) -> root :: HMENU { match self . pointers . GetContextMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetContextMenu)) , Some (f) => f (idx) , } } pub fn GetCurrentProjectInLoadSave (& self) -> * mut root :: ReaProject { match self . pointers . GetCurrentProjectInLoadSave { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetCurrentProjectInLoadSave)) , Some (f) => f () , } } pub fn GetCursorContext (& self) -> :: std :: os :: raw :: c_int { match self . pointers . GetCursorContext { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetCursorContext)) , Some (f) => f () , } } pub fn GetCursorContext2 (& self , want_last_valid : bool) -> :: std :: os :: raw :: c_int { match self . pointers . GetCursorContext2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetCursorContext2)) , Some (f) => f (want_last_valid) , } } pub fn GetCursorPosition (& self) -> f64 { match self . pointers . GetCursorPosition { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetCursorPosition)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetCursorPositionEx (& self , proj : * mut root :: ReaProject) -> f64 { match self . pointers . GetCursorPositionEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetCursorPositionEx)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetDisplayedMediaItemColor (& self , item : * mut root :: MediaItem) -> :: std :: os :: raw :: c_int { match self . pointers . GetDisplayedMediaItemColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetDisplayedMediaItemColor)) , Some (f) => f (item) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetDisplayedMediaItemColor2 (& self , item : * mut root :: MediaItem , take : * mut root :: MediaItem_Take) -> :: std :: os :: raw :: c_int { match self . pointers . GetDisplayedMediaItemColor2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetDisplayedMediaItemColor2)) , Some (f) => f (item , take) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetEnvelopeInfo_Value (& self , env : * mut root :: TrackEnvelope , parmname : * const :: std :: os :: raw :: c_char) -> f64 { match self . pointers . GetEnvelopeInfo_Value { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetEnvelopeInfo_Value)) , Some (f) => f (env , parmname) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetEnvelopeName (& self , env : * mut root :: TrackEnvelope , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetEnvelopeName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetEnvelopeName)) , Some (f) => f (env , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetEnvelopePoint (& self , envelope : * mut root :: TrackEnvelope , ptidx : :: std :: os :: raw :: c_int , timeOut : * mut f64 , valueOut : * mut f64 , shapeOut : * mut :: std :: os :: raw :: c_int , tensionOut : * mut f64 , selectedOut : * mut bool) -> bool { match self . pointers . GetEnvelopePoint { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetEnvelopePoint)) , Some (f) => f (envelope , ptidx , timeOut , valueOut , shapeOut , tensionOut , selectedOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetEnvelopePointByTime (& self , envelope : * mut root :: TrackEnvelope , time : f64) -> :: std :: os :: raw :: c_int { match self . pointers . GetEnvelopePointByTime { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetEnvelopePointByTime)) , Some (f) => f (envelope , time) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetEnvelopePointByTimeEx (& self , envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , time : f64) -> :: std :: os :: raw :: c_int { match self . pointers . GetEnvelopePointByTimeEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetEnvelopePointByTimeEx)) , Some (f) => f (envelope , autoitem_idx , time) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetEnvelopePointEx (& self , envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , ptidx : :: std :: os :: raw :: c_int , timeOut : * mut f64 , valueOut : * mut f64 , shapeOut : * mut :: std :: os :: raw :: c_int , tensionOut : * mut f64 , selectedOut : * mut bool) -> bool { match self . pointers . GetEnvelopePointEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetEnvelopePointEx)) , Some (f) => f (envelope , autoitem_idx , ptidx , timeOut , valueOut , shapeOut , tensionOut , selectedOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetEnvelopeScalingMode (& self , env : * mut root :: TrackEnvelope) -> :: std :: os :: raw :: c_int { match self . pointers . GetEnvelopeScalingMode { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetEnvelopeScalingMode)) , Some (f) => f (env) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetEnvelopeStateChunk (& self , env : * mut root :: TrackEnvelope , strNeedBig : * mut :: std :: os :: raw :: c_char , strNeedBig_sz : :: std :: os :: raw :: c_int , isundoOptional : bool) -> bool { match self . pointers . GetEnvelopeStateChunk { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetEnvelopeStateChunk)) , Some (f) => f (env , strNeedBig , strNeedBig_sz , isundoOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetEnvelopeUIState (& self , env : * mut root :: TrackEnvelope) -> :: std :: os :: raw :: c_int { match self . pointers . GetEnvelopeUIState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetEnvelopeUIState)) , Some (f) => f (env) , } } pub fn GetExePath (& self) -> * const :: std :: os :: raw :: c_char { match self . pointers . GetExePath { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetExePath)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetExtState (& self , section : * const :: std :: os :: raw :: c_char , key : * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char { match self . pointers . GetExtState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetExtState)) , Some (f) => f (section , key) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetFocusedFX (& self , tracknumberOut : * mut :: std :: os :: raw :: c_int , itemnumberOut : * mut :: std :: os :: raw :: c_int , fxnumberOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetFocusedFX { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetFocusedFX)) , Some (f) => f (tracknumberOut , itemnumberOut , fxnumberOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetFocusedFX2 (& self , tracknumberOut : * mut :: std :: os :: raw :: c_int , itemnumberOut : * mut :: std :: os :: raw :: c_int , fxnumberOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetFocusedFX2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetFocusedFX2)) , Some (f) => f (tracknumberOut , itemnumberOut , fxnumberOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetFreeDiskSpaceForRecordPath (& self , proj : * mut root :: ReaProject , pathidx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetFreeDiskSpaceForRecordPath { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetFreeDiskSpaceForRecordPath)) , Some (f) => f (proj , pathidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetFXEnvelope (& self , track : * mut root :: MediaTrack , fxindex : :: std :: os :: raw :: c_int , parameterindex : :: std :: os :: raw :: c_int , create : bool) -> * mut root :: TrackEnvelope { match self . pointers . GetFXEnvelope { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetFXEnvelope)) , Some (f) => f (track , fxindex , parameterindex , create) , } } pub fn GetGlobalAutomationOverride (& self) -> :: std :: os :: raw :: c_int { match self . pointers . GetGlobalAutomationOverride { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetGlobalAutomationOverride)) , Some (f) => f () , } } pub fn GetHZoomLevel (& self) -> f64 { match self . pointers . GetHZoomLevel { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetHZoomLevel)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetIconThemePointer (& self , name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void { match self . pointers . GetIconThemePointer { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetIconThemePointer)) , Some (f) => f (name) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetIconThemePointerForDPI (& self , name : * const :: std :: os :: raw :: c_char , dpisc : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void { match self . pointers . GetIconThemePointerForDPI { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetIconThemePointerForDPI)) , Some (f) => f (name , dpisc) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetIconThemeStruct (& self , szOut : * mut :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void { match self . pointers . GetIconThemeStruct { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetIconThemeStruct)) , Some (f) => f (szOut) , } } pub fn GetInputActivityLevel (& self , input_id : :: std :: os :: raw :: c_int) -> f64 { match self . pointers . GetInputActivityLevel { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetInputActivityLevel)) , Some (f) => f (input_id) , } } pub fn GetInputChannelName (& self , channelIndex : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . GetInputChannelName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetInputChannelName)) , Some (f) => f (channelIndex) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetInputOutputLatency (& self , inputlatencyOut : * mut :: std :: os :: raw :: c_int , outputLatencyOut : * mut :: std :: os :: raw :: c_int) { match self . pointers . GetInputOutputLatency { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetInputOutputLatency)) , Some (f) => f (inputlatencyOut , outputLatencyOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetItemEditingTime2 (& self , which_itemOut : * mut * mut root :: PCM_source , flagsOut : * mut :: std :: os :: raw :: c_int) -> f64 { match self . pointers . GetItemEditingTime2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetItemEditingTime2)) , Some (f) => f (which_itemOut , flagsOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetItemFromPoint (& self , screen_x : :: std :: os :: raw :: c_int , screen_y : :: std :: os :: raw :: c_int , allow_locked : bool , takeOutOptional : * mut * mut root :: MediaItem_Take) -> * mut root :: MediaItem { match self . pointers . GetItemFromPoint { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetItemFromPoint)) , Some (f) => f (screen_x , screen_y , allow_locked , takeOutOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetItemProjectContext (& self , item : * mut root :: MediaItem) -> * mut root :: ReaProject { match self . pointers . GetItemProjectContext { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetItemProjectContext)) , Some (f) => f (item) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetItemStateChunk (& self , item : * mut root :: MediaItem , strNeedBig : * mut :: std :: os :: raw :: c_char , strNeedBig_sz : :: std :: os :: raw :: c_int , isundoOptional : bool) -> bool { match self . pointers . GetItemStateChunk { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetItemStateChunk)) , Some (f) => f (item , strNeedBig , strNeedBig_sz , isundoOptional) , } } pub fn GetLastColorThemeFile (& self) -> * const :: std :: os :: raw :: c_char { match self . pointers . GetLastColorThemeFile { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetLastColorThemeFile)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetLastMarkerAndCurRegion (& self , proj : * mut root :: ReaProject , time : f64 , markeridxOut : * mut :: std :: os :: raw :: c_int , regionidxOut : * mut :: std :: os :: raw :: c_int) { match self . pointers . GetLastMarkerAndCurRegion { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetLastMarkerAndCurRegion)) , Some (f) => f (proj , time , markeridxOut , regionidxOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetLastTouchedFX (& self , tracknumberOut : * mut :: std :: os :: raw :: c_int , fxnumberOut : * mut :: std :: os :: raw :: c_int , paramnumberOut : * mut :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetLastTouchedFX { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetLastTouchedFX)) , Some (f) => f (tracknumberOut , fxnumberOut , paramnumberOut) , } } pub fn GetLastTouchedTrack (& self) -> * mut root :: MediaTrack { match self . pointers . GetLastTouchedTrack { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetLastTouchedTrack)) , Some (f) => f () , } } pub fn GetMainHwnd (& self) -> root :: HWND { match self . pointers . GetMainHwnd { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMainHwnd)) , Some (f) => f () , } } pub fn GetMasterMuteSoloFlags (& self) -> :: std :: os :: raw :: c_int { match self . pointers . GetMasterMuteSoloFlags { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMasterMuteSoloFlags)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMasterTrack (& self , proj : * mut root :: ReaProject) -> * mut root :: MediaTrack { match self . pointers . GetMasterTrack { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMasterTrack)) , Some (f) => f (proj) , } } pub fn GetMasterTrackVisibility (& self) -> :: std :: os :: raw :: c_int { match self . pointers . GetMasterTrackVisibility { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMasterTrackVisibility)) , Some (f) => f () , } } pub fn GetMaxMidiInputs (& self) -> :: std :: os :: raw :: c_int { match self . pointers . GetMaxMidiInputs { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMaxMidiInputs)) , Some (f) => f () , } } pub fn GetMaxMidiOutputs (& self) -> :: std :: os :: raw :: c_int { match self . pointers . GetMaxMidiOutputs { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMaxMidiOutputs)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaFileMetadata (& self , mediaSource : * mut root :: PCM_source , identifier : * const :: std :: os :: raw :: c_char , bufOutNeedBig : * mut :: std :: os :: raw :: c_char , bufOutNeedBig_sz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetMediaFileMetadata { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaFileMetadata)) , Some (f) => f (mediaSource , identifier , bufOutNeedBig , bufOutNeedBig_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaItem (& self , proj : * mut root :: ReaProject , itemidx : :: std :: os :: raw :: c_int) -> * mut root :: MediaItem { match self . pointers . GetMediaItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaItem)) , Some (f) => f (proj , itemidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaItem_Track (& self , item : * mut root :: MediaItem) -> * mut root :: MediaTrack { match self . pointers . GetMediaItem_Track { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaItem_Track)) , Some (f) => f (item) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaItemInfo_Value (& self , item : * mut root :: MediaItem , parmname : * const :: std :: os :: raw :: c_char) -> f64 { match self . pointers . GetMediaItemInfo_Value { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaItemInfo_Value)) , Some (f) => f (item , parmname) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaItemNumTakes (& self , item : * mut root :: MediaItem) -> :: std :: os :: raw :: c_int { match self . pointers . GetMediaItemNumTakes { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaItemNumTakes)) , Some (f) => f (item) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaItemTake (& self , item : * mut root :: MediaItem , tk : :: std :: os :: raw :: c_int) -> * mut root :: MediaItem_Take { match self . pointers . GetMediaItemTake { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaItemTake)) , Some (f) => f (item , tk) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaItemTake_Item (& self , take : * mut root :: MediaItem_Take) -> * mut root :: MediaItem { match self . pointers . GetMediaItemTake_Item { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaItemTake_Item)) , Some (f) => f (take) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaItemTake_Peaks (& self , take : * mut root :: MediaItem_Take , peakrate : f64 , starttime : f64 , numchannels : :: std :: os :: raw :: c_int , numsamplesperchannel : :: std :: os :: raw :: c_int , want_extra_type : :: std :: os :: raw :: c_int , buf : * mut f64) -> :: std :: os :: raw :: c_int { match self . pointers . GetMediaItemTake_Peaks { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaItemTake_Peaks)) , Some (f) => f (take , peakrate , starttime , numchannels , numsamplesperchannel , want_extra_type , buf) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaItemTake_Source (& self , take : * mut root :: MediaItem_Take) -> * mut root :: PCM_source { match self . pointers . GetMediaItemTake_Source { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaItemTake_Source)) , Some (f) => f (take) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaItemTake_Track (& self , take : * mut root :: MediaItem_Take) -> * mut root :: MediaTrack { match self . pointers . GetMediaItemTake_Track { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaItemTake_Track)) , Some (f) => f (take) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaItemTakeByGUID (& self , project : * mut root :: ReaProject , guid : * const root :: GUID) -> * mut root :: MediaItem_Take { match self . pointers . GetMediaItemTakeByGUID { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaItemTakeByGUID)) , Some (f) => f (project , guid) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaItemTakeInfo_Value (& self , take : * mut root :: MediaItem_Take , parmname : * const :: std :: os :: raw :: c_char) -> f64 { match self . pointers . GetMediaItemTakeInfo_Value { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaItemTakeInfo_Value)) , Some (f) => f (take , parmname) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaItemTrack (& self , item : * mut root :: MediaItem) -> * mut root :: MediaTrack { match self . pointers . GetMediaItemTrack { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaItemTrack)) , Some (f) => f (item) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaSourceFileName (& self , source : * mut root :: PCM_source , filenamebufOut : * mut :: std :: os :: raw :: c_char , filenamebufOut_sz : :: std :: os :: raw :: c_int) { match self . pointers . GetMediaSourceFileName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaSourceFileName)) , Some (f) => f (source , filenamebufOut , filenamebufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaSourceLength (& self , source : * mut root :: PCM_source , lengthIsQNOut : * mut bool) -> f64 { match self . pointers . GetMediaSourceLength { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaSourceLength)) , Some (f) => f (source , lengthIsQNOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaSourceNumChannels (& self , source : * mut root :: PCM_source) -> :: std :: os :: raw :: c_int { match self . pointers . GetMediaSourceNumChannels { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaSourceNumChannels)) , Some (f) => f (source) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaSourceParent (& self , src : * mut root :: PCM_source) -> * mut root :: PCM_source { match self . pointers . GetMediaSourceParent { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaSourceParent)) , Some (f) => f (src) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaSourceSampleRate (& self , source : * mut root :: PCM_source) -> :: std :: os :: raw :: c_int { match self . pointers . GetMediaSourceSampleRate { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaSourceSampleRate)) , Some (f) => f (source) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaSourceType (& self , source : * mut root :: PCM_source , typebufOut : * mut :: std :: os :: raw :: c_char , typebufOut_sz : :: std :: os :: raw :: c_int) { match self . pointers . GetMediaSourceType { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaSourceType)) , Some (f) => f (source , typebufOut , typebufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMediaTrackInfo_Value (& self , tr : * mut root :: MediaTrack , parmname : * const :: std :: os :: raw :: c_char) -> f64 { match self . pointers . GetMediaTrackInfo_Value { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMediaTrackInfo_Value)) , Some (f) => f (tr , parmname) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMIDIInputName (& self , dev : :: std :: os :: raw :: c_int , nameout : * mut :: std :: os :: raw :: c_char , nameout_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetMIDIInputName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMIDIInputName)) , Some (f) => f (dev , nameout , nameout_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMIDIOutputName (& self , dev : :: std :: os :: raw :: c_int , nameout : * mut :: std :: os :: raw :: c_char , nameout_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetMIDIOutputName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMIDIOutputName)) , Some (f) => f (dev , nameout , nameout_sz) , } } pub fn GetMixerScroll (& self) -> * mut root :: MediaTrack { match self . pointers . GetMixerScroll { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMixerScroll)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMouseModifier (& self , context : * const :: std :: os :: raw :: c_char , modifier_flag : :: std :: os :: raw :: c_int , actionOut : * mut :: std :: os :: raw :: c_char , actionOut_sz : :: std :: os :: raw :: c_int) { match self . pointers . GetMouseModifier { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMouseModifier)) , Some (f) => f (context , modifier_flag , actionOut , actionOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMousePosition (& self , xOut : * mut :: std :: os :: raw :: c_int , yOut : * mut :: std :: os :: raw :: c_int) { match self . pointers . GetMousePosition { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMousePosition)) , Some (f) => f (xOut , yOut) , } } pub fn GetNumAudioInputs (& self) -> :: std :: os :: raw :: c_int { match self . pointers . GetNumAudioInputs { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetNumAudioInputs)) , Some (f) => f () , } } pub fn GetNumAudioOutputs (& self) -> :: std :: os :: raw :: c_int { match self . pointers . GetNumAudioOutputs { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetNumAudioOutputs)) , Some (f) => f () , } } pub fn GetNumMIDIInputs (& self) -> :: std :: os :: raw :: c_int { match self . pointers . GetNumMIDIInputs { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetNumMIDIInputs)) , Some (f) => f () , } } pub fn GetNumMIDIOutputs (& self) -> :: std :: os :: raw :: c_int { match self . pointers . GetNumMIDIOutputs { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetNumMIDIOutputs)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetNumTakeMarkers (& self , take : * mut root :: MediaItem_Take) -> :: std :: os :: raw :: c_int { match self . pointers . GetNumTakeMarkers { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetNumTakeMarkers)) , Some (f) => f (take) , } } pub fn GetNumTracks (& self) -> :: std :: os :: raw :: c_int { match self . pointers . GetNumTracks { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetNumTracks)) , Some (f) => f () , } } pub fn GetOS (& self) -> * const :: std :: os :: raw :: c_char { match self . pointers . GetOS { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetOS)) , Some (f) => f () , } } pub fn GetOutputChannelName (& self , channelIndex : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . GetOutputChannelName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetOutputChannelName)) , Some (f) => f (channelIndex) , } } pub fn GetOutputLatency (& self) -> f64 { match self . pointers . GetOutputLatency { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetOutputLatency)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetParentTrack (& self , track : * mut root :: MediaTrack) -> * mut root :: MediaTrack { match self . pointers . GetParentTrack { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetParentTrack)) , Some (f) => f (track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetPeakFileName (& self , fn_ : * const :: std :: os :: raw :: c_char , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) { match self . pointers . GetPeakFileName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPeakFileName)) , Some (f) => f (fn_ , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetPeakFileNameEx (& self , fn_ : * const :: std :: os :: raw :: c_char , buf : * mut :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int , forWrite : bool) { match self . pointers . GetPeakFileNameEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPeakFileNameEx)) , Some (f) => f (fn_ , buf , buf_sz , forWrite) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetPeakFileNameEx2 (& self , fn_ : * const :: std :: os :: raw :: c_char , buf : * mut :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int , forWrite : bool , peaksfileextension : * const :: std :: os :: raw :: c_char) { match self . pointers . GetPeakFileNameEx2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPeakFileNameEx2)) , Some (f) => f (fn_ , buf , buf_sz , forWrite , peaksfileextension) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetPeaksBitmap (& self , pks : * mut root :: PCM_source_peaktransfer_t , maxamp : f64 , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , bmp : * mut root :: reaper_functions :: LICE_IBitmap) -> * mut :: std :: os :: raw :: c_void { match self . pointers . GetPeaksBitmap { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPeaksBitmap)) , Some (f) => f (pks , maxamp , w , h , bmp) , } } pub fn GetPlayPosition (& self) -> f64 { match self . pointers . GetPlayPosition { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPlayPosition)) , Some (f) => f () , } } pub fn GetPlayPosition2 (& self) -> f64 { match self . pointers . GetPlayPosition2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPlayPosition2)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetPlayPosition2Ex (& self , proj : * mut root :: ReaProject) -> f64 { match self . pointers . GetPlayPosition2Ex { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPlayPosition2Ex)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetPlayPositionEx (& self , proj : * mut root :: ReaProject) -> f64 { match self . pointers . GetPlayPositionEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPlayPositionEx)) , Some (f) => f (proj) , } } pub fn GetPlayState (& self) -> :: std :: os :: raw :: c_int { match self . pointers . GetPlayState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPlayState)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetPlayStateEx (& self , proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int { match self . pointers . GetPlayStateEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPlayStateEx)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetPreferredDiskReadMode (& self , mode : * mut :: std :: os :: raw :: c_int , nb : * mut :: std :: os :: raw :: c_int , bs : * mut :: std :: os :: raw :: c_int) { match self . pointers . GetPreferredDiskReadMode { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPreferredDiskReadMode)) , Some (f) => f (mode , nb , bs) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetPreferredDiskReadModePeak (& self , mode : * mut :: std :: os :: raw :: c_int , nb : * mut :: std :: os :: raw :: c_int , bs : * mut :: std :: os :: raw :: c_int) { match self . pointers . GetPreferredDiskReadModePeak { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPreferredDiskReadModePeak)) , Some (f) => f (mode , nb , bs) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetPreferredDiskWriteMode (& self , mode : * mut :: std :: os :: raw :: c_int , nb : * mut :: std :: os :: raw :: c_int , bs : * mut :: std :: os :: raw :: c_int) { match self . pointers . GetPreferredDiskWriteMode { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPreferredDiskWriteMode)) , Some (f) => f (mode , nb , bs) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetProjectLength (& self , proj : * mut root :: ReaProject) -> f64 { match self . pointers . GetProjectLength { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetProjectLength)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetProjectName (& self , proj : * mut root :: ReaProject , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) { match self . pointers . GetProjectName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetProjectName)) , Some (f) => f (proj , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetProjectPath (& self , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) { match self . pointers . GetProjectPath { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetProjectPath)) , Some (f) => f (bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetProjectPathEx (& self , proj : * mut root :: ReaProject , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) { match self . pointers . GetProjectPathEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetProjectPathEx)) , Some (f) => f (proj , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetProjectStateChangeCount (& self , proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int { match self . pointers . GetProjectStateChangeCount { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetProjectStateChangeCount)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetProjectTimeOffset (& self , proj : * mut root :: ReaProject , rndframe : bool) -> f64 { match self . pointers . GetProjectTimeOffset { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetProjectTimeOffset)) , Some (f) => f (proj , rndframe) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetProjectTimeSignature (& self , bpmOut : * mut f64 , bpiOut : * mut f64) { match self . pointers . GetProjectTimeSignature { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetProjectTimeSignature)) , Some (f) => f (bpmOut , bpiOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetProjectTimeSignature2 (& self , proj : * mut root :: ReaProject , bpmOut : * mut f64 , bpiOut : * mut f64) { match self . pointers . GetProjectTimeSignature2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetProjectTimeSignature2)) , Some (f) => f (proj , bpmOut , bpiOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetProjExtState (& self , proj : * mut root :: ReaProject , extname : * const :: std :: os :: raw :: c_char , key : * const :: std :: os :: raw :: c_char , valOutNeedBig : * mut :: std :: os :: raw :: c_char , valOutNeedBig_sz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetProjExtState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetProjExtState)) , Some (f) => f (proj , extname , key , valOutNeedBig , valOutNeedBig_sz) , } } pub fn GetResourcePath (& self) -> * const :: std :: os :: raw :: c_char { match self . pointers . GetResourcePath { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetResourcePath)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSelectedEnvelope (& self , proj : * mut root :: ReaProject) -> * mut root :: TrackEnvelope { match self . pointers . GetSelectedEnvelope { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSelectedEnvelope)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSelectedMediaItem (& self , proj : * mut root :: ReaProject , selitem : :: std :: os :: raw :: c_int) -> * mut root :: MediaItem { match self . pointers . GetSelectedMediaItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSelectedMediaItem)) , Some (f) => f (proj , selitem) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSelectedTrack (& self , proj : * mut root :: ReaProject , seltrackidx : :: std :: os :: raw :: c_int) -> * mut root :: MediaTrack { match self . pointers . GetSelectedTrack { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSelectedTrack)) , Some (f) => f (proj , seltrackidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSelectedTrack2 (& self , proj : * mut root :: ReaProject , seltrackidx : :: std :: os :: raw :: c_int , wantmaster : bool) -> * mut root :: MediaTrack { match self . pointers . GetSelectedTrack2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSelectedTrack2)) , Some (f) => f (proj , seltrackidx , wantmaster) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSelectedTrackEnvelope (& self , proj : * mut root :: ReaProject) -> * mut root :: TrackEnvelope { match self . pointers . GetSelectedTrackEnvelope { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSelectedTrackEnvelope)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSet_ArrangeView2 (& self , proj : * mut root :: ReaProject , isSet : bool , screen_x_start : :: std :: os :: raw :: c_int , screen_x_end : :: std :: os :: raw :: c_int , start_timeInOut : * mut f64 , end_timeInOut : * mut f64) { match self . pointers . GetSet_ArrangeView2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSet_ArrangeView2)) , Some (f) => f (proj , isSet , screen_x_start , screen_x_end , start_timeInOut , end_timeInOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSet_LoopTimeRange (& self , isSet : bool , isLoop : bool , startOut : * mut f64 , endOut : * mut f64 , allowautoseek : bool) { match self . pointers . GetSet_LoopTimeRange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSet_LoopTimeRange)) , Some (f) => f (isSet , isLoop , startOut , endOut , allowautoseek) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSet_LoopTimeRange2 (& self , proj : * mut root :: ReaProject , isSet : bool , isLoop : bool , startOut : * mut f64 , endOut : * mut f64 , allowautoseek : bool) { match self . pointers . GetSet_LoopTimeRange2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSet_LoopTimeRange2)) , Some (f) => f (proj , isSet , isLoop , startOut , endOut , allowautoseek) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetAutomationItemInfo (& self , env : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , desc : * const :: std :: os :: raw :: c_char , value : f64 , is_set : bool) -> f64 { match self . pointers . GetSetAutomationItemInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetAutomationItemInfo)) , Some (f) => f (env , autoitem_idx , desc , value , is_set) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetAutomationItemInfo_String (& self , env : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , desc : * const :: std :: os :: raw :: c_char , valuestrNeedBig : * mut :: std :: os :: raw :: c_char , is_set : bool) -> bool { match self . pointers . GetSetAutomationItemInfo_String { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetAutomationItemInfo_String)) , Some (f) => f (env , autoitem_idx , desc , valuestrNeedBig , is_set) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetEnvelopeInfo_String (& self , env : * mut root :: TrackEnvelope , parmname : * const :: std :: os :: raw :: c_char , stringNeedBig : * mut :: std :: os :: raw :: c_char , setNewValue : bool) -> bool { match self . pointers . GetSetEnvelopeInfo_String { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetEnvelopeInfo_String)) , Some (f) => f (env , parmname , stringNeedBig , setNewValue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetEnvelopeState (& self , env : * mut root :: TrackEnvelope , str : * mut :: std :: os :: raw :: c_char , str_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetSetEnvelopeState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetEnvelopeState)) , Some (f) => f (env , str , str_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetEnvelopeState2 (& self , env : * mut root :: TrackEnvelope , str : * mut :: std :: os :: raw :: c_char , str_sz : :: std :: os :: raw :: c_int , isundo : bool) -> bool { match self . pointers . GetSetEnvelopeState2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetEnvelopeState2)) , Some (f) => f (env , str , str_sz , isundo) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetItemState (& self , item : * mut root :: MediaItem , str : * mut :: std :: os :: raw :: c_char , str_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetSetItemState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetItemState)) , Some (f) => f (item , str , str_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetItemState2 (& self , item : * mut root :: MediaItem , str : * mut :: std :: os :: raw :: c_char , str_sz : :: std :: os :: raw :: c_int , isundo : bool) -> bool { match self . pointers . GetSetItemState2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetItemState2)) , Some (f) => f (item , str , str_sz , isundo) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetMediaItemInfo (& self , item : * mut root :: MediaItem , parmname : * const :: std :: os :: raw :: c_char , setNewValue : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void { match self . pointers . GetSetMediaItemInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetMediaItemInfo)) , Some (f) => f (item , parmname , setNewValue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetMediaItemInfo_String (& self , item : * mut root :: MediaItem , parmname : * const :: std :: os :: raw :: c_char , stringNeedBig : * mut :: std :: os :: raw :: c_char , setNewValue : bool) -> bool { match self . pointers . GetSetMediaItemInfo_String { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetMediaItemInfo_String)) , Some (f) => f (item , parmname , stringNeedBig , setNewValue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetMediaItemTakeInfo (& self , tk : * mut root :: MediaItem_Take , parmname : * const :: std :: os :: raw :: c_char , setNewValue : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void { match self . pointers . GetSetMediaItemTakeInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetMediaItemTakeInfo)) , Some (f) => f (tk , parmname , setNewValue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetMediaItemTakeInfo_String (& self , tk : * mut root :: MediaItem_Take , parmname : * const :: std :: os :: raw :: c_char , stringNeedBig : * mut :: std :: os :: raw :: c_char , setNewValue : bool) -> bool { match self . pointers . GetSetMediaItemTakeInfo_String { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetMediaItemTakeInfo_String)) , Some (f) => f (tk , parmname , stringNeedBig , setNewValue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetMediaTrackInfo (& self , tr : * mut root :: MediaTrack , parmname : * const :: std :: os :: raw :: c_char , setNewValue : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void { match self . pointers . GetSetMediaTrackInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetMediaTrackInfo)) , Some (f) => f (tr , parmname , setNewValue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetMediaTrackInfo_String (& self , tr : * mut root :: MediaTrack , parmname : * const :: std :: os :: raw :: c_char , stringNeedBig : * mut :: std :: os :: raw :: c_char , setNewValue : bool) -> bool { match self . pointers . GetSetMediaTrackInfo_String { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetMediaTrackInfo_String)) , Some (f) => f (tr , parmname , stringNeedBig , setNewValue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetObjectState (& self , obj : * mut :: std :: os :: raw :: c_void , str : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char { match self . pointers . GetSetObjectState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetObjectState)) , Some (f) => f (obj , str) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetObjectState2 (& self , obj : * mut :: std :: os :: raw :: c_void , str : * const :: std :: os :: raw :: c_char , isundo : bool) -> * mut :: std :: os :: raw :: c_char { match self . pointers . GetSetObjectState2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetObjectState2)) , Some (f) => f (obj , str , isundo) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetProjectAuthor (& self , proj : * mut root :: ReaProject , set : bool , author : * mut :: std :: os :: raw :: c_char , author_sz : :: std :: os :: raw :: c_int) { match self . pointers . GetSetProjectAuthor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetProjectAuthor)) , Some (f) => f (proj , set , author , author_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetProjectGrid (& self , project : * mut root :: ReaProject , set : bool , divisionInOutOptional : * mut f64 , swingmodeInOutOptional : * mut :: std :: os :: raw :: c_int , swingamtInOutOptional : * mut f64) -> :: std :: os :: raw :: c_int { match self . pointers . GetSetProjectGrid { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetProjectGrid)) , Some (f) => f (project , set , divisionInOutOptional , swingmodeInOutOptional , swingamtInOutOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetProjectInfo (& self , project : * mut root :: ReaProject , desc : * const :: std :: os :: raw :: c_char , value : f64 , is_set : bool) -> f64 { match self . pointers . GetSetProjectInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetProjectInfo)) , Some (f) => f (project , desc , value , is_set) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetProjectInfo_String (& self , project : * mut root :: ReaProject , desc : * const :: std :: os :: raw :: c_char , valuestrNeedBig : * mut :: std :: os :: raw :: c_char , is_set : bool) -> bool { match self . pointers . GetSetProjectInfo_String { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetProjectInfo_String)) , Some (f) => f (project , desc , valuestrNeedBig , is_set) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetProjectNotes (& self , proj : * mut root :: ReaProject , set : bool , notesNeedBig : * mut :: std :: os :: raw :: c_char , notesNeedBig_sz : :: std :: os :: raw :: c_int) { match self . pointers . GetSetProjectNotes { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetProjectNotes)) , Some (f) => f (proj , set , notesNeedBig , notesNeedBig_sz) , } } pub fn GetSetRepeat (& self , val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetSetRepeat { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetRepeat)) , Some (f) => f (val) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetRepeatEx (& self , proj : * mut root :: ReaProject , val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetSetRepeatEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetRepeatEx)) , Some (f) => f (proj , val) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetTempoTimeSigMarkerFlag (& self , project : * mut root :: ReaProject , point_index : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int , is_set : bool) -> :: std :: os :: raw :: c_int { match self . pointers . GetSetTempoTimeSigMarkerFlag { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetTempoTimeSigMarkerFlag)) , Some (f) => f (project , point_index , flag , is_set) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetTrackGroupMembership (& self , tr : * mut root :: MediaTrack , groupname : * const :: std :: os :: raw :: c_char , setmask : :: std :: os :: raw :: c_uint , setvalue : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_uint { match self . pointers . GetSetTrackGroupMembership { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetTrackGroupMembership)) , Some (f) => f (tr , groupname , setmask , setvalue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetTrackGroupMembershipEx (& self , tr : * mut root :: MediaTrack , groupname : * const :: std :: os :: raw :: c_char , offset : :: std :: os :: raw :: c_int , setmask : :: std :: os :: raw :: c_uint , setvalue : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_uint { match self . pointers . GetSetTrackGroupMembershipEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetTrackGroupMembershipEx)) , Some (f) => f (tr , groupname , offset , setmask , setvalue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetTrackGroupMembershipHigh (& self , tr : * mut root :: MediaTrack , groupname : * const :: std :: os :: raw :: c_char , setmask : :: std :: os :: raw :: c_uint , setvalue : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_uint { match self . pointers . GetSetTrackGroupMembershipHigh { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetTrackGroupMembershipHigh)) , Some (f) => f (tr , groupname , setmask , setvalue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetTrackMIDISupportFile (& self , proj : * mut root :: ReaProject , track : * mut root :: MediaTrack , which : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char { match self . pointers . GetSetTrackMIDISupportFile { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetTrackMIDISupportFile)) , Some (f) => f (proj , track , which , filename) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetTrackSendInfo (& self , tr : * mut root :: MediaTrack , category : :: std :: os :: raw :: c_int , sendidx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char , setNewValue : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void { match self . pointers . GetSetTrackSendInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetTrackSendInfo)) , Some (f) => f (tr , category , sendidx , parmname , setNewValue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetTrackSendInfo_String (& self , tr : * mut root :: MediaTrack , category : :: std :: os :: raw :: c_int , sendidx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char , stringNeedBig : * mut :: std :: os :: raw :: c_char , setNewValue : bool) -> bool { match self . pointers . GetSetTrackSendInfo_String { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetTrackSendInfo_String)) , Some (f) => f (tr , category , sendidx , parmname , stringNeedBig , setNewValue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetTrackState (& self , track : * mut root :: MediaTrack , str : * mut :: std :: os :: raw :: c_char , str_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetSetTrackState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetTrackState)) , Some (f) => f (track , str , str_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSetTrackState2 (& self , track : * mut root :: MediaTrack , str : * mut :: std :: os :: raw :: c_char , str_sz : :: std :: os :: raw :: c_int , isundo : bool) -> bool { match self . pointers . GetSetTrackState2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSetTrackState2)) , Some (f) => f (track , str , str_sz , isundo) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSubProjectFromSource (& self , src : * mut root :: PCM_source) -> * mut root :: ReaProject { match self . pointers . GetSubProjectFromSource { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSubProjectFromSource)) , Some (f) => f (src) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTake (& self , item : * mut root :: MediaItem , takeidx : :: std :: os :: raw :: c_int) -> * mut root :: MediaItem_Take { match self . pointers . GetTake { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTake)) , Some (f) => f (item , takeidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTakeEnvelope (& self , take : * mut root :: MediaItem_Take , envidx : :: std :: os :: raw :: c_int) -> * mut root :: TrackEnvelope { match self . pointers . GetTakeEnvelope { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTakeEnvelope)) , Some (f) => f (take , envidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTakeEnvelopeByName (& self , take : * mut root :: MediaItem_Take , envname : * const :: std :: os :: raw :: c_char) -> * mut root :: TrackEnvelope { match self . pointers . GetTakeEnvelopeByName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTakeEnvelopeByName)) , Some (f) => f (take , envname) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTakeMarker (& self , take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int , nameOut : * mut :: std :: os :: raw :: c_char , nameOut_sz : :: std :: os :: raw :: c_int , colorOutOptional : * mut :: std :: os :: raw :: c_int) -> f64 { match self . pointers . GetTakeMarker { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTakeMarker)) , Some (f) => f (take , idx , nameOut , nameOut_sz , colorOutOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTakeName (& self , take : * mut root :: MediaItem_Take) -> * const :: std :: os :: raw :: c_char { match self . pointers . GetTakeName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTakeName)) , Some (f) => f (take) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTakeNumStretchMarkers (& self , take : * mut root :: MediaItem_Take) -> :: std :: os :: raw :: c_int { match self . pointers . GetTakeNumStretchMarkers { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTakeNumStretchMarkers)) , Some (f) => f (take) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTakeStretchMarker (& self , take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int , posOut : * mut f64 , srcposOutOptional : * mut f64) -> :: std :: os :: raw :: c_int { match self . pointers . GetTakeStretchMarker { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTakeStretchMarker)) , Some (f) => f (take , idx , posOut , srcposOutOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTakeStretchMarkerSlope (& self , take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int) -> f64 { match self . pointers . GetTakeStretchMarkerSlope { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTakeStretchMarkerSlope)) , Some (f) => f (take , idx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTCPFXParm (& self , project : * mut root :: ReaProject , track : * mut root :: MediaTrack , index : :: std :: os :: raw :: c_int , fxindexOut : * mut :: std :: os :: raw :: c_int , parmidxOut : * mut :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetTCPFXParm { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTCPFXParm)) , Some (f) => f (project , track , index , fxindexOut , parmidxOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTempoMatchPlayRate (& self , source : * mut root :: PCM_source , srcscale : f64 , position : f64 , mult : f64 , rateOut : * mut f64 , targetlenOut : * mut f64) -> bool { match self . pointers . GetTempoMatchPlayRate { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTempoMatchPlayRate)) , Some (f) => f (source , srcscale , position , mult , rateOut , targetlenOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTempoTimeSigMarker (& self , proj : * mut root :: ReaProject , ptidx : :: std :: os :: raw :: c_int , timeposOut : * mut f64 , measureposOut : * mut :: std :: os :: raw :: c_int , beatposOut : * mut f64 , bpmOut : * mut f64 , timesig_numOut : * mut :: std :: os :: raw :: c_int , timesig_denomOut : * mut :: std :: os :: raw :: c_int , lineartempoOut : * mut bool) -> bool { match self . pointers . GetTempoTimeSigMarker { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTempoTimeSigMarker)) , Some (f) => f (proj , ptidx , timeposOut , measureposOut , beatposOut , bpmOut , timesig_numOut , timesig_denomOut , lineartempoOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetThemeColor (& self , ini_key : * const :: std :: os :: raw :: c_char , flagsOptional : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetThemeColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetThemeColor)) , Some (f) => f (ini_key , flagsOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetThingFromPoint (& self , screen_x : :: std :: os :: raw :: c_int , screen_y : :: std :: os :: raw :: c_int , infoOut : * mut :: std :: os :: raw :: c_char , infoOut_sz : :: std :: os :: raw :: c_int) -> * mut root :: MediaTrack { match self . pointers . GetThingFromPoint { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetThingFromPoint)) , Some (f) => f (screen_x , screen_y , infoOut , infoOut_sz) , } } pub fn GetToggleCommandState (& self , command_id : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetToggleCommandState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetToggleCommandState)) , Some (f) => f (command_id) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetToggleCommandState2 (& self , section : * mut root :: KbdSectionInfo , command_id : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetToggleCommandState2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetToggleCommandState2)) , Some (f) => f (section , command_id) , } } pub fn GetToggleCommandStateEx (& self , section_id : :: std :: os :: raw :: c_int , command_id : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetToggleCommandStateEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetToggleCommandStateEx)) , Some (f) => f (section_id , command_id) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetToggleCommandStateThroughHooks (& self , section : * mut root :: KbdSectionInfo , command_id : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetToggleCommandStateThroughHooks { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetToggleCommandStateThroughHooks)) , Some (f) => f (section , command_id) , } } pub fn GetTooltipWindow (& self) -> root :: HWND { match self . pointers . GetTooltipWindow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTooltipWindow)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTouchedOrFocusedFX (& self , mode : :: std :: os :: raw :: c_int , trackidxOut : * mut :: std :: os :: raw :: c_int , itemidxOut : * mut :: std :: os :: raw :: c_int , takeidxOut : * mut :: std :: os :: raw :: c_int , fxidxOut : * mut :: std :: os :: raw :: c_int , parmOut : * mut :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetTouchedOrFocusedFX { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTouchedOrFocusedFX)) , Some (f) => f (mode , trackidxOut , itemidxOut , takeidxOut , fxidxOut , parmOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrack (& self , proj : * mut root :: ReaProject , trackidx : :: std :: os :: raw :: c_int) -> * mut root :: MediaTrack { match self . pointers . GetTrack { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrack)) , Some (f) => f (proj , trackidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackAutomationMode (& self , tr : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int { match self . pointers . GetTrackAutomationMode { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackAutomationMode)) , Some (f) => f (tr) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackColor (& self , track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int { match self . pointers . GetTrackColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackColor)) , Some (f) => f (track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackDepth (& self , track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int { match self . pointers . GetTrackDepth { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackDepth)) , Some (f) => f (track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackEnvelope (& self , track : * mut root :: MediaTrack , envidx : :: std :: os :: raw :: c_int) -> * mut root :: TrackEnvelope { match self . pointers . GetTrackEnvelope { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackEnvelope)) , Some (f) => f (track , envidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackEnvelopeByChunkName (& self , tr : * mut root :: MediaTrack , cfgchunkname_or_guid : * const :: std :: os :: raw :: c_char) -> * mut root :: TrackEnvelope { match self . pointers . GetTrackEnvelopeByChunkName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackEnvelopeByChunkName)) , Some (f) => f (tr , cfgchunkname_or_guid) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackEnvelopeByName (& self , track : * mut root :: MediaTrack , envname : * const :: std :: os :: raw :: c_char) -> * mut root :: TrackEnvelope { match self . pointers . GetTrackEnvelopeByName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackEnvelopeByName)) , Some (f) => f (track , envname) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackFromPoint (& self , screen_x : :: std :: os :: raw :: c_int , screen_y : :: std :: os :: raw :: c_int , infoOutOptional : * mut :: std :: os :: raw :: c_int) -> * mut root :: MediaTrack { match self . pointers . GetTrackFromPoint { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackFromPoint)) , Some (f) => f (screen_x , screen_y , infoOutOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackGUID (& self , tr : * mut root :: MediaTrack) -> * mut root :: GUID { match self . pointers . GetTrackGUID { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackGUID)) , Some (f) => f (tr) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackInfo (& self , track : root :: INT_PTR , flags : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . GetTrackInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackInfo)) , Some (f) => f (track , flags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackMediaItem (& self , tr : * mut root :: MediaTrack , itemidx : :: std :: os :: raw :: c_int) -> * mut root :: MediaItem { match self . pointers . GetTrackMediaItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackMediaItem)) , Some (f) => f (tr , itemidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackMIDILyrics (& self , track : * mut root :: MediaTrack , flag : :: std :: os :: raw :: c_int , bufOutWantNeedBig : * mut :: std :: os :: raw :: c_char , bufOutWantNeedBig_sz : * mut :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetTrackMIDILyrics { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackMIDILyrics)) , Some (f) => f (track , flag , bufOutWantNeedBig , bufOutWantNeedBig_sz) , } } pub fn GetTrackMIDINoteName (& self , track : :: std :: os :: raw :: c_int , pitch : :: std :: os :: raw :: c_int , chan : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . GetTrackMIDINoteName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackMIDINoteName)) , Some (f) => f (track , pitch , chan) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackMIDINoteNameEx (& self , proj : * mut root :: ReaProject , track : * mut root :: MediaTrack , pitch : :: std :: os :: raw :: c_int , chan : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . GetTrackMIDINoteNameEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackMIDINoteNameEx)) , Some (f) => f (proj , track , pitch , chan) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackMIDINoteRange (& self , proj : * mut root :: ReaProject , track : * mut root :: MediaTrack , note_loOut : * mut :: std :: os :: raw :: c_int , note_hiOut : * mut :: std :: os :: raw :: c_int) { match self . pointers . GetTrackMIDINoteRange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackMIDINoteRange)) , Some (f) => f (proj , track , note_loOut , note_hiOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackName (& self , track : * mut root :: MediaTrack , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetTrackName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackName)) , Some (f) => f (track , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackNumMediaItems (& self , tr : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int { match self . pointers . GetTrackNumMediaItems { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackNumMediaItems)) , Some (f) => f (tr) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackNumSends (& self , tr : * mut root :: MediaTrack , category : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetTrackNumSends { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackNumSends)) , Some (f) => f (tr , category) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackReceiveName (& self , track : * mut root :: MediaTrack , recv_index : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetTrackReceiveName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackReceiveName)) , Some (f) => f (track , recv_index , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackReceiveUIMute (& self , track : * mut root :: MediaTrack , recv_index : :: std :: os :: raw :: c_int , muteOut : * mut bool) -> bool { match self . pointers . GetTrackReceiveUIMute { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackReceiveUIMute)) , Some (f) => f (track , recv_index , muteOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackReceiveUIVolPan (& self , track : * mut root :: MediaTrack , recv_index : :: std :: os :: raw :: c_int , volumeOut : * mut f64 , panOut : * mut f64) -> bool { match self . pointers . GetTrackReceiveUIVolPan { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackReceiveUIVolPan)) , Some (f) => f (track , recv_index , volumeOut , panOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackSendInfo_Value (& self , tr : * mut root :: MediaTrack , category : :: std :: os :: raw :: c_int , sendidx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char) -> f64 { match self . pointers . GetTrackSendInfo_Value { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackSendInfo_Value)) , Some (f) => f (tr , category , sendidx , parmname) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackSendName (& self , track : * mut root :: MediaTrack , send_index : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetTrackSendName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackSendName)) , Some (f) => f (track , send_index , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackSendUIMute (& self , track : * mut root :: MediaTrack , send_index : :: std :: os :: raw :: c_int , muteOut : * mut bool) -> bool { match self . pointers . GetTrackSendUIMute { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackSendUIMute)) , Some (f) => f (track , send_index , muteOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackSendUIVolPan (& self , track : * mut root :: MediaTrack , send_index : :: std :: os :: raw :: c_int , volumeOut : * mut f64 , panOut : * mut f64) -> bool { match self . pointers . GetTrackSendUIVolPan { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackSendUIVolPan)) , Some (f) => f (track , send_index , volumeOut , panOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackState (& self , track : * mut root :: MediaTrack , flagsOut : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . GetTrackState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackState)) , Some (f) => f (track , flagsOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackStateChunk (& self , track : * mut root :: MediaTrack , strNeedBig : * mut :: std :: os :: raw :: c_char , strNeedBig_sz : :: std :: os :: raw :: c_int , isundoOptional : bool) -> bool { match self . pointers . GetTrackStateChunk { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackStateChunk)) , Some (f) => f (track , strNeedBig , strNeedBig_sz , isundoOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackUIMute (& self , track : * mut root :: MediaTrack , muteOut : * mut bool) -> bool { match self . pointers . GetTrackUIMute { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackUIMute)) , Some (f) => f (track , muteOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackUIPan (& self , track : * mut root :: MediaTrack , pan1Out : * mut f64 , pan2Out : * mut f64 , panmodeOut : * mut :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetTrackUIPan { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackUIPan)) , Some (f) => f (track , pan1Out , pan2Out , panmodeOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTrackUIVolPan (& self , track : * mut root :: MediaTrack , volumeOut : * mut f64 , panOut : * mut f64) -> bool { match self . pointers . GetTrackUIVolPan { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTrackUIVolPan)) , Some (f) => f (track , volumeOut , panOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetUnderrunTime (& self , audio_xrunOut : * mut :: std :: os :: raw :: c_uint , media_xrunOut : * mut :: std :: os :: raw :: c_uint , curtimeOut : * mut :: std :: os :: raw :: c_uint) { match self . pointers . GetUnderrunTime { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetUnderrunTime)) , Some (f) => f (audio_xrunOut , media_xrunOut , curtimeOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetUserFileNameForRead (& self , filenameNeed4096 : * mut :: std :: os :: raw :: c_char , title : * const :: std :: os :: raw :: c_char , defext : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . GetUserFileNameForRead { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetUserFileNameForRead)) , Some (f) => f (filenameNeed4096 , title , defext) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetUserInputs (& self , title : * const :: std :: os :: raw :: c_char , num_inputs : :: std :: os :: raw :: c_int , captions_csv : * const :: std :: os :: raw :: c_char , retvals_csv : * mut :: std :: os :: raw :: c_char , retvals_csv_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . GetUserInputs { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetUserInputs)) , Some (f) => f (title , num_inputs , captions_csv , retvals_csv , retvals_csv_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GoToMarker (& self , proj : * mut root :: ReaProject , marker_index : :: std :: os :: raw :: c_int , use_timeline_order : bool) { match self . pointers . GoToMarker { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GoToMarker)) , Some (f) => f (proj , marker_index , use_timeline_order) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GoToRegion (& self , proj : * mut root :: ReaProject , region_index : :: std :: os :: raw :: c_int , use_timeline_order : bool) { match self . pointers . GoToRegion { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GoToRegion)) , Some (f) => f (proj , region_index , use_timeline_order) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GR_SelectColor (& self , hwnd : root :: HWND , colorOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GR_SelectColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GR_SelectColor)) , Some (f) => f (hwnd , colorOut) , } } pub fn GSC_mainwnd (& self , t : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GSC_mainwnd { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GSC_mainwnd)) , Some (f) => f (t) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn guidToString (& self , g : * const root :: GUID , destNeed64 : * mut :: std :: os :: raw :: c_char) { match self . pointers . guidToString { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (guidToString)) , Some (f) => f (g , destNeed64) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn HasExtState (& self , section : * const :: std :: os :: raw :: c_char , key : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . HasExtState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (HasExtState)) , Some (f) => f (section , key) , } } pub fn HasTrackMIDIPrograms (& self , track : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . HasTrackMIDIPrograms { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (HasTrackMIDIPrograms)) , Some (f) => f (track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn HasTrackMIDIProgramsEx (& self , proj : * mut root :: ReaProject , track : * mut root :: MediaTrack) -> * const :: std :: os :: raw :: c_char { match self . pointers . HasTrackMIDIProgramsEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (HasTrackMIDIProgramsEx)) , Some (f) => f (proj , track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Help_Set (& self , helpstring : * const :: std :: os :: raw :: c_char , is_temporary_help : bool) { match self . pointers . Help_Set { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Help_Set)) , Some (f) => f (helpstring , is_temporary_help) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn HiresPeaksFromSource (& self , src : * mut root :: PCM_source , block : * mut root :: PCM_source_peaktransfer_t) { match self . pointers . HiresPeaksFromSource { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (HiresPeaksFromSource)) , Some (f) => f (src , block) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn image_resolve_fn (& self , in_ : * const :: std :: os :: raw :: c_char , out : * mut :: std :: os :: raw :: c_char , out_sz : :: std :: os :: raw :: c_int) { match self . pointers . image_resolve_fn { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (image_resolve_fn)) , Some (f) => f (in_ , out , out_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn InsertAutomationItem (& self , env : * mut root :: TrackEnvelope , pool_id : :: std :: os :: raw :: c_int , position : f64 , length : f64) -> :: std :: os :: raw :: c_int { match self . pointers . InsertAutomationItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (InsertAutomationItem)) , Some (f) => f (env , pool_id , position , length) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn InsertEnvelopePoint (& self , envelope : * mut root :: TrackEnvelope , time : f64 , value : f64 , shape : :: std :: os :: raw :: c_int , tension : f64 , selected : bool , noSortInOptional : * mut bool) -> bool { match self . pointers . InsertEnvelopePoint { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (InsertEnvelopePoint)) , Some (f) => f (envelope , time , value , shape , tension , selected , noSortInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn InsertEnvelopePointEx (& self , envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , time : f64 , value : f64 , shape : :: std :: os :: raw :: c_int , tension : f64 , selected : bool , noSortInOptional : * mut bool) -> bool { match self . pointers . InsertEnvelopePointEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (InsertEnvelopePointEx)) , Some (f) => f (envelope , autoitem_idx , time , value , shape , tension , selected , noSortInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn InsertMedia (& self , file : * const :: std :: os :: raw :: c_char , mode : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . InsertMedia { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (InsertMedia)) , Some (f) => f (file , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn InsertMediaSection (& self , file : * const :: std :: os :: raw :: c_char , mode : :: std :: os :: raw :: c_int , startpct : f64 , endpct : f64 , pitchshift : f64) -> :: std :: os :: raw :: c_int { match self . pointers . InsertMediaSection { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (InsertMediaSection)) , Some (f) => f (file , mode , startpct , endpct , pitchshift) , } } pub fn InsertTrackAtIndex (& self , idx : :: std :: os :: raw :: c_int , wantDefaults : bool) { match self . pointers . InsertTrackAtIndex { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (InsertTrackAtIndex)) , Some (f) => f (idx , wantDefaults) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn InsertTrackInProject (& self , proj : * mut root :: ReaProject , idx : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) { match self . pointers . InsertTrackInProject { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (InsertTrackInProject)) , Some (f) => f (proj , idx , flags) , } } pub fn IsInRealTimeAudio (& self) -> :: std :: os :: raw :: c_int { match self . pointers . IsInRealTimeAudio { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (IsInRealTimeAudio)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsItemTakeActiveForPlayback (& self , item : * mut root :: MediaItem , take : * mut root :: MediaItem_Take) -> bool { match self . pointers . IsItemTakeActiveForPlayback { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (IsItemTakeActiveForPlayback)) , Some (f) => f (item , take) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsMediaExtension (& self , ext : * const :: std :: os :: raw :: c_char , wantOthers : bool) -> bool { match self . pointers . IsMediaExtension { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (IsMediaExtension)) , Some (f) => f (ext , wantOthers) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsMediaItemSelected (& self , item : * mut root :: MediaItem) -> bool { match self . pointers . IsMediaItemSelected { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (IsMediaItemSelected)) , Some (f) => f (item) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsProjectDirty (& self , proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int { match self . pointers . IsProjectDirty { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (IsProjectDirty)) , Some (f) => f (proj) , } } pub fn IsREAPER (& self) -> bool { match self . pointers . IsREAPER { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (IsREAPER)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsTrackSelected (& self , track : * mut root :: MediaTrack) -> bool { match self . pointers . IsTrackSelected { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (IsTrackSelected)) , Some (f) => f (track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsTrackVisible (& self , track : * mut root :: MediaTrack , mixer : bool) -> bool { match self . pointers . IsTrackVisible { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (IsTrackVisible)) , Some (f) => f (track , mixer) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsWindowTextField (& self , hwnd : root :: HWND) -> bool { match self . pointers . IsWindowTextField { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (IsWindowTextField)) , Some (f) => f (hwnd) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn joystick_create (& self , guid : * const root :: GUID) -> * mut root :: reaper_functions :: joystick_device { match self . pointers . joystick_create { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (joystick_create)) , Some (f) => f (guid) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn joystick_destroy (& self , device : * mut root :: reaper_functions :: joystick_device) { match self . pointers . joystick_destroy { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (joystick_destroy)) , Some (f) => f (device) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn joystick_enum (& self , index : :: std :: os :: raw :: c_int , namestrOutOptional : * mut * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char { match self . pointers . joystick_enum { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (joystick_enum)) , Some (f) => f (index , namestrOutOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn joystick_getaxis (& self , dev : * mut root :: reaper_functions :: joystick_device , axis : :: std :: os :: raw :: c_int) -> f64 { match self . pointers . joystick_getaxis { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (joystick_getaxis)) , Some (f) => f (dev , axis) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn joystick_getbuttonmask (& self , dev : * mut root :: reaper_functions :: joystick_device) -> :: std :: os :: raw :: c_uint { match self . pointers . joystick_getbuttonmask { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (joystick_getbuttonmask)) , Some (f) => f (dev) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn joystick_getinfo (& self , dev : * mut root :: reaper_functions :: joystick_device , axesOutOptional : * mut :: std :: os :: raw :: c_int , povsOutOptional : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . joystick_getinfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (joystick_getinfo)) , Some (f) => f (dev , axesOutOptional , povsOutOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn joystick_getpov (& self , dev : * mut root :: reaper_functions :: joystick_device , pov : :: std :: os :: raw :: c_int) -> f64 { match self . pointers . joystick_getpov { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (joystick_getpov)) , Some (f) => f (dev , pov) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn joystick_update (& self , dev : * mut root :: reaper_functions :: joystick_device) -> bool { match self . pointers . joystick_update { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (joystick_update)) , Some (f) => f (dev) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn kbd_enumerateActions (& self , section : * mut root :: KbdSectionInfo , idx : :: std :: os :: raw :: c_int , nameOut : * mut * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { match self . pointers . kbd_enumerateActions { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (kbd_enumerateActions)) , Some (f) => f (section , idx , nameOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn kbd_formatKeyName (& self , ac : * mut root :: ACCEL , s : * mut :: std :: os :: raw :: c_char) { match self . pointers . kbd_formatKeyName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (kbd_formatKeyName)) , Some (f) => f (ac , s) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn kbd_getCommandName (& self , cmd : :: std :: os :: raw :: c_int , s : * mut :: std :: os :: raw :: c_char , section : * mut root :: KbdSectionInfo) { match self . pointers . kbd_getCommandName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (kbd_getCommandName)) , Some (f) => f (cmd , s , section) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn kbd_getTextFromCmd (& self , cmd : :: std :: os :: raw :: c_int , section : * mut root :: KbdSectionInfo) -> * const :: std :: os :: raw :: c_char { match self . pointers . kbd_getTextFromCmd { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (kbd_getTextFromCmd)) , Some (f) => f (cmd , section) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn KBD_OnMainActionEx (& self , cmd : :: std :: os :: raw :: c_int , val : :: std :: os :: raw :: c_int , valhw : :: std :: os :: raw :: c_int , relmode : :: std :: os :: raw :: c_int , hwnd : root :: HWND , proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int { match self . pointers . KBD_OnMainActionEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (KBD_OnMainActionEx)) , Some (f) => f (cmd , val , valhw , relmode , hwnd , proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn kbd_OnMidiEvent (& self , evt : * mut root :: MIDI_event_t , dev_index : :: std :: os :: raw :: c_int) { match self . pointers . kbd_OnMidiEvent { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (kbd_OnMidiEvent)) , Some (f) => f (evt , dev_index) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn kbd_OnMidiList (& self , list : * mut root :: MIDI_eventlist , dev_index : :: std :: os :: raw :: c_int) { match self . pointers . kbd_OnMidiList { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (kbd_OnMidiList)) , Some (f) => f (list , dev_index) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn kbd_ProcessActionsMenu (& self , menu : root :: HMENU , section : * mut root :: KbdSectionInfo) { match self . pointers . kbd_ProcessActionsMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (kbd_ProcessActionsMenu)) , Some (f) => f (menu , section) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn kbd_processMidiEventActionEx (& self , evt : * mut root :: MIDI_event_t , section : * mut root :: KbdSectionInfo , hwndCtx : root :: HWND) -> bool { match self . pointers . kbd_processMidiEventActionEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (kbd_processMidiEventActionEx)) , Some (f) => f (evt , section , hwndCtx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn kbd_reprocessMenu (& self , menu : root :: HMENU , section : * mut root :: KbdSectionInfo) { match self . pointers . kbd_reprocessMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (kbd_reprocessMenu)) , Some (f) => f (menu , section) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn kbd_RunCommandThroughHooks (& self , section : * mut root :: KbdSectionInfo , actionCommandID : * const :: std :: os :: raw :: c_int , val : * const :: std :: os :: raw :: c_int , valhw : * const :: std :: os :: raw :: c_int , relmode : * const :: std :: os :: raw :: c_int , hwnd : root :: HWND) -> bool { match self . pointers . kbd_RunCommandThroughHooks { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (kbd_RunCommandThroughHooks)) , Some (f) => f (section , actionCommandID , val , valhw , relmode , hwnd) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn kbd_translateAccelerator (& self , hwnd : root :: HWND , msg : * mut root :: MSG , section : * mut root :: KbdSectionInfo) -> :: std :: os :: raw :: c_int { match self . pointers . kbd_translateAccelerator { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (kbd_translateAccelerator)) , Some (f) => f (hwnd , msg , section) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE__Destroy (& self , bm : * mut root :: reaper_functions :: LICE_IBitmap) { match self . pointers . LICE__Destroy { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE__Destroy)) , Some (f) => f (bm) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE__DestroyFont (& self , font : * mut root :: reaper_functions :: LICE_IFont) { match self . pointers . LICE__DestroyFont { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE__DestroyFont)) , Some (f) => f (font) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE__DrawText (& self , font : * mut root :: reaper_functions :: LICE_IFont , bm : * mut root :: reaper_functions :: LICE_IBitmap , str : * const :: std :: os :: raw :: c_char , strcnt : :: std :: os :: raw :: c_int , rect : * mut root :: RECT , dtFlags : root :: UINT) -> :: std :: os :: raw :: c_int { match self . pointers . LICE__DrawText { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE__DrawText)) , Some (f) => f (font , bm , str , strcnt , rect , dtFlags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE__GetBits (& self , bm : * mut root :: reaper_functions :: LICE_IBitmap) -> * mut :: std :: os :: raw :: c_void { match self . pointers . LICE__GetBits { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE__GetBits)) , Some (f) => f (bm) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE__GetDC (& self , bm : * mut root :: reaper_functions :: LICE_IBitmap) -> root :: HDC { match self . pointers . LICE__GetDC { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE__GetDC)) , Some (f) => f (bm) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE__GetHeight (& self , bm : * mut root :: reaper_functions :: LICE_IBitmap) -> :: std :: os :: raw :: c_int { match self . pointers . LICE__GetHeight { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE__GetHeight)) , Some (f) => f (bm) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE__GetRowSpan (& self , bm : * mut root :: reaper_functions :: LICE_IBitmap) -> :: std :: os :: raw :: c_int { match self . pointers . LICE__GetRowSpan { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE__GetRowSpan)) , Some (f) => f (bm) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE__GetWidth (& self , bm : * mut root :: reaper_functions :: LICE_IBitmap) -> :: std :: os :: raw :: c_int { match self . pointers . LICE__GetWidth { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE__GetWidth)) , Some (f) => f (bm) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE__IsFlipped (& self , bm : * mut root :: reaper_functions :: LICE_IBitmap) -> bool { match self . pointers . LICE__IsFlipped { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE__IsFlipped)) , Some (f) => f (bm) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE__resize (& self , bm : * mut root :: reaper_functions :: LICE_IBitmap , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int) -> bool { match self . pointers . LICE__resize { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE__resize)) , Some (f) => f (bm , w , h) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE__SetBkColor (& self , font : * mut root :: reaper_functions :: LICE_IFont , color : root :: reaper_functions :: LICE_pixel) -> root :: reaper_functions :: LICE_pixel { match self . pointers . LICE__SetBkColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE__SetBkColor)) , Some (f) => f (font , color) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE__SetFromHFont (& self , font : * mut root :: reaper_functions :: LICE_IFont , hfont : root :: HFONT , flags : :: std :: os :: raw :: c_int) { match self . pointers . LICE__SetFromHFont { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE__SetFromHFont)) , Some (f) => f (font , hfont , flags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE__SetTextColor (& self , font : * mut root :: reaper_functions :: LICE_IFont , color : root :: reaper_functions :: LICE_pixel) -> root :: reaper_functions :: LICE_pixel { match self . pointers . LICE__SetTextColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE__SetTextColor)) , Some (f) => f (font , color) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE__SetTextCombineMode (& self , ifont : * mut root :: reaper_functions :: LICE_IFont , mode : :: std :: os :: raw :: c_int , alpha : f32) { match self . pointers . LICE__SetTextCombineMode { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE__SetTextCombineMode)) , Some (f) => f (ifont , mode , alpha) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_Arc (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , cx : f32 , cy : f32 , r : f32 , minAngle : f32 , maxAngle : f32 , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool) { match self . pointers . LICE_Arc { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_Arc)) , Some (f) => f (dest , cx , cy , r , minAngle , maxAngle , color , alpha , mode , aa) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_Blit (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , src : * mut root :: reaper_functions :: LICE_IBitmap , dstx : :: std :: os :: raw :: c_int , dsty : :: std :: os :: raw :: c_int , srcx : :: std :: os :: raw :: c_int , srcy : :: std :: os :: raw :: c_int , srcw : :: std :: os :: raw :: c_int , srch : :: std :: os :: raw :: c_int , alpha : f32 , mode : :: std :: os :: raw :: c_int) { match self . pointers . LICE_Blit { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_Blit)) , Some (f) => f (dest , src , dstx , dsty , srcx , srcy , srcw , srch , alpha , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_Blur (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , src : * mut root :: reaper_functions :: LICE_IBitmap , dstx : :: std :: os :: raw :: c_int , dsty : :: std :: os :: raw :: c_int , srcx : :: std :: os :: raw :: c_int , srcy : :: std :: os :: raw :: c_int , srcw : :: std :: os :: raw :: c_int , srch : :: std :: os :: raw :: c_int) { match self . pointers . LICE_Blur { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_Blur)) , Some (f) => f (dest , src , dstx , dsty , srcx , srcy , srcw , srch) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_BorderedRect (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , bgcolor : root :: reaper_functions :: LICE_pixel , fgcolor : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int) { match self . pointers . LICE_BorderedRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_BorderedRect)) , Some (f) => f (dest , x , y , w , h , bgcolor , fgcolor , alpha , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_Circle (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , cx : f32 , cy : f32 , r : f32 , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool) { match self . pointers . LICE_Circle { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_Circle)) , Some (f) => f (dest , cx , cy , r , color , alpha , mode , aa) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_Clear (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , color : root :: reaper_functions :: LICE_pixel) { match self . pointers . LICE_Clear { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_Clear)) , Some (f) => f (dest , color) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_ClearRect (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , mask : root :: reaper_functions :: LICE_pixel , orbits : root :: reaper_functions :: LICE_pixel) { match self . pointers . LICE_ClearRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_ClearRect)) , Some (f) => f (dest , x , y , w , h , mask , orbits) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_ClipLine (& self , pX1Out : * mut :: std :: os :: raw :: c_int , pY1Out : * mut :: std :: os :: raw :: c_int , pX2Out : * mut :: std :: os :: raw :: c_int , pY2Out : * mut :: std :: os :: raw :: c_int , xLo : :: std :: os :: raw :: c_int , yLo : :: std :: os :: raw :: c_int , xHi : :: std :: os :: raw :: c_int , yHi : :: std :: os :: raw :: c_int) -> bool { match self . pointers . LICE_ClipLine { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_ClipLine)) , Some (f) => f (pX1Out , pY1Out , pX2Out , pY2Out , xLo , yLo , xHi , yHi) , } } pub fn LICE_CombinePixels (& self , dest : root :: reaper_functions :: LICE_pixel , src : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int) -> root :: reaper_functions :: LICE_pixel { match self . pointers . LICE_CombinePixels { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_CombinePixels)) , Some (f) => f (dest , src , alpha , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_Copy (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , src : * mut root :: reaper_functions :: LICE_IBitmap) { match self . pointers . LICE_Copy { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_Copy)) , Some (f) => f (dest , src) , } } pub fn LICE_CreateBitmap (& self , mode : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int) -> * mut root :: reaper_functions :: LICE_IBitmap { match self . pointers . LICE_CreateBitmap { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_CreateBitmap)) , Some (f) => f (mode , w , h) , } } pub fn LICE_CreateFont (& self) -> * mut root :: reaper_functions :: LICE_IFont { match self . pointers . LICE_CreateFont { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_CreateFont)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_DrawCBezier (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , xstart : f64 , ystart : f64 , xctl1 : f64 , yctl1 : f64 , xctl2 : f64 , yctl2 : f64 , xend : f64 , yend : f64 , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool , tol : f64) { match self . pointers . LICE_DrawCBezier { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_DrawCBezier)) , Some (f) => f (dest , xstart , ystart , xctl1 , yctl1 , xctl2 , yctl2 , xend , yend , color , alpha , mode , aa , tol) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_DrawChar (& self , bm : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , c : :: std :: os :: raw :: c_char , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int) { match self . pointers . LICE_DrawChar { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_DrawChar)) , Some (f) => f (bm , x , y , c , color , alpha , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_DrawGlyph (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alphas : * mut root :: reaper_functions :: LICE_pixel_chan , glyph_w : :: std :: os :: raw :: c_int , glyph_h : :: std :: os :: raw :: c_int , alpha : f32 , mode : :: std :: os :: raw :: c_int) { match self . pointers . LICE_DrawGlyph { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_DrawGlyph)) , Some (f) => f (dest , x , y , color , alphas , glyph_w , glyph_h , alpha , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_DrawRect (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int) { match self . pointers . LICE_DrawRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_DrawRect)) , Some (f) => f (dest , x , y , w , h , color , alpha , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_DrawText (& self , bm : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , string : * const :: std :: os :: raw :: c_char , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int) { match self . pointers . LICE_DrawText { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_DrawText)) , Some (f) => f (bm , x , y , string , color , alpha , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_FillCBezier (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , xstart : f64 , ystart : f64 , xctl1 : f64 , yctl1 : f64 , xctl2 : f64 , yctl2 : f64 , xend : f64 , yend : f64 , yfill : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool , tol : f64) { match self . pointers . LICE_FillCBezier { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_FillCBezier)) , Some (f) => f (dest , xstart , ystart , xctl1 , yctl1 , xctl2 , yctl2 , xend , yend , yfill , color , alpha , mode , aa , tol) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_FillCircle (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , cx : f32 , cy : f32 , r : f32 , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool) { match self . pointers . LICE_FillCircle { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_FillCircle)) , Some (f) => f (dest , cx , cy , r , color , alpha , mode , aa) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_FillConvexPolygon (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , npoints : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int) { match self . pointers . LICE_FillConvexPolygon { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_FillConvexPolygon)) , Some (f) => f (dest , x , y , npoints , color , alpha , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_FillRect (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int) { match self . pointers . LICE_FillRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_FillRect)) , Some (f) => f (dest , x , y , w , h , color , alpha , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_FillTrapezoid (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , x1a : :: std :: os :: raw :: c_int , x1b : :: std :: os :: raw :: c_int , y1 : :: std :: os :: raw :: c_int , x2a : :: std :: os :: raw :: c_int , x2b : :: std :: os :: raw :: c_int , y2 : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int) { match self . pointers . LICE_FillTrapezoid { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_FillTrapezoid)) , Some (f) => f (dest , x1a , x1b , y1 , x2a , x2b , y2 , color , alpha , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_FillTriangle (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , x1 : :: std :: os :: raw :: c_int , y1 : :: std :: os :: raw :: c_int , x2 : :: std :: os :: raw :: c_int , y2 : :: std :: os :: raw :: c_int , x3 : :: std :: os :: raw :: c_int , y3 : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int) { match self . pointers . LICE_FillTriangle { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_FillTriangle)) , Some (f) => f (dest , x1 , y1 , x2 , y2 , x3 , y3 , color , alpha , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_GetPixel (& self , bm : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int) -> root :: reaper_functions :: LICE_pixel { match self . pointers . LICE_GetPixel { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_GetPixel)) , Some (f) => f (bm , x , y) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_GradRect (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , dstx : :: std :: os :: raw :: c_int , dsty : :: std :: os :: raw :: c_int , dstw : :: std :: os :: raw :: c_int , dsth : :: std :: os :: raw :: c_int , ir : f32 , ig : f32 , ib : f32 , ia : f32 , drdx : f32 , dgdx : f32 , dbdx : f32 , dadx : f32 , drdy : f32 , dgdy : f32 , dbdy : f32 , dady : f32 , mode : :: std :: os :: raw :: c_int) { match self . pointers . LICE_GradRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_GradRect)) , Some (f) => f (dest , dstx , dsty , dstw , dsth , ir , ig , ib , ia , drdx , dgdx , dbdx , dadx , drdy , dgdy , dbdy , dady , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_Line (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , x1 : f32 , y1 : f32 , x2 : f32 , y2 : f32 , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool) { match self . pointers . LICE_Line { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_Line)) , Some (f) => f (dest , x1 , y1 , x2 , y2 , color , alpha , mode , aa) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_LineInt (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , x1 : :: std :: os :: raw :: c_int , y1 : :: std :: os :: raw :: c_int , x2 : :: std :: os :: raw :: c_int , y2 : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool) { match self . pointers . LICE_LineInt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_LineInt)) , Some (f) => f (dest , x1 , y1 , x2 , y2 , color , alpha , mode , aa) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_LoadPNG (& self , filename : * const :: std :: os :: raw :: c_char , bmp : * mut root :: reaper_functions :: LICE_IBitmap) -> * mut root :: reaper_functions :: LICE_IBitmap { match self . pointers . LICE_LoadPNG { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_LoadPNG)) , Some (f) => f (filename , bmp) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_LoadPNGFromResource (& self , hInst : root :: HINSTANCE , resid : * const :: std :: os :: raw :: c_char , bmp : * mut root :: reaper_functions :: LICE_IBitmap) -> * mut root :: reaper_functions :: LICE_IBitmap { match self . pointers . LICE_LoadPNGFromResource { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_LoadPNGFromResource)) , Some (f) => f (hInst , resid , bmp) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_MeasureText (& self , string : * const :: std :: os :: raw :: c_char , w : * mut :: std :: os :: raw :: c_int , h : * mut :: std :: os :: raw :: c_int) { match self . pointers . LICE_MeasureText { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_MeasureText)) , Some (f) => f (string , w , h) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_MultiplyAddRect (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , rsc : f32 , gsc : f32 , bsc : f32 , asc : f32 , radd : f32 , gadd : f32 , badd : f32 , aadd : f32) { match self . pointers . LICE_MultiplyAddRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_MultiplyAddRect)) , Some (f) => f (dest , x , y , w , h , rsc , gsc , bsc , asc , radd , gadd , badd , aadd) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_PutPixel (& self , bm : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int) { match self . pointers . LICE_PutPixel { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_PutPixel)) , Some (f) => f (bm , x , y , color , alpha , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_RotatedBlit (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , src : * mut root :: reaper_functions :: LICE_IBitmap , dstx : :: std :: os :: raw :: c_int , dsty : :: std :: os :: raw :: c_int , dstw : :: std :: os :: raw :: c_int , dsth : :: std :: os :: raw :: c_int , srcx : f32 , srcy : f32 , srcw : f32 , srch : f32 , angle : f32 , cliptosourcerect : bool , alpha : f32 , mode : :: std :: os :: raw :: c_int , rotxcent : f32 , rotycent : f32) { match self . pointers . LICE_RotatedBlit { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_RotatedBlit)) , Some (f) => f (dest , src , dstx , dsty , dstw , dsth , srcx , srcy , srcw , srch , angle , cliptosourcerect , alpha , mode , rotxcent , rotycent) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_RoundRect (& self , drawbm : * mut root :: reaper_functions :: LICE_IBitmap , xpos : f32 , ypos : f32 , w : f32 , h : f32 , cornerradius : :: std :: os :: raw :: c_int , col : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool) { match self . pointers . LICE_RoundRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_RoundRect)) , Some (f) => f (drawbm , xpos , ypos , w , h , cornerradius , col , alpha , mode , aa) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_ScaledBlit (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , src : * mut root :: reaper_functions :: LICE_IBitmap , dstx : :: std :: os :: raw :: c_int , dsty : :: std :: os :: raw :: c_int , dstw : :: std :: os :: raw :: c_int , dsth : :: std :: os :: raw :: c_int , srcx : f32 , srcy : f32 , srcw : f32 , srch : f32 , alpha : f32 , mode : :: std :: os :: raw :: c_int) { match self . pointers . LICE_ScaledBlit { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_ScaledBlit)) , Some (f) => f (dest , src , dstx , dsty , dstw , dsth , srcx , srcy , srcw , srch , alpha , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_SimpleFill (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , newcolor : root :: reaper_functions :: LICE_pixel , comparemask : root :: reaper_functions :: LICE_pixel , keepmask : root :: reaper_functions :: LICE_pixel) { match self . pointers . LICE_SimpleFill { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_SimpleFill)) , Some (f) => f (dest , x , y , newcolor , comparemask , keepmask) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LICE_ThickFLine (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , x1 : f64 , y1 : f64 , x2 : f64 , y2 : f64 , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , wid : :: std :: os :: raw :: c_int) { match self . pointers . LICE_ThickFLine { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LICE_ThickFLine)) , Some (f) => f (dest , x1 , y1 , x2 , y2 , color , alpha , mode , wid) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LocalizeString (& self , src_string : * const :: std :: os :: raw :: c_char , section : * const :: std :: os :: raw :: c_char , flagsOptional : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . LocalizeString { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LocalizeString)) , Some (f) => f (src_string , section , flagsOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Loop_OnArrow (& self , project : * mut root :: ReaProject , direction : :: std :: os :: raw :: c_int) -> bool { match self . pointers . Loop_OnArrow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Loop_OnArrow)) , Some (f) => f (project , direction) , } } pub fn Main_OnCommand (& self , command : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int) { match self . pointers . Main_OnCommand { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Main_OnCommand)) , Some (f) => f (command , flag) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Main_OnCommandEx (& self , command : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int , proj : * mut root :: ReaProject) { match self . pointers . Main_OnCommandEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Main_OnCommandEx)) , Some (f) => f (command , flag , proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Main_openProject (& self , name : * const :: std :: os :: raw :: c_char) { match self . pointers . Main_openProject { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Main_openProject)) , Some (f) => f (name) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Main_SaveProject (& self , proj : * mut root :: ReaProject , forceSaveAsInOptional : bool) { match self . pointers . Main_SaveProject { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Main_SaveProject)) , Some (f) => f (proj , forceSaveAsInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Main_SaveProjectEx (& self , proj : * mut root :: ReaProject , filename : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int) { match self . pointers . Main_SaveProjectEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Main_SaveProjectEx)) , Some (f) => f (proj , filename , options) , } } pub fn Main_UpdateLoopInfo (& self , ignoremask : :: std :: os :: raw :: c_int) { match self . pointers . Main_UpdateLoopInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Main_UpdateLoopInfo)) , Some (f) => f (ignoremask) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MarkProjectDirty (& self , proj : * mut root :: ReaProject) { match self . pointers . MarkProjectDirty { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MarkProjectDirty)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MarkTrackItemsDirty (& self , track : * mut root :: MediaTrack , item : * mut root :: MediaItem) { match self . pointers . MarkTrackItemsDirty { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MarkTrackItemsDirty)) , Some (f) => f (track , item) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Master_GetPlayRate (& self , project : * mut root :: ReaProject) -> f64 { match self . pointers . Master_GetPlayRate { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Master_GetPlayRate)) , Some (f) => f (project) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Master_GetPlayRateAtTime (& self , time_s : f64 , proj : * mut root :: ReaProject) -> f64 { match self . pointers . Master_GetPlayRateAtTime { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Master_GetPlayRateAtTime)) , Some (f) => f (time_s , proj) , } } pub fn Master_GetTempo (& self) -> f64 { match self . pointers . Master_GetTempo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Master_GetTempo)) , Some (f) => f () , } } pub fn Master_NormalizePlayRate (& self , playrate : f64 , isnormalized : bool) -> f64 { match self . pointers . Master_NormalizePlayRate { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Master_NormalizePlayRate)) , Some (f) => f (playrate , isnormalized) , } } pub fn Master_NormalizeTempo (& self , bpm : f64 , isnormalized : bool) -> f64 { match self . pointers . Master_NormalizeTempo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Master_NormalizeTempo)) , Some (f) => f (bpm , isnormalized) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MB (& self , msg : * const :: std :: os :: raw :: c_char , title : * const :: std :: os :: raw :: c_char , type_ : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . MB { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MB)) , Some (f) => f (msg , title , type_) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MediaItemDescendsFromTrack (& self , item : * mut root :: MediaItem , track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int { match self . pointers . MediaItemDescendsFromTrack { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MediaItemDescendsFromTrack)) , Some (f) => f (item , track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Menu_GetHash (& self , menuname : * const :: std :: os :: raw :: c_char , flag : :: std :: os :: raw :: c_int , hashOut : * mut :: std :: os :: raw :: c_char , hashOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . Menu_GetHash { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Menu_GetHash)) , Some (f) => f (menuname , flag , hashOut , hashOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_CountEvts (& self , take : * mut root :: MediaItem_Take , notecntOut : * mut :: std :: os :: raw :: c_int , ccevtcntOut : * mut :: std :: os :: raw :: c_int , textsyxevtcntOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . MIDI_CountEvts { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_CountEvts)) , Some (f) => f (take , notecntOut , ccevtcntOut , textsyxevtcntOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_DeleteCC (& self , take : * mut root :: MediaItem_Take , ccidx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_DeleteCC { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_DeleteCC)) , Some (f) => f (take , ccidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_DeleteEvt (& self , take : * mut root :: MediaItem_Take , evtidx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_DeleteEvt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_DeleteEvt)) , Some (f) => f (take , evtidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_DeleteNote (& self , take : * mut root :: MediaItem_Take , noteidx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_DeleteNote { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_DeleteNote)) , Some (f) => f (take , noteidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_DeleteTextSysexEvt (& self , take : * mut root :: MediaItem_Take , textsyxevtidx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_DeleteTextSysexEvt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_DeleteTextSysexEvt)) , Some (f) => f (take , textsyxevtidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_DisableSort (& self , take : * mut root :: MediaItem_Take) { match self . pointers . MIDI_DisableSort { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_DisableSort)) , Some (f) => f (take) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_EnumSelCC (& self , take : * mut root :: MediaItem_Take , ccidx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . MIDI_EnumSelCC { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_EnumSelCC)) , Some (f) => f (take , ccidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_EnumSelEvts (& self , take : * mut root :: MediaItem_Take , evtidx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . MIDI_EnumSelEvts { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_EnumSelEvts)) , Some (f) => f (take , evtidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_EnumSelNotes (& self , take : * mut root :: MediaItem_Take , noteidx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . MIDI_EnumSelNotes { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_EnumSelNotes)) , Some (f) => f (take , noteidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_EnumSelTextSysexEvts (& self , take : * mut root :: MediaItem_Take , textsyxidx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . MIDI_EnumSelTextSysexEvts { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_EnumSelTextSysexEvts)) , Some (f) => f (take , textsyxidx) , } } pub fn MIDI_eventlist_Create (& self) -> * mut root :: MIDI_eventlist { match self . pointers . MIDI_eventlist_Create { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_eventlist_Create)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_eventlist_Destroy (& self , evtlist : * mut root :: MIDI_eventlist) { match self . pointers . MIDI_eventlist_Destroy { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_eventlist_Destroy)) , Some (f) => f (evtlist) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetAllEvts (& self , take : * mut root :: MediaItem_Take , bufOutNeedBig : * mut :: std :: os :: raw :: c_char , bufOutNeedBig_sz : * mut :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_GetAllEvts { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetAllEvts)) , Some (f) => f (take , bufOutNeedBig , bufOutNeedBig_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetCC (& self , take : * mut root :: MediaItem_Take , ccidx : :: std :: os :: raw :: c_int , selectedOut : * mut bool , mutedOut : * mut bool , ppqposOut : * mut f64 , chanmsgOut : * mut :: std :: os :: raw :: c_int , chanOut : * mut :: std :: os :: raw :: c_int , msg2Out : * mut :: std :: os :: raw :: c_int , msg3Out : * mut :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_GetCC { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetCC)) , Some (f) => f (take , ccidx , selectedOut , mutedOut , ppqposOut , chanmsgOut , chanOut , msg2Out , msg3Out) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetCCShape (& self , take : * mut root :: MediaItem_Take , ccidx : :: std :: os :: raw :: c_int , shapeOut : * mut :: std :: os :: raw :: c_int , beztensionOut : * mut f64) -> bool { match self . pointers . MIDI_GetCCShape { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetCCShape)) , Some (f) => f (take , ccidx , shapeOut , beztensionOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetEvt (& self , take : * mut root :: MediaItem_Take , evtidx : :: std :: os :: raw :: c_int , selectedOut : * mut bool , mutedOut : * mut bool , ppqposOut : * mut f64 , msgOut : * mut :: std :: os :: raw :: c_char , msgOut_sz : * mut :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_GetEvt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetEvt)) , Some (f) => f (take , evtidx , selectedOut , mutedOut , ppqposOut , msgOut , msgOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetGrid (& self , take : * mut root :: MediaItem_Take , swingOutOptional : * mut f64 , noteLenOutOptional : * mut f64) -> f64 { match self . pointers . MIDI_GetGrid { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetGrid)) , Some (f) => f (take , swingOutOptional , noteLenOutOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetHash (& self , take : * mut root :: MediaItem_Take , notesonly : bool , hashOut : * mut :: std :: os :: raw :: c_char , hashOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_GetHash { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetHash)) , Some (f) => f (take , notesonly , hashOut , hashOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetNote (& self , take : * mut root :: MediaItem_Take , noteidx : :: std :: os :: raw :: c_int , selectedOut : * mut bool , mutedOut : * mut bool , startppqposOut : * mut f64 , endppqposOut : * mut f64 , chanOut : * mut :: std :: os :: raw :: c_int , pitchOut : * mut :: std :: os :: raw :: c_int , velOut : * mut :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_GetNote { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetNote)) , Some (f) => f (take , noteidx , selectedOut , mutedOut , startppqposOut , endppqposOut , chanOut , pitchOut , velOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetPPQPos_EndOfMeasure (& self , take : * mut root :: MediaItem_Take , ppqpos : f64) -> f64 { match self . pointers . MIDI_GetPPQPos_EndOfMeasure { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetPPQPos_EndOfMeasure)) , Some (f) => f (take , ppqpos) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetPPQPos_StartOfMeasure (& self , take : * mut root :: MediaItem_Take , ppqpos : f64) -> f64 { match self . pointers . MIDI_GetPPQPos_StartOfMeasure { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetPPQPos_StartOfMeasure)) , Some (f) => f (take , ppqpos) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetPPQPosFromProjQN (& self , take : * mut root :: MediaItem_Take , projqn : f64) -> f64 { match self . pointers . MIDI_GetPPQPosFromProjQN { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetPPQPosFromProjQN)) , Some (f) => f (take , projqn) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetPPQPosFromProjTime (& self , take : * mut root :: MediaItem_Take , projtime : f64) -> f64 { match self . pointers . MIDI_GetPPQPosFromProjTime { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetPPQPosFromProjTime)) , Some (f) => f (take , projtime) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetProjQNFromPPQPos (& self , take : * mut root :: MediaItem_Take , ppqpos : f64) -> f64 { match self . pointers . MIDI_GetProjQNFromPPQPos { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetProjQNFromPPQPos)) , Some (f) => f (take , ppqpos) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetProjTimeFromPPQPos (& self , take : * mut root :: MediaItem_Take , ppqpos : f64) -> f64 { match self . pointers . MIDI_GetProjTimeFromPPQPos { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetProjTimeFromPPQPos)) , Some (f) => f (take , ppqpos) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetRecentInputEvent (& self , idx : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : * mut :: std :: os :: raw :: c_int , tsOut : * mut :: std :: os :: raw :: c_int , devIdxOut : * mut :: std :: os :: raw :: c_int , projPosOut : * mut f64 , projLoopCntOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . MIDI_GetRecentInputEvent { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetRecentInputEvent)) , Some (f) => f (idx , bufOut , bufOut_sz , tsOut , devIdxOut , projPosOut , projLoopCntOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetScale (& self , take : * mut root :: MediaItem_Take , rootOut : * mut :: std :: os :: raw :: c_int , scaleOut : * mut :: std :: os :: raw :: c_int , nameOut : * mut :: std :: os :: raw :: c_char , nameOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_GetScale { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetScale)) , Some (f) => f (take , rootOut , scaleOut , nameOut , nameOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetTextSysexEvt (& self , take : * mut root :: MediaItem_Take , textsyxevtidx : :: std :: os :: raw :: c_int , selectedOutOptional : * mut bool , mutedOutOptional : * mut bool , ppqposOutOptional : * mut f64 , typeOutOptional : * mut :: std :: os :: raw :: c_int , msgOptional : * mut :: std :: os :: raw :: c_char , msgOptional_sz : * mut :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_GetTextSysexEvt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetTextSysexEvt)) , Some (f) => f (take , textsyxevtidx , selectedOutOptional , mutedOutOptional , ppqposOutOptional , typeOutOptional , msgOptional , msgOptional_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_GetTrackHash (& self , track : * mut root :: MediaTrack , notesonly : bool , hashOut : * mut :: std :: os :: raw :: c_char , hashOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_GetTrackHash { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_GetTrackHash)) , Some (f) => f (track , notesonly , hashOut , hashOut_sz) , } } pub fn midi_init (& self , force_reinit_input : :: std :: os :: raw :: c_int , force_reinit_output : :: std :: os :: raw :: c_int) { match self . pointers . midi_init { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (midi_init)) , Some (f) => f (force_reinit_input , force_reinit_output) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_InsertCC (& self , take : * mut root :: MediaItem_Take , selected : bool , muted : bool , ppqpos : f64 , chanmsg : :: std :: os :: raw :: c_int , chan : :: std :: os :: raw :: c_int , msg2 : :: std :: os :: raw :: c_int , msg3 : :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_InsertCC { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_InsertCC)) , Some (f) => f (take , selected , muted , ppqpos , chanmsg , chan , msg2 , msg3) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_InsertEvt (& self , take : * mut root :: MediaItem_Take , selected : bool , muted : bool , ppqpos : f64 , bytestr : * const :: std :: os :: raw :: c_char , bytestr_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_InsertEvt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_InsertEvt)) , Some (f) => f (take , selected , muted , ppqpos , bytestr , bytestr_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_InsertNote (& self , take : * mut root :: MediaItem_Take , selected : bool , muted : bool , startppqpos : f64 , endppqpos : f64 , chan : :: std :: os :: raw :: c_int , pitch : :: std :: os :: raw :: c_int , vel : :: std :: os :: raw :: c_int , noSortInOptional : * const bool) -> bool { match self . pointers . MIDI_InsertNote { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_InsertNote)) , Some (f) => f (take , selected , muted , startppqpos , endppqpos , chan , pitch , vel , noSortInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_InsertTextSysexEvt (& self , take : * mut root :: MediaItem_Take , selected : bool , muted : bool , ppqpos : f64 , type_ : :: std :: os :: raw :: c_int , bytestr : * const :: std :: os :: raw :: c_char , bytestr_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_InsertTextSysexEvt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_InsertTextSysexEvt)) , Some (f) => f (take , selected , muted , ppqpos , type_ , bytestr , bytestr_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_RefreshEditors (& self , tk : * mut root :: MediaItem_Take) { match self . pointers . MIDI_RefreshEditors { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_RefreshEditors)) , Some (f) => f (tk) , } } pub fn midi_reinit (& self) { match self . pointers . midi_reinit { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (midi_reinit)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_SelectAll (& self , take : * mut root :: MediaItem_Take , select : bool) { match self . pointers . MIDI_SelectAll { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_SelectAll)) , Some (f) => f (take , select) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_SetAllEvts (& self , take : * mut root :: MediaItem_Take , buf : * const :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDI_SetAllEvts { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_SetAllEvts)) , Some (f) => f (take , buf , buf_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_SetCC (& self , take : * mut root :: MediaItem_Take , ccidx : :: std :: os :: raw :: c_int , selectedInOptional : * const bool , mutedInOptional : * const bool , ppqposInOptional : * const f64 , chanmsgInOptional : * const :: std :: os :: raw :: c_int , chanInOptional : * const :: std :: os :: raw :: c_int , msg2InOptional : * const :: std :: os :: raw :: c_int , msg3InOptional : * const :: std :: os :: raw :: c_int , noSortInOptional : * const bool) -> bool { match self . pointers . MIDI_SetCC { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_SetCC)) , Some (f) => f (take , ccidx , selectedInOptional , mutedInOptional , ppqposInOptional , chanmsgInOptional , chanInOptional , msg2InOptional , msg3InOptional , noSortInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_SetCCShape (& self , take : * mut root :: MediaItem_Take , ccidx : :: std :: os :: raw :: c_int , shape : :: std :: os :: raw :: c_int , beztension : f64 , noSortInOptional : * const bool) -> bool { match self . pointers . MIDI_SetCCShape { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_SetCCShape)) , Some (f) => f (take , ccidx , shape , beztension , noSortInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_SetEvt (& self , take : * mut root :: MediaItem_Take , evtidx : :: std :: os :: raw :: c_int , selectedInOptional : * const bool , mutedInOptional : * const bool , ppqposInOptional : * const f64 , msgOptional : * const :: std :: os :: raw :: c_char , msgOptional_sz : :: std :: os :: raw :: c_int , noSortInOptional : * const bool) -> bool { match self . pointers . MIDI_SetEvt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_SetEvt)) , Some (f) => f (take , evtidx , selectedInOptional , mutedInOptional , ppqposInOptional , msgOptional , msgOptional_sz , noSortInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_SetItemExtents (& self , item : * mut root :: MediaItem , startQN : f64 , endQN : f64) -> bool { match self . pointers . MIDI_SetItemExtents { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_SetItemExtents)) , Some (f) => f (item , startQN , endQN) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_SetNote (& self , take : * mut root :: MediaItem_Take , noteidx : :: std :: os :: raw :: c_int , selectedInOptional : * const bool , mutedInOptional : * const bool , startppqposInOptional : * const f64 , endppqposInOptional : * const f64 , chanInOptional : * const :: std :: os :: raw :: c_int , pitchInOptional : * const :: std :: os :: raw :: c_int , velInOptional : * const :: std :: os :: raw :: c_int , noSortInOptional : * const bool) -> bool { match self . pointers . MIDI_SetNote { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_SetNote)) , Some (f) => f (take , noteidx , selectedInOptional , mutedInOptional , startppqposInOptional , endppqposInOptional , chanInOptional , pitchInOptional , velInOptional , noSortInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_SetTextSysexEvt (& self , take : * mut root :: MediaItem_Take , textsyxevtidx : :: std :: os :: raw :: c_int , selectedInOptional : * const bool , mutedInOptional : * const bool , ppqposInOptional : * const f64 , typeInOptional : * const :: std :: os :: raw :: c_int , msgOptional : * const :: std :: os :: raw :: c_char , msgOptional_sz : :: std :: os :: raw :: c_int , noSortInOptional : * const bool) -> bool { match self . pointers . MIDI_SetTextSysexEvt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_SetTextSysexEvt)) , Some (f) => f (take , textsyxevtidx , selectedInOptional , mutedInOptional , ppqposInOptional , typeInOptional , msgOptional , msgOptional_sz , noSortInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDI_Sort (& self , take : * mut root :: MediaItem_Take) { match self . pointers . MIDI_Sort { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDI_Sort)) , Some (f) => f (take) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDIEditor_EnumTakes (& self , midieditor : root :: HWND , takeindex : :: std :: os :: raw :: c_int , editable_only : bool) -> * mut root :: MediaItem_Take { match self . pointers . MIDIEditor_EnumTakes { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDIEditor_EnumTakes)) , Some (f) => f (midieditor , takeindex , editable_only) , } } pub fn MIDIEditor_GetActive (& self) -> root :: HWND { match self . pointers . MIDIEditor_GetActive { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDIEditor_GetActive)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDIEditor_GetMode (& self , midieditor : root :: HWND) -> :: std :: os :: raw :: c_int { match self . pointers . MIDIEditor_GetMode { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDIEditor_GetMode)) , Some (f) => f (midieditor) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDIEditor_GetSetting_int (& self , midieditor : root :: HWND , setting_desc : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { match self . pointers . MIDIEditor_GetSetting_int { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDIEditor_GetSetting_int)) , Some (f) => f (midieditor , setting_desc) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDIEditor_GetSetting_str (& self , midieditor : root :: HWND , setting_desc : * const :: std :: os :: raw :: c_char , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDIEditor_GetSetting_str { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDIEditor_GetSetting_str)) , Some (f) => f (midieditor , setting_desc , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDIEditor_GetTake (& self , midieditor : root :: HWND) -> * mut root :: MediaItem_Take { match self . pointers . MIDIEditor_GetTake { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDIEditor_GetTake)) , Some (f) => f (midieditor) , } } pub fn MIDIEditor_LastFocused_OnCommand (& self , command_id : :: std :: os :: raw :: c_int , islistviewcommand : bool) -> bool { match self . pointers . MIDIEditor_LastFocused_OnCommand { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDIEditor_LastFocused_OnCommand)) , Some (f) => f (command_id , islistviewcommand) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDIEditor_OnCommand (& self , midieditor : root :: HWND , command_id : :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDIEditor_OnCommand { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDIEditor_OnCommand)) , Some (f) => f (midieditor , command_id) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDIEditor_SetSetting_int (& self , midieditor : root :: HWND , setting_desc : * const :: std :: os :: raw :: c_char , setting : :: std :: os :: raw :: c_int) -> bool { match self . pointers . MIDIEditor_SetSetting_int { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDIEditor_SetSetting_int)) , Some (f) => f (midieditor , setting_desc , setting) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MIDIEditorFlagsForTrack (& self , track : * mut root :: MediaTrack , pitchwheelrangeInOut : * mut :: std :: os :: raw :: c_int , flagsInOut : * mut :: std :: os :: raw :: c_int , is_set : bool) { match self . pointers . MIDIEditorFlagsForTrack { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MIDIEditorFlagsForTrack)) , Some (f) => f (track , pitchwheelrangeInOut , flagsInOut , is_set) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn mkpanstr (& self , strNeed64 : * mut :: std :: os :: raw :: c_char , pan : f64) { match self . pointers . mkpanstr { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (mkpanstr)) , Some (f) => f (strNeed64 , pan) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn mkvolpanstr (& self , strNeed64 : * mut :: std :: os :: raw :: c_char , vol : f64 , pan : f64) { match self . pointers . mkvolpanstr { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (mkvolpanstr)) , Some (f) => f (strNeed64 , vol , pan) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn mkvolstr (& self , strNeed64 : * mut :: std :: os :: raw :: c_char , vol : f64) { match self . pointers . mkvolstr { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (mkvolstr)) , Some (f) => f (strNeed64 , vol) , } } pub fn MoveEditCursor (& self , adjamt : f64 , dosel : bool) { match self . pointers . MoveEditCursor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MoveEditCursor)) , Some (f) => f (adjamt , dosel) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MoveMediaItemToTrack (& self , item : * mut root :: MediaItem , desttr : * mut root :: MediaTrack) -> bool { match self . pointers . MoveMediaItemToTrack { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MoveMediaItemToTrack)) , Some (f) => f (item , desttr) , } } pub fn MuteAllTracks (& self , mute : bool) { match self . pointers . MuteAllTracks { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MuteAllTracks)) , Some (f) => f (mute) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn my_getViewport (& self , r : * mut root :: RECT , sr : * const root :: RECT , wantWorkArea : bool) { match self . pointers . my_getViewport { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (my_getViewport)) , Some (f) => f (r , sr , wantWorkArea) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn NamedCommandLookup (& self , command_name : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { match self . pointers . NamedCommandLookup { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (NamedCommandLookup)) , Some (f) => f (command_name) , } } pub fn OnPauseButton (& self) { match self . pointers . OnPauseButton { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (OnPauseButton)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn OnPauseButtonEx (& self , proj : * mut root :: ReaProject) { match self . pointers . OnPauseButtonEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (OnPauseButtonEx)) , Some (f) => f (proj) , } } pub fn OnPlayButton (& self) { match self . pointers . OnPlayButton { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (OnPlayButton)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn OnPlayButtonEx (& self , proj : * mut root :: ReaProject) { match self . pointers . OnPlayButtonEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (OnPlayButtonEx)) , Some (f) => f (proj) , } } pub fn OnStopButton (& self) { match self . pointers . OnStopButton { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (OnStopButton)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn OnStopButtonEx (& self , proj : * mut root :: ReaProject) { match self . pointers . OnStopButtonEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (OnStopButtonEx)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn OpenColorThemeFile (& self , fn_ : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . OpenColorThemeFile { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (OpenColorThemeFile)) , Some (f) => f (fn_) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn OpenMediaExplorer (& self , mediafn : * const :: std :: os :: raw :: c_char , play : bool) -> root :: HWND { match self . pointers . OpenMediaExplorer { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (OpenMediaExplorer)) , Some (f) => f (mediafn , play) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn OscLocalMessageToHost (& self , message : * const :: std :: os :: raw :: c_char , valueInOptional : * const f64) { match self . pointers . OscLocalMessageToHost { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (OscLocalMessageToHost)) , Some (f) => f (message , valueInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn parse_timestr (& self , buf : * const :: std :: os :: raw :: c_char) -> f64 { match self . pointers . parse_timestr { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (parse_timestr)) , Some (f) => f (buf) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn parse_timestr_len (& self , buf : * const :: std :: os :: raw :: c_char , offset : f64 , modeoverride : :: std :: os :: raw :: c_int) -> f64 { match self . pointers . parse_timestr_len { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (parse_timestr_len)) , Some (f) => f (buf , offset , modeoverride) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn parse_timestr_pos (& self , buf : * const :: std :: os :: raw :: c_char , modeoverride : :: std :: os :: raw :: c_int) -> f64 { match self . pointers . parse_timestr_pos { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (parse_timestr_pos)) , Some (f) => f (buf , modeoverride) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn parsepanstr (& self , str : * const :: std :: os :: raw :: c_char) -> f64 { match self . pointers . parsepanstr { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (parsepanstr)) , Some (f) => f (str) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PCM_Sink_Create (& self , filename : * const :: std :: os :: raw :: c_char , cfg : * const :: std :: os :: raw :: c_char , cfg_sz : :: std :: os :: raw :: c_int , nch : :: std :: os :: raw :: c_int , srate : :: std :: os :: raw :: c_int , buildpeaks : bool) -> * mut root :: PCM_sink { match self . pointers . PCM_Sink_Create { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PCM_Sink_Create)) , Some (f) => f (filename , cfg , cfg_sz , nch , srate , buildpeaks) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PCM_Sink_CreateEx (& self , proj : * mut root :: ReaProject , filename : * const :: std :: os :: raw :: c_char , cfg : * const :: std :: os :: raw :: c_char , cfg_sz : :: std :: os :: raw :: c_int , nch : :: std :: os :: raw :: c_int , srate : :: std :: os :: raw :: c_int , buildpeaks : bool) -> * mut root :: PCM_sink { match self . pointers . PCM_Sink_CreateEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PCM_Sink_CreateEx)) , Some (f) => f (proj , filename , cfg , cfg_sz , nch , srate , buildpeaks) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PCM_Sink_CreateMIDIFile (& self , filename : * const :: std :: os :: raw :: c_char , cfg : * const :: std :: os :: raw :: c_char , cfg_sz : :: std :: os :: raw :: c_int , bpm : f64 , div : :: std :: os :: raw :: c_int) -> * mut root :: PCM_sink { match self . pointers . PCM_Sink_CreateMIDIFile { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PCM_Sink_CreateMIDIFile)) , Some (f) => f (filename , cfg , cfg_sz , bpm , div) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PCM_Sink_CreateMIDIFileEx (& self , proj : * mut root :: ReaProject , filename : * const :: std :: os :: raw :: c_char , cfg : * const :: std :: os :: raw :: c_char , cfg_sz : :: std :: os :: raw :: c_int , bpm : f64 , div : :: std :: os :: raw :: c_int) -> * mut root :: PCM_sink { match self . pointers . PCM_Sink_CreateMIDIFileEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PCM_Sink_CreateMIDIFileEx)) , Some (f) => f (proj , filename , cfg , cfg_sz , bpm , div) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PCM_Sink_Enum (& self , idx : :: std :: os :: raw :: c_int , descstrOut : * mut * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_uint { match self . pointers . PCM_Sink_Enum { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PCM_Sink_Enum)) , Some (f) => f (idx , descstrOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PCM_Sink_GetExtension (& self , data : * const :: std :: os :: raw :: c_char , data_sz : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . PCM_Sink_GetExtension { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PCM_Sink_GetExtension)) , Some (f) => f (data , data_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PCM_Sink_ShowConfig (& self , cfg : * const :: std :: os :: raw :: c_char , cfg_sz : :: std :: os :: raw :: c_int , hwndParent : root :: HWND) -> root :: HWND { match self . pointers . PCM_Sink_ShowConfig { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PCM_Sink_ShowConfig)) , Some (f) => f (cfg , cfg_sz , hwndParent) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PCM_Source_BuildPeaks (& self , src : * mut root :: PCM_source , mode : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . PCM_Source_BuildPeaks { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PCM_Source_BuildPeaks)) , Some (f) => f (src , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PCM_Source_CreateFromFile (& self , filename : * const :: std :: os :: raw :: c_char) -> * mut root :: PCM_source { match self . pointers . PCM_Source_CreateFromFile { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PCM_Source_CreateFromFile)) , Some (f) => f (filename) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PCM_Source_CreateFromFileEx (& self , filename : * const :: std :: os :: raw :: c_char , forcenoMidiImp : bool) -> * mut root :: PCM_source { match self . pointers . PCM_Source_CreateFromFileEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PCM_Source_CreateFromFileEx)) , Some (f) => f (filename , forcenoMidiImp) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PCM_Source_CreateFromSimple (& self , dec : * mut root :: ISimpleMediaDecoder , fn_ : * const :: std :: os :: raw :: c_char) -> * mut root :: PCM_source { match self . pointers . PCM_Source_CreateFromSimple { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PCM_Source_CreateFromSimple)) , Some (f) => f (dec , fn_) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PCM_Source_CreateFromType (& self , sourcetype : * const :: std :: os :: raw :: c_char) -> * mut root :: PCM_source { match self . pointers . PCM_Source_CreateFromType { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PCM_Source_CreateFromType)) , Some (f) => f (sourcetype) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PCM_Source_Destroy (& self , src : * mut root :: PCM_source) { match self . pointers . PCM_Source_Destroy { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PCM_Source_Destroy)) , Some (f) => f (src) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PCM_Source_GetPeaks (& self , src : * mut root :: PCM_source , peakrate : f64 , starttime : f64 , numchannels : :: std :: os :: raw :: c_int , numsamplesperchannel : :: std :: os :: raw :: c_int , want_extra_type : :: std :: os :: raw :: c_int , buf : * mut f64) -> :: std :: os :: raw :: c_int { match self . pointers . PCM_Source_GetPeaks { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PCM_Source_GetPeaks)) , Some (f) => f (src , peakrate , starttime , numchannels , numsamplesperchannel , want_extra_type , buf) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PCM_Source_GetSectionInfo (& self , src : * mut root :: PCM_source , offsOut : * mut f64 , lenOut : * mut f64 , revOut : * mut bool) -> bool { match self . pointers . PCM_Source_GetSectionInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PCM_Source_GetSectionInfo)) , Some (f) => f (src , offsOut , lenOut , revOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PeakBuild_Create (& self , src : * mut root :: PCM_source , fn_ : * const :: std :: os :: raw :: c_char , srate : :: std :: os :: raw :: c_int , nch : :: std :: os :: raw :: c_int) -> * mut root :: REAPER_PeakBuild_Interface { match self . pointers . PeakBuild_Create { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PeakBuild_Create)) , Some (f) => f (src , fn_ , srate , nch) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PeakBuild_CreateEx (& self , src : * mut root :: PCM_source , fn_ : * const :: std :: os :: raw :: c_char , srate : :: std :: os :: raw :: c_int , nch : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> * mut root :: REAPER_PeakBuild_Interface { match self . pointers . PeakBuild_CreateEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PeakBuild_CreateEx)) , Some (f) => f (src , fn_ , srate , nch , flags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PeakGet_Create (& self , fn_ : * const :: std :: os :: raw :: c_char , srate : :: std :: os :: raw :: c_int , nch : :: std :: os :: raw :: c_int) -> * mut root :: REAPER_PeakGet_Interface { match self . pointers . PeakGet_Create { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PeakGet_Create)) , Some (f) => f (fn_ , srate , nch) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PitchShiftSubModeMenu (& self , hwnd : root :: HWND , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , mode : :: std :: os :: raw :: c_int , submode_sel : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . PitchShiftSubModeMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PitchShiftSubModeMenu)) , Some (f) => f (hwnd , x , y , mode , submode_sel) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PlayPreview (& self , preview : * mut root :: preview_register_t) -> :: std :: os :: raw :: c_int { match self . pointers . PlayPreview { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PlayPreview)) , Some (f) => f (preview) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PlayPreviewEx (& self , preview : * mut root :: preview_register_t , bufflags : :: std :: os :: raw :: c_int , measure_align : f64) -> :: std :: os :: raw :: c_int { match self . pointers . PlayPreviewEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PlayPreviewEx)) , Some (f) => f (preview , bufflags , measure_align) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PlayTrackPreview (& self , preview : * mut root :: preview_register_t) -> :: std :: os :: raw :: c_int { match self . pointers . PlayTrackPreview { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PlayTrackPreview)) , Some (f) => f (preview) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PlayTrackPreview2 (& self , proj : * mut root :: ReaProject , preview : * mut root :: preview_register_t) -> :: std :: os :: raw :: c_int { match self . pointers . PlayTrackPreview2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PlayTrackPreview2)) , Some (f) => f (proj , preview) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PlayTrackPreview2Ex (& self , proj : * mut root :: ReaProject , preview : * mut root :: preview_register_t , flags : :: std :: os :: raw :: c_int , measure_align : f64) -> :: std :: os :: raw :: c_int { match self . pointers . PlayTrackPreview2Ex { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PlayTrackPreview2Ex)) , Some (f) => f (proj , preview , flags , measure_align) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn plugin_getapi (& self , name : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void { match self . pointers . plugin_getapi { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (plugin_getapi)) , Some (f) => f (name) , } } pub fn plugin_getFilterList (& self) -> * const :: std :: os :: raw :: c_char { match self . pointers . plugin_getFilterList { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (plugin_getFilterList)) , Some (f) => f () , } } pub fn plugin_getImportableProjectFilterList (& self) -> * const :: std :: os :: raw :: c_char { match self . pointers . plugin_getImportableProjectFilterList { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (plugin_getImportableProjectFilterList)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn plugin_register (& self , name : * const :: std :: os :: raw :: c_char , infostruct : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int { match self . pointers . plugin_register { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (plugin_register)) , Some (f) => f (name , infostruct) , } } pub fn PluginWantsAlwaysRunFx (& self , amt : :: std :: os :: raw :: c_int) { match self . pointers . PluginWantsAlwaysRunFx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PluginWantsAlwaysRunFx)) , Some (f) => f (amt) , } } pub fn PreventUIRefresh (& self , prevent_count : :: std :: os :: raw :: c_int) { match self . pointers . PreventUIRefresh { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PreventUIRefresh)) , Some (f) => f (prevent_count) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn projectconfig_var_addr (& self , proj : * mut root :: ReaProject , idx : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_void { match self . pointers . projectconfig_var_addr { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (projectconfig_var_addr)) , Some (f) => f (proj , idx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn projectconfig_var_getoffs (& self , name : * const :: std :: os :: raw :: c_char , szOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . projectconfig_var_getoffs { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (projectconfig_var_getoffs)) , Some (f) => f (name , szOut) , } } pub fn PromptForAction (& self , session_mode : :: std :: os :: raw :: c_int , init_id : :: std :: os :: raw :: c_int , section_id : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . PromptForAction { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PromptForAction)) , Some (f) => f (session_mode , init_id , section_id) , } } pub fn realloc_cmd_clear (& self , tok : :: std :: os :: raw :: c_int) { match self . pointers . realloc_cmd_clear { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (realloc_cmd_clear)) , Some (f) => f (tok) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn realloc_cmd_ptr (& self , ptr : * mut * mut :: std :: os :: raw :: c_char , ptr_size : * mut :: std :: os :: raw :: c_int , new_size : :: std :: os :: raw :: c_int) -> bool { match self . pointers . realloc_cmd_ptr { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (realloc_cmd_ptr)) , Some (f) => f (ptr , ptr_size , new_size) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn realloc_cmd_register_buf (& self , ptr : * mut * mut :: std :: os :: raw :: c_char , ptr_size : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . realloc_cmd_register_buf { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (realloc_cmd_register_buf)) , Some (f) => f (ptr , ptr_size) , } } pub fn ReaperGetPitchShiftAPI (& self , version : :: std :: os :: raw :: c_int) -> * mut root :: IReaperPitchShift { match self . pointers . ReaperGetPitchShiftAPI { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ReaperGetPitchShiftAPI)) , Some (f) => f (version) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ReaScriptError (& self , errmsg : * const :: std :: os :: raw :: c_char) { match self . pointers . ReaScriptError { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ReaScriptError)) , Some (f) => f (errmsg) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn RecursiveCreateDirectory (& self , path : * const :: std :: os :: raw :: c_char , ignored : usize) -> :: std :: os :: raw :: c_int { match self . pointers . RecursiveCreateDirectory { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (RecursiveCreateDirectory)) , Some (f) => f (path , ignored) , } } pub fn reduce_open_files (& self , flags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . reduce_open_files { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (reduce_open_files)) , Some (f) => f (flags) , } } pub fn RefreshToolbar (& self , command_id : :: std :: os :: raw :: c_int) { match self . pointers . RefreshToolbar { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (RefreshToolbar)) , Some (f) => f (command_id) , } } pub fn RefreshToolbar2 (& self , section_id : :: std :: os :: raw :: c_int , command_id : :: std :: os :: raw :: c_int) { match self . pointers . RefreshToolbar2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (RefreshToolbar2)) , Some (f) => f (section_id , command_id) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn relative_fn (& self , in_ : * const :: std :: os :: raw :: c_char , out : * mut :: std :: os :: raw :: c_char , out_sz : :: std :: os :: raw :: c_int) { match self . pointers . relative_fn { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (relative_fn)) , Some (f) => f (in_ , out , out_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn RemoveTrackSend (& self , tr : * mut root :: MediaTrack , category : :: std :: os :: raw :: c_int , sendidx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . RemoveTrackSend { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (RemoveTrackSend)) , Some (f) => f (tr , category , sendidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn RenderFileSection (& self , source_filename : * const :: std :: os :: raw :: c_char , target_filename : * const :: std :: os :: raw :: c_char , start_percent : f64 , end_percent : f64 , playrate : f64) -> bool { match self . pointers . RenderFileSection { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (RenderFileSection)) , Some (f) => f (source_filename , target_filename , start_percent , end_percent , playrate) , } } pub fn ReorderSelectedTracks (& self , beforeTrackIdx : :: std :: os :: raw :: c_int , makePrevFolder : :: std :: os :: raw :: c_int) -> bool { match self . pointers . ReorderSelectedTracks { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ReorderSelectedTracks)) , Some (f) => f (beforeTrackIdx , makePrevFolder) , } } pub fn Resample_EnumModes (& self , mode : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . Resample_EnumModes { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Resample_EnumModes)) , Some (f) => f (mode) , } } pub fn Resampler_Create (& self) -> * mut root :: REAPER_Resample_Interface { match self . pointers . Resampler_Create { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Resampler_Create)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn resolve_fn (& self , in_ : * const :: std :: os :: raw :: c_char , out : * mut :: std :: os :: raw :: c_char , out_sz : :: std :: os :: raw :: c_int) { match self . pointers . resolve_fn { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (resolve_fn)) , Some (f) => f (in_ , out , out_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn resolve_fn2 (& self , in_ : * const :: std :: os :: raw :: c_char , out : * mut :: std :: os :: raw :: c_char , out_sz : :: std :: os :: raw :: c_int , checkSubDirOptional : * const :: std :: os :: raw :: c_char) { match self . pointers . resolve_fn2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (resolve_fn2)) , Some (f) => f (in_ , out , out_sz , checkSubDirOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ResolveRenderPattern (& self , project : * mut root :: ReaProject , path : * const :: std :: os :: raw :: c_char , pattern : * const :: std :: os :: raw :: c_char , targets : * mut :: std :: os :: raw :: c_char , targets_sz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . ResolveRenderPattern { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ResolveRenderPattern)) , Some (f) => f (project , path , pattern , targets , targets_sz) , } } pub fn ReverseNamedCommandLookup (& self , command_id : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . ReverseNamedCommandLookup { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ReverseNamedCommandLookup)) , Some (f) => f (command_id) , } } pub fn ScaleFromEnvelopeMode (& self , scaling_mode : :: std :: os :: raw :: c_int , val : f64) -> f64 { match self . pointers . ScaleFromEnvelopeMode { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ScaleFromEnvelopeMode)) , Some (f) => f (scaling_mode , val) , } } pub fn ScaleToEnvelopeMode (& self , scaling_mode : :: std :: os :: raw :: c_int , val : f64) -> f64 { match self . pointers . ScaleToEnvelopeMode { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ScaleToEnvelopeMode)) , Some (f) => f (scaling_mode , val) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn screenset_register (& self , id : * mut :: std :: os :: raw :: c_char , callbackFunc : * mut :: std :: os :: raw :: c_void , param : * mut :: std :: os :: raw :: c_void) { match self . pointers . screenset_register { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (screenset_register)) , Some (f) => f (id , callbackFunc , param) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn screenset_registerNew (& self , id : * mut :: std :: os :: raw :: c_char , callbackFunc : root :: screensetNewCallbackFunc , param : * mut :: std :: os :: raw :: c_void) { match self . pointers . screenset_registerNew { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (screenset_registerNew)) , Some (f) => f (id , callbackFunc , param) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn screenset_unregister (& self , id : * mut :: std :: os :: raw :: c_char) { match self . pointers . screenset_unregister { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (screenset_unregister)) , Some (f) => f (id) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn screenset_unregisterByParam (& self , param : * mut :: std :: os :: raw :: c_void) { match self . pointers . screenset_unregisterByParam { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (screenset_unregisterByParam)) , Some (f) => f (param) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn screenset_updateLastFocus (& self , prevWin : root :: HWND) { match self . pointers . screenset_updateLastFocus { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (screenset_updateLastFocus)) , Some (f) => f (prevWin) , } } pub fn SectionFromUniqueID (& self , uniqueID : :: std :: os :: raw :: c_int) -> * mut root :: KbdSectionInfo { match self . pointers . SectionFromUniqueID { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SectionFromUniqueID)) , Some (f) => f (uniqueID) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SelectAllMediaItems (& self , proj : * mut root :: ReaProject , selected : bool) { match self . pointers . SelectAllMediaItems { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SelectAllMediaItems)) , Some (f) => f (proj , selected) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SelectProjectInstance (& self , proj : * mut root :: ReaProject) { match self . pointers . SelectProjectInstance { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SelectProjectInstance)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SendLocalOscMessage (& self , local_osc_handler : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , msglen : :: std :: os :: raw :: c_int) { match self . pointers . SendLocalOscMessage { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SendLocalOscMessage)) , Some (f) => f (local_osc_handler , msg , msglen) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SendMIDIMessageToHardware (& self , output : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , msg_sz : :: std :: os :: raw :: c_int) { match self . pointers . SendMIDIMessageToHardware { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SendMIDIMessageToHardware)) , Some (f) => f (output , msg , msg_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetActiveTake (& self , take : * mut root :: MediaItem_Take) { match self . pointers . SetActiveTake { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetActiveTake)) , Some (f) => f (take) , } } pub fn SetAutomationMode (& self , mode : :: std :: os :: raw :: c_int , onlySel : bool) { match self . pointers . SetAutomationMode { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetAutomationMode)) , Some (f) => f (mode , onlySel) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetCurrentBPM (& self , __proj : * mut root :: ReaProject , bpm : f64 , wantUndo : bool) { match self . pointers . SetCurrentBPM { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetCurrentBPM)) , Some (f) => f (__proj , bpm , wantUndo) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetCursorContext (& self , mode : :: std :: os :: raw :: c_int , envInOptional : * mut root :: TrackEnvelope) { match self . pointers . SetCursorContext { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetCursorContext)) , Some (f) => f (mode , envInOptional) , } } pub fn SetEditCurPos (& self , time : f64 , moveview : bool , seekplay : bool) { match self . pointers . SetEditCurPos { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetEditCurPos)) , Some (f) => f (time , moveview , seekplay) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetEditCurPos2 (& self , proj : * mut root :: ReaProject , time : f64 , moveview : bool , seekplay : bool) { match self . pointers . SetEditCurPos2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetEditCurPos2)) , Some (f) => f (proj , time , moveview , seekplay) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetEnvelopePoint (& self , envelope : * mut root :: TrackEnvelope , ptidx : :: std :: os :: raw :: c_int , timeInOptional : * mut f64 , valueInOptional : * mut f64 , shapeInOptional : * mut :: std :: os :: raw :: c_int , tensionInOptional : * mut f64 , selectedInOptional : * mut bool , noSortInOptional : * mut bool) -> bool { match self . pointers . SetEnvelopePoint { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetEnvelopePoint)) , Some (f) => f (envelope , ptidx , timeInOptional , valueInOptional , shapeInOptional , tensionInOptional , selectedInOptional , noSortInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetEnvelopePointEx (& self , envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , ptidx : :: std :: os :: raw :: c_int , timeInOptional : * mut f64 , valueInOptional : * mut f64 , shapeInOptional : * mut :: std :: os :: raw :: c_int , tensionInOptional : * mut f64 , selectedInOptional : * mut bool , noSortInOptional : * mut bool) -> bool { match self . pointers . SetEnvelopePointEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetEnvelopePointEx)) , Some (f) => f (envelope , autoitem_idx , ptidx , timeInOptional , valueInOptional , shapeInOptional , tensionInOptional , selectedInOptional , noSortInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetEnvelopeStateChunk (& self , env : * mut root :: TrackEnvelope , str : * const :: std :: os :: raw :: c_char , isundoOptional : bool) -> bool { match self . pointers . SetEnvelopeStateChunk { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetEnvelopeStateChunk)) , Some (f) => f (env , str , isundoOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetExtState (& self , section : * const :: std :: os :: raw :: c_char , key : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char , persist : bool) { match self . pointers . SetExtState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetExtState)) , Some (f) => f (section , key , value , persist) , } } pub fn SetGlobalAutomationOverride (& self , mode : :: std :: os :: raw :: c_int) { match self . pointers . SetGlobalAutomationOverride { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetGlobalAutomationOverride)) , Some (f) => f (mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetItemStateChunk (& self , item : * mut root :: MediaItem , str : * const :: std :: os :: raw :: c_char , isundoOptional : bool) -> bool { match self . pointers . SetItemStateChunk { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetItemStateChunk)) , Some (f) => f (item , str , isundoOptional) , } } pub fn SetMasterTrackVisibility (& self , flag : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . SetMasterTrackVisibility { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetMasterTrackVisibility)) , Some (f) => f (flag) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetMediaItemInfo_Value (& self , item : * mut root :: MediaItem , parmname : * const :: std :: os :: raw :: c_char , newvalue : f64) -> bool { match self . pointers . SetMediaItemInfo_Value { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetMediaItemInfo_Value)) , Some (f) => f (item , parmname , newvalue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetMediaItemLength (& self , item : * mut root :: MediaItem , length : f64 , refreshUI : bool) -> bool { match self . pointers . SetMediaItemLength { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetMediaItemLength)) , Some (f) => f (item , length , refreshUI) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetMediaItemPosition (& self , item : * mut root :: MediaItem , position : f64 , refreshUI : bool) -> bool { match self . pointers . SetMediaItemPosition { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetMediaItemPosition)) , Some (f) => f (item , position , refreshUI) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetMediaItemSelected (& self , item : * mut root :: MediaItem , selected : bool) { match self . pointers . SetMediaItemSelected { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetMediaItemSelected)) , Some (f) => f (item , selected) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetMediaItemTake_Source (& self , take : * mut root :: MediaItem_Take , source : * mut root :: PCM_source) -> bool { match self . pointers . SetMediaItemTake_Source { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetMediaItemTake_Source)) , Some (f) => f (take , source) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetMediaItemTakeInfo_Value (& self , take : * mut root :: MediaItem_Take , parmname : * const :: std :: os :: raw :: c_char , newvalue : f64) -> bool { match self . pointers . SetMediaItemTakeInfo_Value { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetMediaItemTakeInfo_Value)) , Some (f) => f (take , parmname , newvalue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetMediaTrackInfo_Value (& self , tr : * mut root :: MediaTrack , parmname : * const :: std :: os :: raw :: c_char , newvalue : f64) -> bool { match self . pointers . SetMediaTrackInfo_Value { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetMediaTrackInfo_Value)) , Some (f) => f (tr , parmname , newvalue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetMIDIEditorGrid (& self , project : * mut root :: ReaProject , division : f64) { match self . pointers . SetMIDIEditorGrid { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetMIDIEditorGrid)) , Some (f) => f (project , division) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetMixerScroll (& self , leftmosttrack : * mut root :: MediaTrack) -> * mut root :: MediaTrack { match self . pointers . SetMixerScroll { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetMixerScroll)) , Some (f) => f (leftmosttrack) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetMouseModifier (& self , context : * const :: std :: os :: raw :: c_char , modifier_flag : :: std :: os :: raw :: c_int , action : * const :: std :: os :: raw :: c_char) { match self . pointers . SetMouseModifier { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetMouseModifier)) , Some (f) => f (context , modifier_flag , action) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetOnlyTrackSelected (& self , track : * mut root :: MediaTrack) { match self . pointers . SetOnlyTrackSelected { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetOnlyTrackSelected)) , Some (f) => f (track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetProjectGrid (& self , project : * mut root :: ReaProject , division : f64) { match self . pointers . SetProjectGrid { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetProjectGrid)) , Some (f) => f (project , division) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetProjectMarker (& self , markrgnindexnumber : :: std :: os :: raw :: c_int , isrgn : bool , pos : f64 , rgnend : f64 , name : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . SetProjectMarker { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetProjectMarker)) , Some (f) => f (markrgnindexnumber , isrgn , pos , rgnend , name) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetProjectMarker2 (& self , proj : * mut root :: ReaProject , markrgnindexnumber : :: std :: os :: raw :: c_int , isrgn : bool , pos : f64 , rgnend : f64 , name : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . SetProjectMarker2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetProjectMarker2)) , Some (f) => f (proj , markrgnindexnumber , isrgn , pos , rgnend , name) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetProjectMarker3 (& self , proj : * mut root :: ReaProject , markrgnindexnumber : :: std :: os :: raw :: c_int , isrgn : bool , pos : f64 , rgnend : f64 , name : * const :: std :: os :: raw :: c_char , color : :: std :: os :: raw :: c_int) -> bool { match self . pointers . SetProjectMarker3 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetProjectMarker3)) , Some (f) => f (proj , markrgnindexnumber , isrgn , pos , rgnend , name , color) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetProjectMarker4 (& self , proj : * mut root :: ReaProject , markrgnindexnumber : :: std :: os :: raw :: c_int , isrgn : bool , pos : f64 , rgnend : f64 , name : * const :: std :: os :: raw :: c_char , color : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> bool { match self . pointers . SetProjectMarker4 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetProjectMarker4)) , Some (f) => f (proj , markrgnindexnumber , isrgn , pos , rgnend , name , color , flags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetProjectMarkerByIndex (& self , proj : * mut root :: ReaProject , markrgnidx : :: std :: os :: raw :: c_int , isrgn : bool , pos : f64 , rgnend : f64 , IDnumber : :: std :: os :: raw :: c_int , name : * const :: std :: os :: raw :: c_char , color : :: std :: os :: raw :: c_int) -> bool { match self . pointers . SetProjectMarkerByIndex { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetProjectMarkerByIndex)) , Some (f) => f (proj , markrgnidx , isrgn , pos , rgnend , IDnumber , name , color) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetProjectMarkerByIndex2 (& self , proj : * mut root :: ReaProject , markrgnidx : :: std :: os :: raw :: c_int , isrgn : bool , pos : f64 , rgnend : f64 , IDnumber : :: std :: os :: raw :: c_int , name : * const :: std :: os :: raw :: c_char , color : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> bool { match self . pointers . SetProjectMarkerByIndex2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetProjectMarkerByIndex2)) , Some (f) => f (proj , markrgnidx , isrgn , pos , rgnend , IDnumber , name , color , flags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetProjExtState (& self , proj : * mut root :: ReaProject , extname : * const :: std :: os :: raw :: c_char , key : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { match self . pointers . SetProjExtState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetProjExtState)) , Some (f) => f (proj , extname , key , value) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetRegionRenderMatrix (& self , proj : * mut root :: ReaProject , regionindex : :: std :: os :: raw :: c_int , track : * mut root :: MediaTrack , flag : :: std :: os :: raw :: c_int) { match self . pointers . SetRegionRenderMatrix { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetRegionRenderMatrix)) , Some (f) => f (proj , regionindex , track , flag) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetRenderLastError (& self , errorstr : * const :: std :: os :: raw :: c_char) { match self . pointers . SetRenderLastError { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetRenderLastError)) , Some (f) => f (errorstr) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTakeMarker (& self , take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int , nameIn : * const :: std :: os :: raw :: c_char , srcposInOptional : * mut f64 , colorInOptional : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . SetTakeMarker { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTakeMarker)) , Some (f) => f (take , idx , nameIn , srcposInOptional , colorInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTakeStretchMarker (& self , take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int , pos : f64 , srcposInOptional : * const f64) -> :: std :: os :: raw :: c_int { match self . pointers . SetTakeStretchMarker { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTakeStretchMarker)) , Some (f) => f (take , idx , pos , srcposInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTakeStretchMarkerSlope (& self , take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int , slope : f64) -> bool { match self . pointers . SetTakeStretchMarkerSlope { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTakeStretchMarkerSlope)) , Some (f) => f (take , idx , slope) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTempoTimeSigMarker (& self , proj : * mut root :: ReaProject , ptidx : :: std :: os :: raw :: c_int , timepos : f64 , measurepos : :: std :: os :: raw :: c_int , beatpos : f64 , bpm : f64 , timesig_num : :: std :: os :: raw :: c_int , timesig_denom : :: std :: os :: raw :: c_int , lineartempo : bool) -> bool { match self . pointers . SetTempoTimeSigMarker { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTempoTimeSigMarker)) , Some (f) => f (proj , ptidx , timepos , measurepos , beatpos , bpm , timesig_num , timesig_denom , lineartempo) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetThemeColor (& self , ini_key : * const :: std :: os :: raw :: c_char , color : :: std :: os :: raw :: c_int , flagsOptional : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . SetThemeColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetThemeColor)) , Some (f) => f (ini_key , color , flagsOptional) , } } pub fn SetToggleCommandState (& self , section_id : :: std :: os :: raw :: c_int , command_id : :: std :: os :: raw :: c_int , state : :: std :: os :: raw :: c_int) -> bool { match self . pointers . SetToggleCommandState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetToggleCommandState)) , Some (f) => f (section_id , command_id , state) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackAutomationMode (& self , tr : * mut root :: MediaTrack , mode : :: std :: os :: raw :: c_int) { match self . pointers . SetTrackAutomationMode { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackAutomationMode)) , Some (f) => f (tr , mode) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackColor (& self , track : * mut root :: MediaTrack , color : :: std :: os :: raw :: c_int) { match self . pointers . SetTrackColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackColor)) , Some (f) => f (track , color) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackMIDILyrics (& self , track : * mut root :: MediaTrack , flag : :: std :: os :: raw :: c_int , str : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . SetTrackMIDILyrics { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackMIDILyrics)) , Some (f) => f (track , flag , str) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackMIDINoteName (& self , track : :: std :: os :: raw :: c_int , pitch : :: std :: os :: raw :: c_int , chan : :: std :: os :: raw :: c_int , name : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . SetTrackMIDINoteName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackMIDINoteName)) , Some (f) => f (track , pitch , chan , name) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackMIDINoteNameEx (& self , proj : * mut root :: ReaProject , track : * mut root :: MediaTrack , pitch : :: std :: os :: raw :: c_int , chan : :: std :: os :: raw :: c_int , name : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . SetTrackMIDINoteNameEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackMIDINoteNameEx)) , Some (f) => f (proj , track , pitch , chan , name) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackSelected (& self , track : * mut root :: MediaTrack , selected : bool) { match self . pointers . SetTrackSelected { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackSelected)) , Some (f) => f (track , selected) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackSendInfo_Value (& self , tr : * mut root :: MediaTrack , category : :: std :: os :: raw :: c_int , sendidx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char , newvalue : f64) -> bool { match self . pointers . SetTrackSendInfo_Value { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackSendInfo_Value)) , Some (f) => f (tr , category , sendidx , parmname , newvalue) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackSendUIPan (& self , track : * mut root :: MediaTrack , send_idx : :: std :: os :: raw :: c_int , pan : f64 , isend : :: std :: os :: raw :: c_int) -> bool { match self . pointers . SetTrackSendUIPan { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackSendUIPan)) , Some (f) => f (track , send_idx , pan , isend) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackSendUIVol (& self , track : * mut root :: MediaTrack , send_idx : :: std :: os :: raw :: c_int , vol : f64 , isend : :: std :: os :: raw :: c_int) -> bool { match self . pointers . SetTrackSendUIVol { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackSendUIVol)) , Some (f) => f (track , send_idx , vol , isend) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackStateChunk (& self , track : * mut root :: MediaTrack , str : * const :: std :: os :: raw :: c_char , isundoOptional : bool) -> bool { match self . pointers . SetTrackStateChunk { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackStateChunk)) , Some (f) => f (track , str , isundoOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackUIInputMonitor (& self , track : * mut root :: MediaTrack , monitor : :: std :: os :: raw :: c_int , igngroupflags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . SetTrackUIInputMonitor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackUIInputMonitor)) , Some (f) => f (track , monitor , igngroupflags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackUIMute (& self , track : * mut root :: MediaTrack , mute : :: std :: os :: raw :: c_int , igngroupflags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . SetTrackUIMute { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackUIMute)) , Some (f) => f (track , mute , igngroupflags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackUIPan (& self , track : * mut root :: MediaTrack , pan : f64 , relative : bool , done : bool , igngroupflags : :: std :: os :: raw :: c_int) -> f64 { match self . pointers . SetTrackUIPan { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackUIPan)) , Some (f) => f (track , pan , relative , done , igngroupflags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackUIPolarity (& self , track : * mut root :: MediaTrack , polarity : :: std :: os :: raw :: c_int , igngroupflags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . SetTrackUIPolarity { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackUIPolarity)) , Some (f) => f (track , polarity , igngroupflags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackUIRecArm (& self , track : * mut root :: MediaTrack , recarm : :: std :: os :: raw :: c_int , igngroupflags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . SetTrackUIRecArm { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackUIRecArm)) , Some (f) => f (track , recarm , igngroupflags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackUISolo (& self , track : * mut root :: MediaTrack , solo : :: std :: os :: raw :: c_int , igngroupflags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . SetTrackUISolo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackUISolo)) , Some (f) => f (track , solo , igngroupflags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackUIVolume (& self , track : * mut root :: MediaTrack , volume : f64 , relative : bool , done : bool , igngroupflags : :: std :: os :: raw :: c_int) -> f64 { match self . pointers . SetTrackUIVolume { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackUIVolume)) , Some (f) => f (track , volume , relative , done , igngroupflags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTrackUIWidth (& self , track : * mut root :: MediaTrack , width : f64 , relative : bool , done : bool , igngroupflags : :: std :: os :: raw :: c_int) -> f64 { match self . pointers . SetTrackUIWidth { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTrackUIWidth)) , Some (f) => f (track , width , relative , done , igngroupflags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ShowActionList (& self , section : * mut root :: KbdSectionInfo , callerWnd : root :: HWND) { match self . pointers . ShowActionList { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ShowActionList)) , Some (f) => f (section , callerWnd) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ShowConsoleMsg (& self , msg : * const :: std :: os :: raw :: c_char) { match self . pointers . ShowConsoleMsg { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ShowConsoleMsg)) , Some (f) => f (msg) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ShowMessageBox (& self , msg : * const :: std :: os :: raw :: c_char , title : * const :: std :: os :: raw :: c_char , type_ : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . ShowMessageBox { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ShowMessageBox)) , Some (f) => f (msg , title , type_) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ShowPopupMenu (& self , name : * const :: std :: os :: raw :: c_char , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , hwndParentOptional : root :: HWND , ctxOptional : * mut :: std :: os :: raw :: c_void , ctx2Optional : :: std :: os :: raw :: c_int , ctx3Optional : :: std :: os :: raw :: c_int) { match self . pointers . ShowPopupMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ShowPopupMenu)) , Some (f) => f (name , x , y , hwndParentOptional , ctxOptional , ctx2Optional , ctx3Optional) , } } pub fn SLIDER2DB (& self , y : f64) -> f64 { match self . pointers . SLIDER2DB { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SLIDER2DB)) , Some (f) => f (y) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SnapToGrid (& self , project : * mut root :: ReaProject , time_pos : f64) -> f64 { match self . pointers . SnapToGrid { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SnapToGrid)) , Some (f) => f (project , time_pos) , } } pub fn SoloAllTracks (& self , solo : :: std :: os :: raw :: c_int) { match self . pointers . SoloAllTracks { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SoloAllTracks)) , Some (f) => f (solo) , } } pub fn Splash_GetWnd (& self) -> root :: HWND { match self . pointers . Splash_GetWnd { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Splash_GetWnd)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SplitMediaItem (& self , item : * mut root :: MediaItem , position : f64) -> * mut root :: MediaItem { match self . pointers . SplitMediaItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SplitMediaItem)) , Some (f) => f (item , position) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn StopPreview (& self , preview : * mut root :: preview_register_t) -> :: std :: os :: raw :: c_int { match self . pointers . StopPreview { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (StopPreview)) , Some (f) => f (preview) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn StopTrackPreview (& self , preview : * mut root :: preview_register_t) -> :: std :: os :: raw :: c_int { match self . pointers . StopTrackPreview { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (StopTrackPreview)) , Some (f) => f (preview) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn StopTrackPreview2 (& self , proj : * mut root :: ReaProject , preview : * mut root :: preview_register_t) -> :: std :: os :: raw :: c_int { match self . pointers . StopTrackPreview2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (StopTrackPreview2)) , Some (f) => f (proj , preview) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn stringToGuid (& self , str : * const :: std :: os :: raw :: c_char , g : * mut root :: GUID) { match self . pointers . stringToGuid { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (stringToGuid)) , Some (f) => f (str , g) , } } pub fn StuffMIDIMessage (& self , mode : :: std :: os :: raw :: c_int , msg1 : :: std :: os :: raw :: c_int , msg2 : :: std :: os :: raw :: c_int , msg3 : :: std :: os :: raw :: c_int) { match self . pointers . StuffMIDIMessage { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (StuffMIDIMessage)) , Some (f) => f (mode , msg1 , msg2 , msg3) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_AddByName (& self , take : * mut root :: MediaItem_Take , fxname : * const :: std :: os :: raw :: c_char , instantiate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . TakeFX_AddByName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_AddByName)) , Some (f) => f (take , fxname , instantiate) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_CopyToTake (& self , src_take : * mut root :: MediaItem_Take , src_fx : :: std :: os :: raw :: c_int , dest_take : * mut root :: MediaItem_Take , dest_fx : :: std :: os :: raw :: c_int , is_move : bool) { match self . pointers . TakeFX_CopyToTake { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_CopyToTake)) , Some (f) => f (src_take , src_fx , dest_take , dest_fx , is_move) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_CopyToTrack (& self , src_take : * mut root :: MediaItem_Take , src_fx : :: std :: os :: raw :: c_int , dest_track : * mut root :: MediaTrack , dest_fx : :: std :: os :: raw :: c_int , is_move : bool) { match self . pointers . TakeFX_CopyToTrack { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_CopyToTrack)) , Some (f) => f (src_take , src_fx , dest_track , dest_fx , is_move) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_Delete (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_Delete { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_Delete)) , Some (f) => f (take , fx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_EndParamEdit (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_EndParamEdit { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_EndParamEdit)) , Some (f) => f (take , fx , param) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_FormatParamValue (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , val : f64 , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_FormatParamValue { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_FormatParamValue)) , Some (f) => f (take , fx , param , val , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_FormatParamValueNormalized (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , value : f64 , buf : * mut :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_FormatParamValueNormalized { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_FormatParamValueNormalized)) , Some (f) => f (take , fx , param , value , buf , buf_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetChainVisible (& self , take : * mut root :: MediaItem_Take) -> :: std :: os :: raw :: c_int { match self . pointers . TakeFX_GetChainVisible { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetChainVisible)) , Some (f) => f (take) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetCount (& self , take : * mut root :: MediaItem_Take) -> :: std :: os :: raw :: c_int { match self . pointers . TakeFX_GetCount { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetCount)) , Some (f) => f (take) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetEnabled (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_GetEnabled { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetEnabled)) , Some (f) => f (take , fx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetEnvelope (& self , take : * mut root :: MediaItem_Take , fxindex : :: std :: os :: raw :: c_int , parameterindex : :: std :: os :: raw :: c_int , create : bool) -> * mut root :: TrackEnvelope { match self . pointers . TakeFX_GetEnvelope { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetEnvelope)) , Some (f) => f (take , fxindex , parameterindex , create) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetFloatingWindow (& self , take : * mut root :: MediaItem_Take , index : :: std :: os :: raw :: c_int) -> root :: HWND { match self . pointers . TakeFX_GetFloatingWindow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetFloatingWindow)) , Some (f) => f (take , index) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetFormattedParamValue (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_GetFormattedParamValue { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetFormattedParamValue)) , Some (f) => f (take , fx , param , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetFXGUID (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int) -> * mut root :: GUID { match self . pointers . TakeFX_GetFXGUID { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetFXGUID)) , Some (f) => f (take , fx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetFXName (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_GetFXName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetFXName)) , Some (f) => f (take , fx , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetIOSize (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , inputPinsOut : * mut :: std :: os :: raw :: c_int , outputPinsOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . TakeFX_GetIOSize { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetIOSize)) , Some (f) => f (take , fx , inputPinsOut , outputPinsOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetNamedConfigParm (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char , bufOutNeedBig : * mut :: std :: os :: raw :: c_char , bufOutNeedBig_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_GetNamedConfigParm { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetNamedConfigParm)) , Some (f) => f (take , fx , parmname , bufOutNeedBig , bufOutNeedBig_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetNumParams (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . TakeFX_GetNumParams { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetNumParams)) , Some (f) => f (take , fx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetOffline (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_GetOffline { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetOffline)) , Some (f) => f (take , fx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetOpen (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_GetOpen { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetOpen)) , Some (f) => f (take , fx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetParam (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , minvalOut : * mut f64 , maxvalOut : * mut f64) -> f64 { match self . pointers . TakeFX_GetParam { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetParam)) , Some (f) => f (take , fx , param , minvalOut , maxvalOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetParameterStepSizes (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , stepOut : * mut f64 , smallstepOut : * mut f64 , largestepOut : * mut f64 , istoggleOut : * mut bool) -> bool { match self . pointers . TakeFX_GetParameterStepSizes { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetParameterStepSizes)) , Some (f) => f (take , fx , param , stepOut , smallstepOut , largestepOut , istoggleOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetParamEx (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , minvalOut : * mut f64 , maxvalOut : * mut f64 , midvalOut : * mut f64) -> f64 { match self . pointers . TakeFX_GetParamEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetParamEx)) , Some (f) => f (take , fx , param , minvalOut , maxvalOut , midvalOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetParamFromIdent (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , ident_str : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { match self . pointers . TakeFX_GetParamFromIdent { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetParamFromIdent)) , Some (f) => f (take , fx , ident_str) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetParamIdent (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_GetParamIdent { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetParamIdent)) , Some (f) => f (take , fx , param , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetParamName (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_GetParamName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetParamName)) , Some (f) => f (take , fx , param , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetParamNormalized (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int) -> f64 { match self . pointers . TakeFX_GetParamNormalized { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetParamNormalized)) , Some (f) => f (take , fx , param) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetPinMappings (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , isoutput : :: std :: os :: raw :: c_int , pin : :: std :: os :: raw :: c_int , high32Out : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . TakeFX_GetPinMappings { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetPinMappings)) , Some (f) => f (take , fx , isoutput , pin , high32Out) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetPreset (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , presetnameOut : * mut :: std :: os :: raw :: c_char , presetnameOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_GetPreset { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetPreset)) , Some (f) => f (take , fx , presetnameOut , presetnameOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetPresetIndex (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , numberOfPresetsOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . TakeFX_GetPresetIndex { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetPresetIndex)) , Some (f) => f (take , fx , numberOfPresetsOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_GetUserPresetFilename (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , fnOut : * mut :: std :: os :: raw :: c_char , fnOut_sz : :: std :: os :: raw :: c_int) { match self . pointers . TakeFX_GetUserPresetFilename { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_GetUserPresetFilename)) , Some (f) => f (take , fx , fnOut , fnOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_NavigatePresets (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , presetmove : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_NavigatePresets { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_NavigatePresets)) , Some (f) => f (take , fx , presetmove) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_SetEnabled (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , enabled : bool) { match self . pointers . TakeFX_SetEnabled { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_SetEnabled)) , Some (f) => f (take , fx , enabled) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_SetNamedConfigParm (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . TakeFX_SetNamedConfigParm { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_SetNamedConfigParm)) , Some (f) => f (take , fx , parmname , value) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_SetOffline (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , offline : bool) { match self . pointers . TakeFX_SetOffline { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_SetOffline)) , Some (f) => f (take , fx , offline) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_SetOpen (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , open : bool) { match self . pointers . TakeFX_SetOpen { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_SetOpen)) , Some (f) => f (take , fx , open) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_SetParam (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , val : f64) -> bool { match self . pointers . TakeFX_SetParam { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_SetParam)) , Some (f) => f (take , fx , param , val) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_SetParamNormalized (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , value : f64) -> bool { match self . pointers . TakeFX_SetParamNormalized { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_SetParamNormalized)) , Some (f) => f (take , fx , param , value) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_SetPinMappings (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , isoutput : :: std :: os :: raw :: c_int , pin : :: std :: os :: raw :: c_int , low32bits : :: std :: os :: raw :: c_int , hi32bits : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_SetPinMappings { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_SetPinMappings)) , Some (f) => f (take , fx , isoutput , pin , low32bits , hi32bits) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_SetPreset (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , presetname : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . TakeFX_SetPreset { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_SetPreset)) , Some (f) => f (take , fx , presetname) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_SetPresetByIndex (& self , take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , idx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TakeFX_SetPresetByIndex { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_SetPresetByIndex)) , Some (f) => f (take , fx , idx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeFX_Show (& self , take : * mut root :: MediaItem_Take , index : :: std :: os :: raw :: c_int , showFlag : :: std :: os :: raw :: c_int) { match self . pointers . TakeFX_Show { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeFX_Show)) , Some (f) => f (take , index , showFlag) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TakeIsMIDI (& self , take : * mut root :: MediaItem_Take) -> bool { match self . pointers . TakeIsMIDI { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TakeIsMIDI)) , Some (f) => f (take) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ThemeLayout_GetLayout (& self , section : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , nameOut : * mut :: std :: os :: raw :: c_char , nameOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . ThemeLayout_GetLayout { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ThemeLayout_GetLayout)) , Some (f) => f (section , idx , nameOut , nameOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ThemeLayout_GetParameter (& self , wp : :: std :: os :: raw :: c_int , descOutOptional : * mut * const :: std :: os :: raw :: c_char , valueOutOptional : * mut :: std :: os :: raw :: c_int , defValueOutOptional : * mut :: std :: os :: raw :: c_int , minValueOutOptional : * mut :: std :: os :: raw :: c_int , maxValueOutOptional : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char { match self . pointers . ThemeLayout_GetParameter { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ThemeLayout_GetParameter)) , Some (f) => f (wp , descOutOptional , valueOutOptional , defValueOutOptional , minValueOutOptional , maxValueOutOptional) , } } pub fn ThemeLayout_RefreshAll (& self) { match self . pointers . ThemeLayout_RefreshAll { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ThemeLayout_RefreshAll)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ThemeLayout_SetLayout (& self , section : * const :: std :: os :: raw :: c_char , layout : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . ThemeLayout_SetLayout { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ThemeLayout_SetLayout)) , Some (f) => f (section , layout) , } } pub fn ThemeLayout_SetParameter (& self , wp : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int , persist : bool) -> bool { match self . pointers . ThemeLayout_SetParameter { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ThemeLayout_SetParameter)) , Some (f) => f (wp , value , persist) , } } pub fn time_precise (& self) -> f64 { match self . pointers . time_precise { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (time_precise)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TimeMap2_beatsToTime (& self , proj : * mut root :: ReaProject , tpos : f64 , measuresInOptional : * const :: std :: os :: raw :: c_int) -> f64 { match self . pointers . TimeMap2_beatsToTime { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap2_beatsToTime)) , Some (f) => f (proj , tpos , measuresInOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TimeMap2_GetDividedBpmAtTime (& self , proj : * mut root :: ReaProject , time : f64) -> f64 { match self . pointers . TimeMap2_GetDividedBpmAtTime { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap2_GetDividedBpmAtTime)) , Some (f) => f (proj , time) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TimeMap2_GetNextChangeTime (& self , proj : * mut root :: ReaProject , time : f64) -> f64 { match self . pointers . TimeMap2_GetNextChangeTime { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap2_GetNextChangeTime)) , Some (f) => f (proj , time) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TimeMap2_QNToTime (& self , proj : * mut root :: ReaProject , qn : f64) -> f64 { match self . pointers . TimeMap2_QNToTime { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap2_QNToTime)) , Some (f) => f (proj , qn) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TimeMap2_timeToBeats (& self , proj : * mut root :: ReaProject , tpos : f64 , measuresOutOptional : * mut :: std :: os :: raw :: c_int , cmlOutOptional : * mut :: std :: os :: raw :: c_int , fullbeatsOutOptional : * mut f64 , cdenomOutOptional : * mut :: std :: os :: raw :: c_int) -> f64 { match self . pointers . TimeMap2_timeToBeats { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap2_timeToBeats)) , Some (f) => f (proj , tpos , measuresOutOptional , cmlOutOptional , fullbeatsOutOptional , cdenomOutOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TimeMap2_timeToQN (& self , proj : * mut root :: ReaProject , tpos : f64) -> f64 { match self . pointers . TimeMap2_timeToQN { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap2_timeToQN)) , Some (f) => f (proj , tpos) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TimeMap_curFrameRate (& self , proj : * mut root :: ReaProject , dropFrameOut : * mut bool) -> f64 { match self . pointers . TimeMap_curFrameRate { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap_curFrameRate)) , Some (f) => f (proj , dropFrameOut) , } } pub fn TimeMap_GetDividedBpmAtTime (& self , time : f64) -> f64 { match self . pointers . TimeMap_GetDividedBpmAtTime { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap_GetDividedBpmAtTime)) , Some (f) => f (time) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TimeMap_GetMeasureInfo (& self , proj : * mut root :: ReaProject , measure : :: std :: os :: raw :: c_int , qn_startOut : * mut f64 , qn_endOut : * mut f64 , timesig_numOut : * mut :: std :: os :: raw :: c_int , timesig_denomOut : * mut :: std :: os :: raw :: c_int , tempoOut : * mut f64) -> f64 { match self . pointers . TimeMap_GetMeasureInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap_GetMeasureInfo)) , Some (f) => f (proj , measure , qn_startOut , qn_endOut , timesig_numOut , timesig_denomOut , tempoOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TimeMap_GetMetronomePattern (& self , proj : * mut root :: ReaProject , time : f64 , pattern : * mut :: std :: os :: raw :: c_char , pattern_sz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . TimeMap_GetMetronomePattern { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap_GetMetronomePattern)) , Some (f) => f (proj , time , pattern , pattern_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TimeMap_GetTimeSigAtTime (& self , proj : * mut root :: ReaProject , time : f64 , timesig_numOut : * mut :: std :: os :: raw :: c_int , timesig_denomOut : * mut :: std :: os :: raw :: c_int , tempoOut : * mut f64) { match self . pointers . TimeMap_GetTimeSigAtTime { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap_GetTimeSigAtTime)) , Some (f) => f (proj , time , timesig_numOut , timesig_denomOut , tempoOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TimeMap_QNToMeasures (& self , proj : * mut root :: ReaProject , qn : f64 , qnMeasureStartOutOptional : * mut f64 , qnMeasureEndOutOptional : * mut f64) -> :: std :: os :: raw :: c_int { match self . pointers . TimeMap_QNToMeasures { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap_QNToMeasures)) , Some (f) => f (proj , qn , qnMeasureStartOutOptional , qnMeasureEndOutOptional) , } } pub fn TimeMap_QNToTime (& self , qn : f64) -> f64 { match self . pointers . TimeMap_QNToTime { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap_QNToTime)) , Some (f) => f (qn) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TimeMap_QNToTime_abs (& self , proj : * mut root :: ReaProject , qn : f64) -> f64 { match self . pointers . TimeMap_QNToTime_abs { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap_QNToTime_abs)) , Some (f) => f (proj , qn) , } } pub fn TimeMap_timeToQN (& self , tpos : f64) -> f64 { match self . pointers . TimeMap_timeToQN { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap_timeToQN)) , Some (f) => f (tpos) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TimeMap_timeToQN_abs (& self , proj : * mut root :: ReaProject , tpos : f64) -> f64 { match self . pointers . TimeMap_timeToQN_abs { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TimeMap_timeToQN_abs)) , Some (f) => f (proj , tpos) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ToggleTrackSendUIMute (& self , track : * mut root :: MediaTrack , send_idx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . ToggleTrackSendUIMute { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ToggleTrackSendUIMute)) , Some (f) => f (track , send_idx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Track_GetPeakHoldDB (& self , track : * mut root :: MediaTrack , channel : :: std :: os :: raw :: c_int , clear : bool) -> f64 { match self . pointers . Track_GetPeakHoldDB { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Track_GetPeakHoldDB)) , Some (f) => f (track , channel , clear) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Track_GetPeakInfo (& self , track : * mut root :: MediaTrack , channel : :: std :: os :: raw :: c_int) -> f64 { match self . pointers . Track_GetPeakInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Track_GetPeakInfo)) , Some (f) => f (track , channel) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackCtl_SetToolTip (& self , fmt : * const :: std :: os :: raw :: c_char , xpos : :: std :: os :: raw :: c_int , ypos : :: std :: os :: raw :: c_int , topmost : bool) { match self . pointers . TrackCtl_SetToolTip { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackCtl_SetToolTip)) , Some (f) => f (fmt , xpos , ypos , topmost) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_AddByName (& self , track : * mut root :: MediaTrack , fxname : * const :: std :: os :: raw :: c_char , recFX : bool , instantiate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . TrackFX_AddByName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_AddByName)) , Some (f) => f (track , fxname , recFX , instantiate) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_CopyToTake (& self , src_track : * mut root :: MediaTrack , src_fx : :: std :: os :: raw :: c_int , dest_take : * mut root :: MediaItem_Take , dest_fx : :: std :: os :: raw :: c_int , is_move : bool) { match self . pointers . TrackFX_CopyToTake { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_CopyToTake)) , Some (f) => f (src_track , src_fx , dest_take , dest_fx , is_move) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_CopyToTrack (& self , src_track : * mut root :: MediaTrack , src_fx : :: std :: os :: raw :: c_int , dest_track : * mut root :: MediaTrack , dest_fx : :: std :: os :: raw :: c_int , is_move : bool) { match self . pointers . TrackFX_CopyToTrack { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_CopyToTrack)) , Some (f) => f (src_track , src_fx , dest_track , dest_fx , is_move) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_Delete (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_Delete { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_Delete)) , Some (f) => f (track , fx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_EndParamEdit (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_EndParamEdit { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_EndParamEdit)) , Some (f) => f (track , fx , param) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_FormatParamValue (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , val : f64 , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_FormatParamValue { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_FormatParamValue)) , Some (f) => f (track , fx , param , val , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_FormatParamValueNormalized (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , value : f64 , buf : * mut :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_FormatParamValueNormalized { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_FormatParamValueNormalized)) , Some (f) => f (track , fx , param , value , buf , buf_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetByName (& self , track : * mut root :: MediaTrack , fxname : * const :: std :: os :: raw :: c_char , instantiate : bool) -> :: std :: os :: raw :: c_int { match self . pointers . TrackFX_GetByName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetByName)) , Some (f) => f (track , fxname , instantiate) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetChainVisible (& self , track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int { match self . pointers . TrackFX_GetChainVisible { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetChainVisible)) , Some (f) => f (track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetCount (& self , track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int { match self . pointers . TrackFX_GetCount { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetCount)) , Some (f) => f (track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetEnabled (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_GetEnabled { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetEnabled)) , Some (f) => f (track , fx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetEQ (& self , track : * mut root :: MediaTrack , instantiate : bool) -> :: std :: os :: raw :: c_int { match self . pointers . TrackFX_GetEQ { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetEQ)) , Some (f) => f (track , instantiate) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetEQBandEnabled (& self , track : * mut root :: MediaTrack , fxidx : :: std :: os :: raw :: c_int , bandtype : :: std :: os :: raw :: c_int , bandidx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_GetEQBandEnabled { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetEQBandEnabled)) , Some (f) => f (track , fxidx , bandtype , bandidx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetEQParam (& self , track : * mut root :: MediaTrack , fxidx : :: std :: os :: raw :: c_int , paramidx : :: std :: os :: raw :: c_int , bandtypeOut : * mut :: std :: os :: raw :: c_int , bandidxOut : * mut :: std :: os :: raw :: c_int , paramtypeOut : * mut :: std :: os :: raw :: c_int , normvalOut : * mut f64) -> bool { match self . pointers . TrackFX_GetEQParam { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetEQParam)) , Some (f) => f (track , fxidx , paramidx , bandtypeOut , bandidxOut , paramtypeOut , normvalOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetFloatingWindow (& self , track : * mut root :: MediaTrack , index : :: std :: os :: raw :: c_int) -> root :: HWND { match self . pointers . TrackFX_GetFloatingWindow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetFloatingWindow)) , Some (f) => f (track , index) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetFormattedParamValue (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_GetFormattedParamValue { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetFormattedParamValue)) , Some (f) => f (track , fx , param , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetFXGUID (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int) -> * mut root :: GUID { match self . pointers . TrackFX_GetFXGUID { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetFXGUID)) , Some (f) => f (track , fx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetFXName (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_GetFXName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetFXName)) , Some (f) => f (track , fx , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetInstrument (& self , track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int { match self . pointers . TrackFX_GetInstrument { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetInstrument)) , Some (f) => f (track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetIOSize (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , inputPinsOut : * mut :: std :: os :: raw :: c_int , outputPinsOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . TrackFX_GetIOSize { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetIOSize)) , Some (f) => f (track , fx , inputPinsOut , outputPinsOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetNamedConfigParm (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char , bufOutNeedBig : * mut :: std :: os :: raw :: c_char , bufOutNeedBig_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_GetNamedConfigParm { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetNamedConfigParm)) , Some (f) => f (track , fx , parmname , bufOutNeedBig , bufOutNeedBig_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetNumParams (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . TrackFX_GetNumParams { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetNumParams)) , Some (f) => f (track , fx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetOffline (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_GetOffline { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetOffline)) , Some (f) => f (track , fx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetOpen (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_GetOpen { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetOpen)) , Some (f) => f (track , fx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetParam (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , minvalOut : * mut f64 , maxvalOut : * mut f64) -> f64 { match self . pointers . TrackFX_GetParam { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetParam)) , Some (f) => f (track , fx , param , minvalOut , maxvalOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetParameterStepSizes (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , stepOut : * mut f64 , smallstepOut : * mut f64 , largestepOut : * mut f64 , istoggleOut : * mut bool) -> bool { match self . pointers . TrackFX_GetParameterStepSizes { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetParameterStepSizes)) , Some (f) => f (track , fx , param , stepOut , smallstepOut , largestepOut , istoggleOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetParamEx (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , minvalOut : * mut f64 , maxvalOut : * mut f64 , midvalOut : * mut f64) -> f64 { match self . pointers . TrackFX_GetParamEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetParamEx)) , Some (f) => f (track , fx , param , minvalOut , maxvalOut , midvalOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetParamFromIdent (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , ident_str : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { match self . pointers . TrackFX_GetParamFromIdent { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetParamFromIdent)) , Some (f) => f (track , fx , ident_str) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetParamIdent (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_GetParamIdent { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetParamIdent)) , Some (f) => f (track , fx , param , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetParamName (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_GetParamName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetParamName)) , Some (f) => f (track , fx , param , bufOut , bufOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetParamNormalized (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int) -> f64 { match self . pointers . TrackFX_GetParamNormalized { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetParamNormalized)) , Some (f) => f (track , fx , param) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetPinMappings (& self , tr : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , isoutput : :: std :: os :: raw :: c_int , pin : :: std :: os :: raw :: c_int , high32Out : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . TrackFX_GetPinMappings { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetPinMappings)) , Some (f) => f (tr , fx , isoutput , pin , high32Out) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetPreset (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , presetnameOut : * mut :: std :: os :: raw :: c_char , presetnameOut_sz : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_GetPreset { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetPreset)) , Some (f) => f (track , fx , presetnameOut , presetnameOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetPresetIndex (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , numberOfPresetsOut : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . TrackFX_GetPresetIndex { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetPresetIndex)) , Some (f) => f (track , fx , numberOfPresetsOut) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetRecChainVisible (& self , track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int { match self . pointers . TrackFX_GetRecChainVisible { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetRecChainVisible)) , Some (f) => f (track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetRecCount (& self , track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int { match self . pointers . TrackFX_GetRecCount { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetRecCount)) , Some (f) => f (track) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_GetUserPresetFilename (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , fnOut : * mut :: std :: os :: raw :: c_char , fnOut_sz : :: std :: os :: raw :: c_int) { match self . pointers . TrackFX_GetUserPresetFilename { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_GetUserPresetFilename)) , Some (f) => f (track , fx , fnOut , fnOut_sz) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_NavigatePresets (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , presetmove : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_NavigatePresets { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_NavigatePresets)) , Some (f) => f (track , fx , presetmove) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_SetEnabled (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , enabled : bool) { match self . pointers . TrackFX_SetEnabled { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_SetEnabled)) , Some (f) => f (track , fx , enabled) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_SetEQBandEnabled (& self , track : * mut root :: MediaTrack , fxidx : :: std :: os :: raw :: c_int , bandtype : :: std :: os :: raw :: c_int , bandidx : :: std :: os :: raw :: c_int , enable : bool) -> bool { match self . pointers . TrackFX_SetEQBandEnabled { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_SetEQBandEnabled)) , Some (f) => f (track , fxidx , bandtype , bandidx , enable) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_SetEQParam (& self , track : * mut root :: MediaTrack , fxidx : :: std :: os :: raw :: c_int , bandtype : :: std :: os :: raw :: c_int , bandidx : :: std :: os :: raw :: c_int , paramtype : :: std :: os :: raw :: c_int , val : f64 , isnorm : bool) -> bool { match self . pointers . TrackFX_SetEQParam { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_SetEQParam)) , Some (f) => f (track , fxidx , bandtype , bandidx , paramtype , val , isnorm) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_SetNamedConfigParm (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . TrackFX_SetNamedConfigParm { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_SetNamedConfigParm)) , Some (f) => f (track , fx , parmname , value) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_SetOffline (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , offline : bool) { match self . pointers . TrackFX_SetOffline { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_SetOffline)) , Some (f) => f (track , fx , offline) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_SetOpen (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , open : bool) { match self . pointers . TrackFX_SetOpen { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_SetOpen)) , Some (f) => f (track , fx , open) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_SetParam (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , val : f64) -> bool { match self . pointers . TrackFX_SetParam { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_SetParam)) , Some (f) => f (track , fx , param , val) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_SetParamNormalized (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , value : f64) -> bool { match self . pointers . TrackFX_SetParamNormalized { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_SetParamNormalized)) , Some (f) => f (track , fx , param , value) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_SetPinMappings (& self , tr : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , isoutput : :: std :: os :: raw :: c_int , pin : :: std :: os :: raw :: c_int , low32bits : :: std :: os :: raw :: c_int , hi32bits : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_SetPinMappings { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_SetPinMappings)) , Some (f) => f (tr , fx , isoutput , pin , low32bits , hi32bits) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_SetPreset (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , presetname : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . TrackFX_SetPreset { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_SetPreset)) , Some (f) => f (track , fx , presetname) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_SetPresetByIndex (& self , track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , idx : :: std :: os :: raw :: c_int) -> bool { match self . pointers . TrackFX_SetPresetByIndex { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_SetPresetByIndex)) , Some (f) => f (track , fx , idx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackFX_Show (& self , track : * mut root :: MediaTrack , index : :: std :: os :: raw :: c_int , showFlag : :: std :: os :: raw :: c_int) { match self . pointers . TrackFX_Show { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackFX_Show)) , Some (f) => f (track , index , showFlag) , } } pub fn TrackList_AdjustWindows (& self , isMinor : bool) { match self . pointers . TrackList_AdjustWindows { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackList_AdjustWindows)) , Some (f) => f (isMinor) , } } pub fn TrackList_UpdateAllExternalSurfaces (& self) { match self . pointers . TrackList_UpdateAllExternalSurfaces { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackList_UpdateAllExternalSurfaces)) , Some (f) => f () , } } pub fn Undo_BeginBlock (& self) { match self . pointers . Undo_BeginBlock { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Undo_BeginBlock)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Undo_BeginBlock2 (& self , proj : * mut root :: ReaProject) { match self . pointers . Undo_BeginBlock2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Undo_BeginBlock2)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Undo_CanRedo2 (& self , proj : * mut root :: ReaProject) -> * const :: std :: os :: raw :: c_char { match self . pointers . Undo_CanRedo2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Undo_CanRedo2)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Undo_CanUndo2 (& self , proj : * mut root :: ReaProject) -> * const :: std :: os :: raw :: c_char { match self . pointers . Undo_CanUndo2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Undo_CanUndo2)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Undo_DoRedo2 (& self , proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int { match self . pointers . Undo_DoRedo2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Undo_DoRedo2)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Undo_DoUndo2 (& self , proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int { match self . pointers . Undo_DoUndo2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Undo_DoUndo2)) , Some (f) => f (proj) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Undo_EndBlock (& self , descchange : * const :: std :: os :: raw :: c_char , extraflags : :: std :: os :: raw :: c_int) { match self . pointers . Undo_EndBlock { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Undo_EndBlock)) , Some (f) => f (descchange , extraflags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Undo_EndBlock2 (& self , proj : * mut root :: ReaProject , descchange : * const :: std :: os :: raw :: c_char , extraflags : :: std :: os :: raw :: c_int) { match self . pointers . Undo_EndBlock2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Undo_EndBlock2)) , Some (f) => f (proj , descchange , extraflags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Undo_OnStateChange (& self , descchange : * const :: std :: os :: raw :: c_char) { match self . pointers . Undo_OnStateChange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Undo_OnStateChange)) , Some (f) => f (descchange) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Undo_OnStateChange2 (& self , proj : * mut root :: ReaProject , descchange : * const :: std :: os :: raw :: c_char) { match self . pointers . Undo_OnStateChange2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Undo_OnStateChange2)) , Some (f) => f (proj , descchange) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Undo_OnStateChange_Item (& self , proj : * mut root :: ReaProject , name : * const :: std :: os :: raw :: c_char , item : * mut root :: MediaItem) { match self . pointers . Undo_OnStateChange_Item { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Undo_OnStateChange_Item)) , Some (f) => f (proj , name , item) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Undo_OnStateChangeEx (& self , descchange : * const :: std :: os :: raw :: c_char , whichStates : :: std :: os :: raw :: c_int , trackparm : :: std :: os :: raw :: c_int) { match self . pointers . Undo_OnStateChangeEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Undo_OnStateChangeEx)) , Some (f) => f (descchange , whichStates , trackparm) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Undo_OnStateChangeEx2 (& self , proj : * mut root :: ReaProject , descchange : * const :: std :: os :: raw :: c_char , whichStates : :: std :: os :: raw :: c_int , trackparm : :: std :: os :: raw :: c_int) { match self . pointers . Undo_OnStateChangeEx2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Undo_OnStateChangeEx2)) , Some (f) => f (proj , descchange , whichStates , trackparm) , } } pub fn update_disk_counters (& self , readamt : :: std :: os :: raw :: c_int , writeamt : :: std :: os :: raw :: c_int) { match self . pointers . update_disk_counters { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (update_disk_counters)) , Some (f) => f (readamt , writeamt) , } } pub fn UpdateArrange (& self) { match self . pointers . UpdateArrange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (UpdateArrange)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn UpdateItemInProject (& self , item : * mut root :: MediaItem) { match self . pointers . UpdateItemInProject { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (UpdateItemInProject)) , Some (f) => f (item) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn UpdateItemLanes (& self , proj : * mut root :: ReaProject) -> bool { match self . pointers . UpdateItemLanes { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (UpdateItemLanes)) , Some (f) => f (proj) , } } pub fn UpdateTimeline (& self) { match self . pointers . UpdateTimeline { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (UpdateTimeline)) , Some (f) => f () , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ValidatePtr (& self , pointer : * mut :: std :: os :: raw :: c_void , ctypename : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . ValidatePtr { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ValidatePtr)) , Some (f) => f (pointer , ctypename) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ValidatePtr2 (& self , proj : * mut root :: ReaProject , pointer : * mut :: std :: os :: raw :: c_void , ctypename : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . ValidatePtr2 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ValidatePtr2)) , Some (f) => f (proj , pointer , ctypename) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ViewPrefs (& self , page : :: std :: os :: raw :: c_int , pageByName : * const :: std :: os :: raw :: c_char) { match self . pointers . ViewPrefs { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ViewPrefs)) , Some (f) => f (page , pageByName) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn WDL_VirtualWnd_ScaledBlitBG (& self , dest : * mut root :: reaper_functions :: LICE_IBitmap , src : * mut root :: reaper_functions :: WDL_VirtualWnd_BGCfg , destx : :: std :: os :: raw :: c_int , desty : :: std :: os :: raw :: c_int , destw : :: std :: os :: raw :: c_int , desth : :: std :: os :: raw :: c_int , clipx : :: std :: os :: raw :: c_int , clipy : :: std :: os :: raw :: c_int , clipw : :: std :: os :: raw :: c_int , cliph : :: std :: os :: raw :: c_int , alpha : f32 , mode : :: std :: os :: raw :: c_int) -> bool { match self . pointers . WDL_VirtualWnd_ScaledBlitBG { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (WDL_VirtualWnd_ScaledBlitBG)) , Some (f) => f (dest , src , destx , desty , destw , desth , clipx , clipy , clipw , cliph , alpha , mode) , } } pub fn GetMidiInput (& self , idx : :: std :: os :: raw :: c_int) -> * mut root :: midi_Input { match self . pointers . GetMidiInput { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMidiInput)) , Some (f) => f (idx) , } } pub fn GetMidiOutput (& self , idx : :: std :: os :: raw :: c_int) -> * mut root :: midi_Output { match self . pointers . GetMidiOutput { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMidiOutput)) , Some (f) => f (idx) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn fxDoReaperPresetAction (& self , fx : * mut :: std :: os :: raw :: c_void , name : * const :: std :: os :: raw :: c_char , flag : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . fxDoReaperPresetAction { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (fxDoReaperPresetAction)) , Some (f) => f (fx , name , flag) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn AddCustomMenuOrToolbarItem (& self , menuname : * const :: std :: os :: raw :: c_char , pos : :: std :: os :: raw :: c_int , command_id : :: std :: os :: raw :: c_int , toolbarflags : :: std :: os :: raw :: c_int , str : * const :: std :: os :: raw :: c_char , iconfn : * const :: std :: os :: raw :: c_char , extra_flags : :: std :: os :: raw :: c_int) -> bool { match self . pointers . AddCustomMenuOrToolbarItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AddCustomMenuOrToolbarItem)) , Some (f) => f (menuname , pos , command_id , toolbarflags , str , iconfn , extra_flags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteCustomMenuOrToolbarItem (& self , menuname : * const :: std :: os :: raw :: c_char , pos : :: std :: os :: raw :: c_int , extra_flags : :: std :: os :: raw :: c_int) -> bool { match self . pointers . DeleteCustomMenuOrToolbarItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DeleteCustomMenuOrToolbarItem)) , Some (f) => f (menuname , pos , extra_flags) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetCustomMenuOrToolbarItem (& self , menuname : * const :: std :: os :: raw :: c_char , pos : :: std :: os :: raw :: c_int , commandOutOptional : * mut :: std :: os :: raw :: c_int , toolbarFlagsOutOptional : * mut :: std :: os :: raw :: c_int , strOutOptional : * mut * const :: std :: os :: raw :: c_char , iconFnOutOptional : * mut * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . GetCustomMenuOrToolbarItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetCustomMenuOrToolbarItem)) , Some (f) => f (menuname , pos , commandOutOptional , toolbarFlagsOutOptional , strOutOptional , iconFnOutOptional) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn AdvancePlaybackPosition (& self , __proj : * mut root :: ReaProject , opos : f64 , npos : * mut f64 , loopcnt : * mut :: std :: os :: raw :: c_longlong , srate : f64 , max_spls : * mut :: std :: os :: raw :: c_int , sf : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . AdvancePlaybackPosition { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AdvancePlaybackPosition)) , Some (f) => f (__proj , opos , npos , loopcnt , srate , max_spls , sf) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetPlayLoopCnt (& self , __proj : * mut root :: ReaProject , something : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_longlong { match self . pointers . GetPlayLoopCnt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPlayLoopCnt)) , Some (f) => f (__proj , something) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn InitializeCoolSB (& self , hwnd : root :: HWND) -> root :: BOOL { match self . pointers . InitializeCoolSB { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (InitializeCoolSB)) , Some (f) => f (hwnd) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn UninitializeCoolSB (& self , hwnd : root :: HWND) -> root :: HRESULT { match self . pointers . UninitializeCoolSB { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (UninitializeCoolSB)) , Some (f) => f (hwnd) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CoolSB_SetMinThumbSize (& self , hwnd : root :: HWND , wBar : root :: UINT , size : root :: UINT) -> root :: BOOL { match self . pointers . CoolSB_SetMinThumbSize { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CoolSB_SetMinThumbSize)) , Some (f) => f (hwnd , wBar , size) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CoolSB_GetScrollInfo (& self , hwnd : root :: HWND , fnBar : :: std :: os :: raw :: c_int , lpsi : root :: LPSCROLLINFO) -> root :: BOOL { match self . pointers . CoolSB_GetScrollInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CoolSB_GetScrollInfo)) , Some (f) => f (hwnd , fnBar , lpsi) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CoolSB_SetScrollInfo (& self , hwnd : root :: HWND , fnBar : :: std :: os :: raw :: c_int , lpsi : root :: LPSCROLLINFO , fRedraw : root :: BOOL) -> :: std :: os :: raw :: c_int { match self . pointers . CoolSB_SetScrollInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CoolSB_SetScrollInfo)) , Some (f) => f (hwnd , fnBar , lpsi , fRedraw) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CoolSB_SetScrollPos (& self , hwnd : root :: HWND , nBar : :: std :: os :: raw :: c_int , nPos : :: std :: os :: raw :: c_int , fRedraw : root :: BOOL) -> :: std :: os :: raw :: c_int { match self . pointers . CoolSB_SetScrollPos { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CoolSB_SetScrollPos)) , Some (f) => f (hwnd , nBar , nPos , fRedraw) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CoolSB_SetScrollRange (& self , hwnd : root :: HWND , nBar : :: std :: os :: raw :: c_int , nMinPos : :: std :: os :: raw :: c_int , nMaxPos : :: std :: os :: raw :: c_int , fRedraw : root :: BOOL) -> :: std :: os :: raw :: c_int { match self . pointers . CoolSB_SetScrollRange { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CoolSB_SetScrollRange)) , Some (f) => f (hwnd , nBar , nMinPos , nMaxPos , fRedraw) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CoolSB_ShowScrollBar (& self , hwnd : root :: HWND , wBar : :: std :: os :: raw :: c_int , fShow : root :: BOOL) -> root :: BOOL { match self . pointers . CoolSB_ShowScrollBar { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CoolSB_ShowScrollBar)) , Some (f) => f (hwnd , wBar , fShow) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CoolSB_SetResizingThumb (& self , hwnd : root :: HWND , active : root :: BOOL) -> root :: BOOL { match self . pointers . CoolSB_SetResizingThumb { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CoolSB_SetResizingThumb)) , Some (f) => f (hwnd , active) , } } # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CoolSB_SetThemeIndex (& self , hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int) -> root :: BOOL { match self . pointers . CoolSB_SetThemeIndex { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CoolSB_SetThemeIndex)) , Some (f) => f (hwnd , idx) , } } } # [doc = r" Container for the REAPER function pointers."] # [derive (Copy , Clone , Default)] pub struct ReaperFunctionPointers { pub (crate) loaded_count : u32 , pub __mergesort : Option < unsafe extern "C" fn (base : * mut :: std :: os :: raw :: c_void , nmemb : usize , size : usize , cmpfunc : :: std :: option :: Option < unsafe extern "C" fn (arg1 : * const :: std :: os :: raw :: c_void , arg2 : * const :: std :: os :: raw :: c_void ,) -> :: std :: os :: raw :: c_int , > , tmpspace : * mut :: std :: os :: raw :: c_void ,) > , pub AddCustomizableMenu : Option < unsafe extern "C" fn (menuidstr : * const :: std :: os :: raw :: c_char , menuname : * const :: std :: os :: raw :: c_char , kbdsecname : * const :: std :: os :: raw :: c_char , addtomainmenu : bool ,) -> bool > , pub AddExtensionsMainMenu : Option < extern "C" fn () -> bool > , pub AddMediaItemToTrack : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack) -> * mut root :: MediaItem > , pub AddProjectMarker : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , isrgn : bool , pos : f64 , rgnend : f64 , name : * const :: std :: os :: raw :: c_char , wantidx : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub AddProjectMarker2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , isrgn : bool , pos : f64 , rgnend : f64 , name : * const :: std :: os :: raw :: c_char , wantidx : :: std :: os :: raw :: c_int , color : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub AddRemoveReaScript : Option < unsafe extern "C" fn (add : bool , sectionID : :: std :: os :: raw :: c_int , scriptfn : * const :: std :: os :: raw :: c_char , commit : bool ,) -> :: std :: os :: raw :: c_int > , pub AddTakeToMediaItem : Option < unsafe extern "C" fn (item : * mut root :: MediaItem) -> * mut root :: MediaItem_Take > , pub AddTempoTimeSigMarker : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , timepos : f64 , bpm : f64 , timesig_num : :: std :: os :: raw :: c_int , timesig_denom : :: std :: os :: raw :: c_int , lineartempochange : bool ,) -> bool > , pub adjustZoom : Option < extern "C" fn (amt : f64 , forceset : :: std :: os :: raw :: c_int , doupd : bool , centermode : :: std :: os :: raw :: c_int ,) > , pub AnyTrackSolo : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> bool > , pub APIExists : Option < unsafe extern "C" fn (function_name : * const :: std :: os :: raw :: c_char) -> bool > , pub APITest : Option < extern "C" fn () > , pub ApplyNudge : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , nudgeflag : :: std :: os :: raw :: c_int , nudgewhat : :: std :: os :: raw :: c_int , nudgeunits : :: std :: os :: raw :: c_int , value : f64 , reverse : bool , copies : :: std :: os :: raw :: c_int ,) -> bool > , pub ArmCommand : Option < unsafe extern "C" fn (cmd : :: std :: os :: raw :: c_int , sectionname : * const :: std :: os :: raw :: c_char ,) > , pub Audio_Init : Option < extern "C" fn () > , pub Audio_IsPreBuffer : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub Audio_IsRunning : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub Audio_Quit : Option < extern "C" fn () > , pub Audio_RegHardwareHook : Option < unsafe extern "C" fn (isAdd : bool , reg : * mut root :: audio_hook_register_t ,) -> :: std :: os :: raw :: c_int > , pub AudioAccessorStateChanged : Option < unsafe extern "C" fn (accessor : * mut root :: reaper_functions :: AudioAccessor) -> bool > , pub AudioAccessorUpdate : Option < unsafe extern "C" fn (accessor : * mut root :: reaper_functions :: AudioAccessor) > , pub AudioAccessorValidateState : Option < unsafe extern "C" fn (accessor : * mut root :: reaper_functions :: AudioAccessor) -> bool > , pub BypassFxAllTracks : Option < extern "C" fn (bypass : :: std :: os :: raw :: c_int) > , pub CalcMediaSrcLoudness : Option < unsafe extern "C" fn (mediasource : * mut root :: PCM_source) -> :: std :: os :: raw :: c_int > , pub CalculateNormalization : Option < unsafe extern "C" fn (source : * mut root :: PCM_source , normalizeTo : :: std :: os :: raw :: c_int , normalizeTarget : f64 , normalizeStart : f64 , normalizeEnd : f64 ,) -> f64 > , pub CalculatePeaks : Option < unsafe extern "C" fn (srcBlock : * mut root :: PCM_source_transfer_t , pksBlock : * mut root :: PCM_source_peaktransfer_t ,) -> :: std :: os :: raw :: c_int > , pub CalculatePeaksFloatSrcPtr : Option < unsafe extern "C" fn (srcBlock : * mut root :: PCM_source_transfer_t , pksBlock : * mut root :: PCM_source_peaktransfer_t ,) -> :: std :: os :: raw :: c_int > , pub ClearAllRecArmed : Option < extern "C" fn () > , pub ClearConsole : Option < extern "C" fn () > , pub ClearPeakCache : Option < extern "C" fn () > , pub ColorFromNative : Option < unsafe extern "C" fn (col : :: std :: os :: raw :: c_int , rOut : * mut :: std :: os :: raw :: c_int , gOut : * mut :: std :: os :: raw :: c_int , bOut : * mut :: std :: os :: raw :: c_int ,) > , pub ColorToNative : Option < extern "C" fn (r : :: std :: os :: raw :: c_int , g : :: std :: os :: raw :: c_int , b : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub CountActionShortcuts : Option < unsafe extern "C" fn (section : * mut root :: KbdSectionInfo , cmdID : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub CountAutomationItems : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope) -> :: std :: os :: raw :: c_int > , pub CountEnvelopePoints : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope) -> :: std :: os :: raw :: c_int > , pub CountEnvelopePointsEx : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub CountMediaItems : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int > , pub CountProjectMarkers : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , num_markersOut : * mut :: std :: os :: raw :: c_int , num_regionsOut : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub CountSelectedMediaItems : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int > , pub CountSelectedTracks : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int > , pub CountSelectedTracks2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , wantmaster : bool ,) -> :: std :: os :: raw :: c_int > , pub CountTakeEnvelopes : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take) -> :: std :: os :: raw :: c_int > , pub CountTakes : Option < unsafe extern "C" fn (item : * mut root :: MediaItem) -> :: std :: os :: raw :: c_int > , pub CountTCPFXParms : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , track : * mut root :: MediaTrack ,) -> :: std :: os :: raw :: c_int > , pub CountTempoTimeSigMarkers : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int > , pub CountTrackEnvelopes : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int > , pub CountTrackMediaItems : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int > , pub CountTracks : Option < unsafe extern "C" fn (projOptional : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int > , pub CreateLocalOscHandler : Option < unsafe extern "C" fn (obj : * mut :: std :: os :: raw :: c_void , callback : * mut :: std :: os :: raw :: c_void ,) -> * mut :: std :: os :: raw :: c_void > , pub CreateMIDIInput : Option < extern "C" fn (dev : :: std :: os :: raw :: c_int) -> * mut root :: midi_Input > , pub CreateMIDIOutput : Option < unsafe extern "C" fn (dev : :: std :: os :: raw :: c_int , streamMode : bool , msoffset100 : * mut :: std :: os :: raw :: c_int ,) -> * mut root :: midi_Output > , pub CreateNewMIDIItemInProj : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , starttime : f64 , endtime : f64 , qnInOptional : * const bool ,) -> * mut root :: MediaItem > , pub CreateTakeAudioAccessor : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take ,) -> * mut root :: reaper_functions :: AudioAccessor > , pub CreateTrackAudioAccessor : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack ,) -> * mut root :: reaper_functions :: AudioAccessor > , pub CreateTrackSend : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , desttrInOptional : * mut root :: MediaTrack ,) -> :: std :: os :: raw :: c_int > , pub CSurf_FlushUndo : Option < extern "C" fn (force : bool) > , pub CSurf_GetTouchState : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , isPan : :: std :: os :: raw :: c_int ,) -> bool > , pub CSurf_GoEnd : Option < extern "C" fn () > , pub CSurf_GoStart : Option < extern "C" fn () > , pub CSurf_NumTracks : Option < extern "C" fn (mcpView : bool) -> :: std :: os :: raw :: c_int > , pub CSurf_OnArrow : Option < extern "C" fn (whichdir : :: std :: os :: raw :: c_int , wantzoom : bool) > , pub CSurf_OnFwd : Option < extern "C" fn (seekplay : :: std :: os :: raw :: c_int) > , pub CSurf_OnFXChange : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , en : :: std :: os :: raw :: c_int ,) -> bool > , pub CSurf_OnInputMonitorChange : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , monitor : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub CSurf_OnInputMonitorChangeEx : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , monitor : :: std :: os :: raw :: c_int , allowgang : bool ,) -> :: std :: os :: raw :: c_int > , pub CSurf_OnMuteChange : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , mute : :: std :: os :: raw :: c_int ,) -> bool > , pub CSurf_OnMuteChangeEx : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , mute : :: std :: os :: raw :: c_int , allowgang : bool ,) -> bool > , pub CSurf_OnOscControlMessage : Option < unsafe extern "C" fn (msg : * const :: std :: os :: raw :: c_char , arg : * const f32) > , pub CSurf_OnOscControlMessage2 : Option < unsafe extern "C" fn (msg : * const :: std :: os :: raw :: c_char , arg : * const f32 , argstr : * const :: std :: os :: raw :: c_char ,) > , pub CSurf_OnPanChange : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , pan : f64 , relative : bool ,) -> f64 > , pub CSurf_OnPanChangeEx : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , pan : f64 , relative : bool , allowGang : bool ,) -> f64 > , pub CSurf_OnPause : Option < extern "C" fn () > , pub CSurf_OnPlay : Option < extern "C" fn () > , pub CSurf_OnPlayRateChange : Option < extern "C" fn (playrate : f64) > , pub CSurf_OnRecArmChange : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , recarm : :: std :: os :: raw :: c_int ,) -> bool > , pub CSurf_OnRecArmChangeEx : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , recarm : :: std :: os :: raw :: c_int , allowgang : bool ,) -> bool > , pub CSurf_OnRecord : Option < extern "C" fn () > , pub CSurf_OnRecvPanChange : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , recv_index : :: std :: os :: raw :: c_int , pan : f64 , relative : bool ,) -> f64 > , pub CSurf_OnRecvVolumeChange : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , recv_index : :: std :: os :: raw :: c_int , volume : f64 , relative : bool ,) -> f64 > , pub CSurf_OnRew : Option < extern "C" fn (seekplay : :: std :: os :: raw :: c_int) > , pub CSurf_OnRewFwd : Option < extern "C" fn (seekplay : :: std :: os :: raw :: c_int , dir : :: std :: os :: raw :: c_int) > , pub CSurf_OnScroll : Option < extern "C" fn (xdir : :: std :: os :: raw :: c_int , ydir : :: std :: os :: raw :: c_int) > , pub CSurf_OnSelectedChange : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , selected : :: std :: os :: raw :: c_int ,) -> bool > , pub CSurf_OnSendPanChange : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , send_index : :: std :: os :: raw :: c_int , pan : f64 , relative : bool ,) -> f64 > , pub CSurf_OnSendVolumeChange : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , send_index : :: std :: os :: raw :: c_int , volume : f64 , relative : bool ,) -> f64 > , pub CSurf_OnSoloChange : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , solo : :: std :: os :: raw :: c_int ,) -> bool > , pub CSurf_OnSoloChangeEx : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , solo : :: std :: os :: raw :: c_int , allowgang : bool ,) -> bool > , pub CSurf_OnStop : Option < extern "C" fn () > , pub CSurf_OnTempoChange : Option < extern "C" fn (bpm : f64) > , pub CSurf_OnTrackSelection : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack) > , pub CSurf_OnVolumeChange : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , volume : f64 , relative : bool ,) -> f64 > , pub CSurf_OnVolumeChangeEx : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , volume : f64 , relative : bool , allowGang : bool ,) -> f64 > , pub CSurf_OnWidthChange : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , width : f64 , relative : bool ,) -> f64 > , pub CSurf_OnWidthChangeEx : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , width : f64 , relative : bool , allowGang : bool ,) -> f64 > , pub CSurf_OnZoom : Option < extern "C" fn (xdir : :: std :: os :: raw :: c_int , ydir : :: std :: os :: raw :: c_int) > , pub CSurf_ResetAllCachedVolPanStates : Option < extern "C" fn () > , pub CSurf_ScrubAmt : Option < extern "C" fn (amt : f64) > , pub CSurf_SetAutoMode : Option < unsafe extern "C" fn (mode : :: std :: os :: raw :: c_int , ignoresurf : * mut root :: IReaperControlSurface ,) > , pub CSurf_SetPlayState : Option < unsafe extern "C" fn (play : bool , pause : bool , rec : bool , ignoresurf : * mut root :: IReaperControlSurface ,) > , pub CSurf_SetRepeatState : Option < unsafe extern "C" fn (rep : bool , ignoresurf : * mut root :: IReaperControlSurface) > , pub CSurf_SetSurfaceMute : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , mute : bool , ignoresurf : * mut root :: IReaperControlSurface ,) > , pub CSurf_SetSurfacePan : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , pan : f64 , ignoresurf : * mut root :: IReaperControlSurface ,) > , pub CSurf_SetSurfaceRecArm : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , recarm : bool , ignoresurf : * mut root :: IReaperControlSurface ,) > , pub CSurf_SetSurfaceSelected : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , selected : bool , ignoresurf : * mut root :: IReaperControlSurface ,) > , pub CSurf_SetSurfaceSolo : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , solo : bool , ignoresurf : * mut root :: IReaperControlSurface ,) > , pub CSurf_SetSurfaceVolume : Option < unsafe extern "C" fn (trackid : * mut root :: MediaTrack , volume : f64 , ignoresurf : * mut root :: IReaperControlSurface ,) > , pub CSurf_SetTrackListChange : Option < extern "C" fn () > , pub CSurf_TrackFromID : Option < extern "C" fn (idx : :: std :: os :: raw :: c_int , mcpView : bool ,) -> * mut root :: MediaTrack > , pub CSurf_TrackToID : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , mcpView : bool ,) -> :: std :: os :: raw :: c_int > , pub DB2SLIDER : Option < extern "C" fn (x : f64) -> f64 > , pub DeleteActionShortcut : Option < unsafe extern "C" fn (section : * mut root :: KbdSectionInfo , cmdID : :: std :: os :: raw :: c_int , shortcutidx : :: std :: os :: raw :: c_int ,) -> bool > , pub DeleteEnvelopePointEx : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , ptidx : :: std :: os :: raw :: c_int ,) -> bool > , pub DeleteEnvelopePointRange : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope , time_start : f64 , time_end : f64 ,) -> bool > , pub DeleteEnvelopePointRangeEx : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , time_start : f64 , time_end : f64 ,) -> bool > , pub DeleteExtState : Option < unsafe extern "C" fn (section : * const :: std :: os :: raw :: c_char , key : * const :: std :: os :: raw :: c_char , persist : bool ,) > , pub DeleteProjectMarker : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , markrgnindexnumber : :: std :: os :: raw :: c_int , isrgn : bool ,) -> bool > , pub DeleteProjectMarkerByIndex : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , markrgnidx : :: std :: os :: raw :: c_int ,) -> bool > , pub DeleteTakeMarker : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int ,) -> bool > , pub DeleteTakeStretchMarkers : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int , countInOptional : * const :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub DeleteTempoTimeSigMarker : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , markerindex : :: std :: os :: raw :: c_int ,) -> bool > , pub DeleteTrack : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack) > , pub DeleteTrackMediaItem : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , it : * mut root :: MediaItem) -> bool > , pub DestroyAudioAccessor : Option < unsafe extern "C" fn (accessor : * mut root :: reaper_functions :: AudioAccessor) > , pub DestroyLocalOscHandler : Option < unsafe extern "C" fn (local_osc_handler : * mut :: std :: os :: raw :: c_void) > , pub DoActionShortcutDialog : Option < unsafe extern "C" fn (hwnd : root :: HWND , section : * mut root :: KbdSectionInfo , cmdID : :: std :: os :: raw :: c_int , shortcutidx : :: std :: os :: raw :: c_int ,) -> bool > , pub Dock_UpdateDockID : Option < unsafe extern "C" fn (ident_str : * const :: std :: os :: raw :: c_char , whichDock : :: std :: os :: raw :: c_int ,) > , pub DockGetPosition : Option < extern "C" fn (whichDock : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > , pub DockIsChildOfDock : Option < unsafe extern "C" fn (hwnd : root :: HWND , isFloatingDockerOut : * mut bool ,) -> :: std :: os :: raw :: c_int > , pub DockWindowActivate : Option < unsafe extern "C" fn (hwnd : root :: HWND) > , pub DockWindowAdd : Option < unsafe extern "C" fn (hwnd : root :: HWND , name : * const :: std :: os :: raw :: c_char , pos : :: std :: os :: raw :: c_int , allowShow : bool ,) > , pub DockWindowAddEx : Option < unsafe extern "C" fn (hwnd : root :: HWND , name : * const :: std :: os :: raw :: c_char , identstr : * const :: std :: os :: raw :: c_char , allowShow : bool ,) > , pub DockWindowRefresh : Option < extern "C" fn () > , pub DockWindowRefreshForHWND : Option < unsafe extern "C" fn (hwnd : root :: HWND) > , pub DockWindowRemove : Option < unsafe extern "C" fn (hwnd : root :: HWND) > , pub DuplicateCustomizableMenu : Option < unsafe extern "C" fn (srcmenu : * mut :: std :: os :: raw :: c_void , destmenu : * mut :: std :: os :: raw :: c_void ,) -> bool > , pub EditTempoTimeSigMarker : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , markerindex : :: std :: os :: raw :: c_int ,) -> bool > , pub EnsureNotCompletelyOffscreen : Option < unsafe extern "C" fn (rInOut : * mut root :: RECT) > , pub EnumerateFiles : Option < unsafe extern "C" fn (path : * const :: std :: os :: raw :: c_char , fileindex : :: std :: os :: raw :: c_int ,) -> * const :: std :: os :: raw :: c_char > , pub EnumerateSubdirectories : Option < unsafe extern "C" fn (path : * const :: std :: os :: raw :: c_char , subdirindex : :: std :: os :: raw :: c_int ,) -> * const :: std :: os :: raw :: c_char > , pub EnumInstalledFX : Option < unsafe extern "C" fn (index : :: std :: os :: raw :: c_int , nameOut : * mut * const :: std :: os :: raw :: c_char , identOut : * mut * const :: std :: os :: raw :: c_char ,) -> bool > , pub EnumPitchShiftModes : Option < unsafe extern "C" fn (mode : :: std :: os :: raw :: c_int , strOut : * mut * const :: std :: os :: raw :: c_char ,) -> bool > , pub EnumPitchShiftSubModes : Option < extern "C" fn (mode : :: std :: os :: raw :: c_int , submode : :: std :: os :: raw :: c_int ,) -> * const :: std :: os :: raw :: c_char > , pub EnumProjectMarkers : Option < unsafe extern "C" fn (idx : :: std :: os :: raw :: c_int , isrgnOut : * mut bool , posOut : * mut f64 , rgnendOut : * mut f64 , nameOut : * mut * const :: std :: os :: raw :: c_char , markrgnindexnumberOut : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub EnumProjectMarkers2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , idx : :: std :: os :: raw :: c_int , isrgnOut : * mut bool , posOut : * mut f64 , rgnendOut : * mut f64 , nameOut : * mut * const :: std :: os :: raw :: c_char , markrgnindexnumberOut : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub EnumProjectMarkers3 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , idx : :: std :: os :: raw :: c_int , isrgnOut : * mut bool , posOut : * mut f64 , rgnendOut : * mut f64 , nameOut : * mut * const :: std :: os :: raw :: c_char , markrgnindexnumberOut : * mut :: std :: os :: raw :: c_int , colorOut : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub EnumProjects : Option < unsafe extern "C" fn (idx : :: std :: os :: raw :: c_int , projfnOutOptional : * mut :: std :: os :: raw :: c_char , projfnOutOptional_sz : :: std :: os :: raw :: c_int ,) -> * mut root :: ReaProject > , pub EnumProjExtState : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , extname : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , keyOutOptional : * mut :: std :: os :: raw :: c_char , keyOutOptional_sz : :: std :: os :: raw :: c_int , valOutOptional : * mut :: std :: os :: raw :: c_char , valOutOptional_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub EnumRegionRenderMatrix : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , regionindex : :: std :: os :: raw :: c_int , rendertrack : :: std :: os :: raw :: c_int ,) -> * mut root :: MediaTrack > , pub EnumTrackMIDIProgramNames : Option < unsafe extern "C" fn (track : :: std :: os :: raw :: c_int , programNumber : :: std :: os :: raw :: c_int , programName : * mut :: std :: os :: raw :: c_char , programName_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub EnumTrackMIDIProgramNamesEx : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , track : * mut root :: MediaTrack , programNumber : :: std :: os :: raw :: c_int , programName : * mut :: std :: os :: raw :: c_char , programName_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub Envelope_Evaluate : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope , time : f64 , samplerate : f64 , samplesRequested : :: std :: os :: raw :: c_int , valueOut : * mut f64 , dVdSOut : * mut f64 , ddVdSOut : * mut f64 , dddVdSOut : * mut f64 ,) -> :: std :: os :: raw :: c_int > , pub Envelope_FormatValue : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope , value : f64 , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) > , pub Envelope_GetParentTake : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope , indexOut : * mut :: std :: os :: raw :: c_int , index2Out : * mut :: std :: os :: raw :: c_int ,) -> * mut root :: MediaItem_Take > , pub Envelope_GetParentTrack : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope , indexOut : * mut :: std :: os :: raw :: c_int , index2Out : * mut :: std :: os :: raw :: c_int ,) -> * mut root :: MediaTrack > , pub Envelope_SortPoints : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope) -> bool > , pub Envelope_SortPointsEx : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int ,) -> bool > , pub ExecProcess : Option < unsafe extern "C" fn (cmdline : * const :: std :: os :: raw :: c_char , timeoutmsec : :: std :: os :: raw :: c_int ,) -> * const :: std :: os :: raw :: c_char > , pub file_exists : Option < unsafe extern "C" fn (path : * const :: std :: os :: raw :: c_char) -> bool > , pub FindTempoTimeSigMarker : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , time : f64 ,) -> :: std :: os :: raw :: c_int > , pub format_timestr : Option < unsafe extern "C" fn (tpos : f64 , buf : * mut :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int ,) > , pub format_timestr_len : Option < unsafe extern "C" fn (tpos : f64 , buf : * mut :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int , offset : f64 , modeoverride : :: std :: os :: raw :: c_int ,) > , pub format_timestr_pos : Option < unsafe extern "C" fn (tpos : f64 , buf : * mut :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int , modeoverride : :: std :: os :: raw :: c_int ,) > , pub FreeHeapPtr : Option < unsafe extern "C" fn (ptr : * mut :: std :: os :: raw :: c_void) > , pub genGuid : Option < unsafe extern "C" fn (g : * mut root :: GUID) > , pub get_config_var : Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , szOut : * mut :: std :: os :: raw :: c_int ,) -> * mut :: std :: os :: raw :: c_void > , pub get_config_var_string : Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub get_ini_file : Option < extern "C" fn () -> * const :: std :: os :: raw :: c_char > , pub get_midi_config_var : Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , szOut : * mut :: std :: os :: raw :: c_int ,) -> * mut :: std :: os :: raw :: c_void > , pub GetActionShortcutDesc : Option < unsafe extern "C" fn (section : * mut root :: KbdSectionInfo , cmdID : :: std :: os :: raw :: c_int , shortcutidx : :: std :: os :: raw :: c_int , descOut : * mut :: std :: os :: raw :: c_char , descOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub GetActiveTake : Option < unsafe extern "C" fn (item : * mut root :: MediaItem) -> * mut root :: MediaItem_Take > , pub GetAllProjectPlayStates : Option < unsafe extern "C" fn (ignoreProject : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int > , pub GetAppVersion : Option < extern "C" fn () -> * const :: std :: os :: raw :: c_char > , pub GetArmedCommand : Option < unsafe extern "C" fn (secOut : * mut :: std :: os :: raw :: c_char , secOut_sz : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetAudioAccessorEndTime : Option < unsafe extern "C" fn (accessor : * mut root :: reaper_functions :: AudioAccessor) -> f64 > , pub GetAudioAccessorHash : Option < unsafe extern "C" fn (accessor : * mut root :: reaper_functions :: AudioAccessor , hashNeed128 : * mut :: std :: os :: raw :: c_char ,) > , pub GetAudioAccessorSamples : Option < unsafe extern "C" fn (accessor : * mut root :: reaper_functions :: AudioAccessor , samplerate : :: std :: os :: raw :: c_int , numchannels : :: std :: os :: raw :: c_int , starttime_sec : f64 , numsamplesperchannel : :: std :: os :: raw :: c_int , samplebuffer : * mut f64 ,) -> :: std :: os :: raw :: c_int > , pub GetAudioAccessorStartTime : Option < unsafe extern "C" fn (accessor : * mut root :: reaper_functions :: AudioAccessor) -> f64 > , pub GetAudioDeviceInfo : Option < unsafe extern "C" fn (attribute : * const :: std :: os :: raw :: c_char , descOut : * mut :: std :: os :: raw :: c_char , descOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub GetColorTheme : Option < extern "C" fn (idx : :: std :: os :: raw :: c_int , defval : :: std :: os :: raw :: c_int ,) -> root :: INT_PTR > , pub GetColorThemeStruct : Option < unsafe extern "C" fn (szOut : * mut :: std :: os :: raw :: c_int ,) -> * mut :: std :: os :: raw :: c_void > , pub GetConfigWantsDock : Option < unsafe extern "C" fn (ident_str : * const :: std :: os :: raw :: c_char ,) -> :: std :: os :: raw :: c_int > , pub GetContextMenu : Option < extern "C" fn (idx : :: std :: os :: raw :: c_int) -> root :: HMENU > , pub GetCurrentProjectInLoadSave : Option < extern "C" fn () -> * mut root :: ReaProject > , pub GetCursorContext : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub GetCursorContext2 : Option < extern "C" fn (want_last_valid : bool) -> :: std :: os :: raw :: c_int > , pub GetCursorPosition : Option < extern "C" fn () -> f64 > , pub GetCursorPositionEx : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> f64 > , pub GetDisplayedMediaItemColor : Option < unsafe extern "C" fn (item : * mut root :: MediaItem) -> :: std :: os :: raw :: c_int > , pub GetDisplayedMediaItemColor2 : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , take : * mut root :: MediaItem_Take ,) -> :: std :: os :: raw :: c_int > , pub GetEnvelopeInfo_Value : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope , parmname : * const :: std :: os :: raw :: c_char ,) -> f64 > , pub GetEnvelopeName : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub GetEnvelopePoint : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope , ptidx : :: std :: os :: raw :: c_int , timeOut : * mut f64 , valueOut : * mut f64 , shapeOut : * mut :: std :: os :: raw :: c_int , tensionOut : * mut f64 , selectedOut : * mut bool ,) -> bool > , pub GetEnvelopePointByTime : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope , time : f64 ,) -> :: std :: os :: raw :: c_int > , pub GetEnvelopePointByTimeEx : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , time : f64 ,) -> :: std :: os :: raw :: c_int > , pub GetEnvelopePointEx : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , ptidx : :: std :: os :: raw :: c_int , timeOut : * mut f64 , valueOut : * mut f64 , shapeOut : * mut :: std :: os :: raw :: c_int , tensionOut : * mut f64 , selectedOut : * mut bool ,) -> bool > , pub GetEnvelopeScalingMode : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope) -> :: std :: os :: raw :: c_int > , pub GetEnvelopeStateChunk : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope , strNeedBig : * mut :: std :: os :: raw :: c_char , strNeedBig_sz : :: std :: os :: raw :: c_int , isundoOptional : bool ,) -> bool > , pub GetEnvelopeUIState : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope) -> :: std :: os :: raw :: c_int > , pub GetExePath : Option < extern "C" fn () -> * const :: std :: os :: raw :: c_char > , pub GetExtState : Option < unsafe extern "C" fn (section : * const :: std :: os :: raw :: c_char , key : * const :: std :: os :: raw :: c_char ,) -> * const :: std :: os :: raw :: c_char > , pub GetFocusedFX : Option < unsafe extern "C" fn (tracknumberOut : * mut :: std :: os :: raw :: c_int , itemnumberOut : * mut :: std :: os :: raw :: c_int , fxnumberOut : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetFocusedFX2 : Option < unsafe extern "C" fn (tracknumberOut : * mut :: std :: os :: raw :: c_int , itemnumberOut : * mut :: std :: os :: raw :: c_int , fxnumberOut : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetFreeDiskSpaceForRecordPath : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , pathidx : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetFXEnvelope : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fxindex : :: std :: os :: raw :: c_int , parameterindex : :: std :: os :: raw :: c_int , create : bool ,) -> * mut root :: TrackEnvelope > , pub GetGlobalAutomationOverride : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub GetHZoomLevel : Option < extern "C" fn () -> f64 > , pub GetIconThemePointer : Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char ,) -> * mut :: std :: os :: raw :: c_void > , pub GetIconThemePointerForDPI : Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , dpisc : :: std :: os :: raw :: c_int ,) -> * mut :: std :: os :: raw :: c_void > , pub GetIconThemeStruct : Option < unsafe extern "C" fn (szOut : * mut :: std :: os :: raw :: c_int ,) -> * mut :: std :: os :: raw :: c_void > , pub GetInputActivityLevel : Option < extern "C" fn (input_id : :: std :: os :: raw :: c_int) -> f64 > , pub GetInputChannelName : Option < extern "C" fn (channelIndex : :: std :: os :: raw :: c_int ,) -> * const :: std :: os :: raw :: c_char > , pub GetInputOutputLatency : Option < unsafe extern "C" fn (inputlatencyOut : * mut :: std :: os :: raw :: c_int , outputLatencyOut : * mut :: std :: os :: raw :: c_int ,) > , pub GetItemEditingTime2 : Option < unsafe extern "C" fn (which_itemOut : * mut * mut root :: PCM_source , flagsOut : * mut :: std :: os :: raw :: c_int ,) -> f64 > , pub GetItemFromPoint : Option < unsafe extern "C" fn (screen_x : :: std :: os :: raw :: c_int , screen_y : :: std :: os :: raw :: c_int , allow_locked : bool , takeOutOptional : * mut * mut root :: MediaItem_Take ,) -> * mut root :: MediaItem > , pub GetItemProjectContext : Option < unsafe extern "C" fn (item : * mut root :: MediaItem) -> * mut root :: ReaProject > , pub GetItemStateChunk : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , strNeedBig : * mut :: std :: os :: raw :: c_char , strNeedBig_sz : :: std :: os :: raw :: c_int , isundoOptional : bool ,) -> bool > , pub GetLastColorThemeFile : Option < extern "C" fn () -> * const :: std :: os :: raw :: c_char > , pub GetLastMarkerAndCurRegion : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , time : f64 , markeridxOut : * mut :: std :: os :: raw :: c_int , regionidxOut : * mut :: std :: os :: raw :: c_int ,) > , pub GetLastTouchedFX : Option < unsafe extern "C" fn (tracknumberOut : * mut :: std :: os :: raw :: c_int , fxnumberOut : * mut :: std :: os :: raw :: c_int , paramnumberOut : * mut :: std :: os :: raw :: c_int ,) -> bool > , pub GetLastTouchedTrack : Option < extern "C" fn () -> * mut root :: MediaTrack > , pub GetMainHwnd : Option < extern "C" fn () -> root :: HWND > , pub GetMasterMuteSoloFlags : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub GetMasterTrack : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> * mut root :: MediaTrack > , pub GetMasterTrackVisibility : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub GetMaxMidiInputs : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub GetMaxMidiOutputs : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub GetMediaFileMetadata : Option < unsafe extern "C" fn (mediaSource : * mut root :: PCM_source , identifier : * const :: std :: os :: raw :: c_char , bufOutNeedBig : * mut :: std :: os :: raw :: c_char , bufOutNeedBig_sz : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetMediaItem : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , itemidx : :: std :: os :: raw :: c_int ,) -> * mut root :: MediaItem > , pub GetMediaItem_Track : Option < unsafe extern "C" fn (item : * mut root :: MediaItem) -> * mut root :: MediaTrack > , pub GetMediaItemInfo_Value : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , parmname : * const :: std :: os :: raw :: c_char ,) -> f64 > , pub GetMediaItemNumTakes : Option < unsafe extern "C" fn (item : * mut root :: MediaItem) -> :: std :: os :: raw :: c_int > , pub GetMediaItemTake : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , tk : :: std :: os :: raw :: c_int ,) -> * mut root :: MediaItem_Take > , pub GetMediaItemTake_Item : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take) -> * mut root :: MediaItem > , pub GetMediaItemTake_Peaks : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , peakrate : f64 , starttime : f64 , numchannels : :: std :: os :: raw :: c_int , numsamplesperchannel : :: std :: os :: raw :: c_int , want_extra_type : :: std :: os :: raw :: c_int , buf : * mut f64 ,) -> :: std :: os :: raw :: c_int > , pub GetMediaItemTake_Source : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take) -> * mut root :: PCM_source > , pub GetMediaItemTake_Track : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take) -> * mut root :: MediaTrack > , pub GetMediaItemTakeByGUID : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , guid : * const root :: GUID ,) -> * mut root :: MediaItem_Take > , pub GetMediaItemTakeInfo_Value : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , parmname : * const :: std :: os :: raw :: c_char ,) -> f64 > , pub GetMediaItemTrack : Option < unsafe extern "C" fn (item : * mut root :: MediaItem) -> * mut root :: MediaTrack > , pub GetMediaSourceFileName : Option < unsafe extern "C" fn (source : * mut root :: PCM_source , filenamebufOut : * mut :: std :: os :: raw :: c_char , filenamebufOut_sz : :: std :: os :: raw :: c_int ,) > , pub GetMediaSourceLength : Option < unsafe extern "C" fn (source : * mut root :: PCM_source , lengthIsQNOut : * mut bool ,) -> f64 > , pub GetMediaSourceNumChannels : Option < unsafe extern "C" fn (source : * mut root :: PCM_source) -> :: std :: os :: raw :: c_int > , pub GetMediaSourceParent : Option < unsafe extern "C" fn (src : * mut root :: PCM_source) -> * mut root :: PCM_source > , pub GetMediaSourceSampleRate : Option < unsafe extern "C" fn (source : * mut root :: PCM_source) -> :: std :: os :: raw :: c_int > , pub GetMediaSourceType : Option < unsafe extern "C" fn (source : * mut root :: PCM_source , typebufOut : * mut :: std :: os :: raw :: c_char , typebufOut_sz : :: std :: os :: raw :: c_int ,) > , pub GetMediaTrackInfo_Value : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , parmname : * const :: std :: os :: raw :: c_char ,) -> f64 > , pub GetMIDIInputName : Option < unsafe extern "C" fn (dev : :: std :: os :: raw :: c_int , nameout : * mut :: std :: os :: raw :: c_char , nameout_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub GetMIDIOutputName : Option < unsafe extern "C" fn (dev : :: std :: os :: raw :: c_int , nameout : * mut :: std :: os :: raw :: c_char , nameout_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub GetMixerScroll : Option < extern "C" fn () -> * mut root :: MediaTrack > , pub GetMouseModifier : Option < unsafe extern "C" fn (context : * const :: std :: os :: raw :: c_char , modifier_flag : :: std :: os :: raw :: c_int , actionOut : * mut :: std :: os :: raw :: c_char , actionOut_sz : :: std :: os :: raw :: c_int ,) > , pub GetMousePosition : Option < unsafe extern "C" fn (xOut : * mut :: std :: os :: raw :: c_int , yOut : * mut :: std :: os :: raw :: c_int ,) > , pub GetNumAudioInputs : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub GetNumAudioOutputs : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub GetNumMIDIInputs : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub GetNumMIDIOutputs : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub GetNumTakeMarkers : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take) -> :: std :: os :: raw :: c_int > , pub GetNumTracks : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub GetOS : Option < extern "C" fn () -> * const :: std :: os :: raw :: c_char > , pub GetOutputChannelName : Option < extern "C" fn (channelIndex : :: std :: os :: raw :: c_int ,) -> * const :: std :: os :: raw :: c_char > , pub GetOutputLatency : Option < extern "C" fn () -> f64 > , pub GetParentTrack : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack) -> * mut root :: MediaTrack > , pub GetPeakFileName : Option < unsafe extern "C" fn (fn_ : * const :: std :: os :: raw :: c_char , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) > , pub GetPeakFileNameEx : Option < unsafe extern "C" fn (fn_ : * const :: std :: os :: raw :: c_char , buf : * mut :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int , forWrite : bool ,) > , pub GetPeakFileNameEx2 : Option < unsafe extern "C" fn (fn_ : * const :: std :: os :: raw :: c_char , buf : * mut :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int , forWrite : bool , peaksfileextension : * const :: std :: os :: raw :: c_char ,) > , pub GetPeaksBitmap : Option < unsafe extern "C" fn (pks : * mut root :: PCM_source_peaktransfer_t , maxamp : f64 , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , bmp : * mut root :: reaper_functions :: LICE_IBitmap ,) -> * mut :: std :: os :: raw :: c_void > , pub GetPlayPosition : Option < extern "C" fn () -> f64 > , pub GetPlayPosition2 : Option < extern "C" fn () -> f64 > , pub GetPlayPosition2Ex : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> f64 > , pub GetPlayPositionEx : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> f64 > , pub GetPlayState : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub GetPlayStateEx : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int > , pub GetPreferredDiskReadMode : Option < unsafe extern "C" fn (mode : * mut :: std :: os :: raw :: c_int , nb : * mut :: std :: os :: raw :: c_int , bs : * mut :: std :: os :: raw :: c_int ,) > , pub GetPreferredDiskReadModePeak : Option < unsafe extern "C" fn (mode : * mut :: std :: os :: raw :: c_int , nb : * mut :: std :: os :: raw :: c_int , bs : * mut :: std :: os :: raw :: c_int ,) > , pub GetPreferredDiskWriteMode : Option < unsafe extern "C" fn (mode : * mut :: std :: os :: raw :: c_int , nb : * mut :: std :: os :: raw :: c_int , bs : * mut :: std :: os :: raw :: c_int ,) > , pub GetProjectLength : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> f64 > , pub GetProjectName : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) > , pub GetProjectPath : Option < unsafe extern "C" fn (bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) > , pub GetProjectPathEx : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) > , pub GetProjectStateChangeCount : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int > , pub GetProjectTimeOffset : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , rndframe : bool) -> f64 > , pub GetProjectTimeSignature : Option < unsafe extern "C" fn (bpmOut : * mut f64 , bpiOut : * mut f64) > , pub GetProjectTimeSignature2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , bpmOut : * mut f64 , bpiOut : * mut f64 ,) > , pub GetProjExtState : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , extname : * const :: std :: os :: raw :: c_char , key : * const :: std :: os :: raw :: c_char , valOutNeedBig : * mut :: std :: os :: raw :: c_char , valOutNeedBig_sz : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetResourcePath : Option < extern "C" fn () -> * const :: std :: os :: raw :: c_char > , pub GetSelectedEnvelope : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> * mut root :: TrackEnvelope > , pub GetSelectedMediaItem : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , selitem : :: std :: os :: raw :: c_int ,) -> * mut root :: MediaItem > , pub GetSelectedTrack : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , seltrackidx : :: std :: os :: raw :: c_int ,) -> * mut root :: MediaTrack > , pub GetSelectedTrack2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , seltrackidx : :: std :: os :: raw :: c_int , wantmaster : bool ,) -> * mut root :: MediaTrack > , pub GetSelectedTrackEnvelope : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> * mut root :: TrackEnvelope > , pub GetSet_ArrangeView2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , isSet : bool , screen_x_start : :: std :: os :: raw :: c_int , screen_x_end : :: std :: os :: raw :: c_int , start_timeInOut : * mut f64 , end_timeInOut : * mut f64 ,) > , pub GetSet_LoopTimeRange : Option < unsafe extern "C" fn (isSet : bool , isLoop : bool , startOut : * mut f64 , endOut : * mut f64 , allowautoseek : bool ,) > , pub GetSet_LoopTimeRange2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , isSet : bool , isLoop : bool , startOut : * mut f64 , endOut : * mut f64 , allowautoseek : bool ,) > , pub GetSetAutomationItemInfo : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , desc : * const :: std :: os :: raw :: c_char , value : f64 , is_set : bool ,) -> f64 > , pub GetSetAutomationItemInfo_String : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , desc : * const :: std :: os :: raw :: c_char , valuestrNeedBig : * mut :: std :: os :: raw :: c_char , is_set : bool ,) -> bool > , pub GetSetEnvelopeInfo_String : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope , parmname : * const :: std :: os :: raw :: c_char , stringNeedBig : * mut :: std :: os :: raw :: c_char , setNewValue : bool ,) -> bool > , pub GetSetEnvelopeState : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope , str : * mut :: std :: os :: raw :: c_char , str_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub GetSetEnvelopeState2 : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope , str : * mut :: std :: os :: raw :: c_char , str_sz : :: std :: os :: raw :: c_int , isundo : bool ,) -> bool > , pub GetSetItemState : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , str : * mut :: std :: os :: raw :: c_char , str_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub GetSetItemState2 : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , str : * mut :: std :: os :: raw :: c_char , str_sz : :: std :: os :: raw :: c_int , isundo : bool ,) -> bool > , pub GetSetMediaItemInfo : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , parmname : * const :: std :: os :: raw :: c_char , setNewValue : * mut :: std :: os :: raw :: c_void ,) -> * mut :: std :: os :: raw :: c_void > , pub GetSetMediaItemInfo_String : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , parmname : * const :: std :: os :: raw :: c_char , stringNeedBig : * mut :: std :: os :: raw :: c_char , setNewValue : bool ,) -> bool > , pub GetSetMediaItemTakeInfo : Option < unsafe extern "C" fn (tk : * mut root :: MediaItem_Take , parmname : * const :: std :: os :: raw :: c_char , setNewValue : * mut :: std :: os :: raw :: c_void ,) -> * mut :: std :: os :: raw :: c_void > , pub GetSetMediaItemTakeInfo_String : Option < unsafe extern "C" fn (tk : * mut root :: MediaItem_Take , parmname : * const :: std :: os :: raw :: c_char , stringNeedBig : * mut :: std :: os :: raw :: c_char , setNewValue : bool ,) -> bool > , pub GetSetMediaTrackInfo : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , parmname : * const :: std :: os :: raw :: c_char , setNewValue : * mut :: std :: os :: raw :: c_void ,) -> * mut :: std :: os :: raw :: c_void > , pub GetSetMediaTrackInfo_String : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , parmname : * const :: std :: os :: raw :: c_char , stringNeedBig : * mut :: std :: os :: raw :: c_char , setNewValue : bool ,) -> bool > , pub GetSetObjectState : Option < unsafe extern "C" fn (obj : * mut :: std :: os :: raw :: c_void , str : * const :: std :: os :: raw :: c_char ,) -> * mut :: std :: os :: raw :: c_char > , pub GetSetObjectState2 : Option < unsafe extern "C" fn (obj : * mut :: std :: os :: raw :: c_void , str : * const :: std :: os :: raw :: c_char , isundo : bool ,) -> * mut :: std :: os :: raw :: c_char > , pub GetSetProjectAuthor : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , set : bool , author : * mut :: std :: os :: raw :: c_char , author_sz : :: std :: os :: raw :: c_int ,) > , pub GetSetProjectGrid : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , set : bool , divisionInOutOptional : * mut f64 , swingmodeInOutOptional : * mut :: std :: os :: raw :: c_int , swingamtInOutOptional : * mut f64 ,) -> :: std :: os :: raw :: c_int > , pub GetSetProjectInfo : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , desc : * const :: std :: os :: raw :: c_char , value : f64 , is_set : bool ,) -> f64 > , pub GetSetProjectInfo_String : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , desc : * const :: std :: os :: raw :: c_char , valuestrNeedBig : * mut :: std :: os :: raw :: c_char , is_set : bool ,) -> bool > , pub GetSetProjectNotes : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , set : bool , notesNeedBig : * mut :: std :: os :: raw :: c_char , notesNeedBig_sz : :: std :: os :: raw :: c_int ,) > , pub GetSetRepeat : Option < extern "C" fn (val : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > , pub GetSetRepeatEx : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , val : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetSetTempoTimeSigMarkerFlag : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , point_index : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int , is_set : bool ,) -> :: std :: os :: raw :: c_int > , pub GetSetTrackGroupMembership : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , groupname : * const :: std :: os :: raw :: c_char , setmask : :: std :: os :: raw :: c_uint , setvalue : :: std :: os :: raw :: c_uint ,) -> :: std :: os :: raw :: c_uint > , pub GetSetTrackGroupMembershipEx : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , groupname : * const :: std :: os :: raw :: c_char , offset : :: std :: os :: raw :: c_int , setmask : :: std :: os :: raw :: c_uint , setvalue : :: std :: os :: raw :: c_uint ,) -> :: std :: os :: raw :: c_uint > , pub GetSetTrackGroupMembershipHigh : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , groupname : * const :: std :: os :: raw :: c_char , setmask : :: std :: os :: raw :: c_uint , setvalue : :: std :: os :: raw :: c_uint ,) -> :: std :: os :: raw :: c_uint > , pub GetSetTrackMIDISupportFile : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , track : * mut root :: MediaTrack , which : :: std :: os :: raw :: c_int , filename : * const :: std :: os :: raw :: c_char ,) -> * const :: std :: os :: raw :: c_char > , pub GetSetTrackSendInfo : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , category : :: std :: os :: raw :: c_int , sendidx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char , setNewValue : * mut :: std :: os :: raw :: c_void ,) -> * mut :: std :: os :: raw :: c_void > , pub GetSetTrackSendInfo_String : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , category : :: std :: os :: raw :: c_int , sendidx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char , stringNeedBig : * mut :: std :: os :: raw :: c_char , setNewValue : bool ,) -> bool > , pub GetSetTrackState : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , str : * mut :: std :: os :: raw :: c_char , str_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub GetSetTrackState2 : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , str : * mut :: std :: os :: raw :: c_char , str_sz : :: std :: os :: raw :: c_int , isundo : bool ,) -> bool > , pub GetSubProjectFromSource : Option < unsafe extern "C" fn (src : * mut root :: PCM_source) -> * mut root :: ReaProject > , pub GetTake : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , takeidx : :: std :: os :: raw :: c_int ,) -> * mut root :: MediaItem_Take > , pub GetTakeEnvelope : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , envidx : :: std :: os :: raw :: c_int ,) -> * mut root :: TrackEnvelope > , pub GetTakeEnvelopeByName : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , envname : * const :: std :: os :: raw :: c_char ,) -> * mut root :: TrackEnvelope > , pub GetTakeMarker : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int , nameOut : * mut :: std :: os :: raw :: c_char , nameOut_sz : :: std :: os :: raw :: c_int , colorOutOptional : * mut :: std :: os :: raw :: c_int ,) -> f64 > , pub GetTakeName : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take ,) -> * const :: std :: os :: raw :: c_char > , pub GetTakeNumStretchMarkers : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take) -> :: std :: os :: raw :: c_int > , pub GetTakeStretchMarker : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int , posOut : * mut f64 , srcposOutOptional : * mut f64 ,) -> :: std :: os :: raw :: c_int > , pub GetTakeStretchMarkerSlope : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int ,) -> f64 > , pub GetTCPFXParm : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , track : * mut root :: MediaTrack , index : :: std :: os :: raw :: c_int , fxindexOut : * mut :: std :: os :: raw :: c_int , parmidxOut : * mut :: std :: os :: raw :: c_int ,) -> bool > , pub GetTempoMatchPlayRate : Option < unsafe extern "C" fn (source : * mut root :: PCM_source , srcscale : f64 , position : f64 , mult : f64 , rateOut : * mut f64 , targetlenOut : * mut f64 ,) -> bool > , pub GetTempoTimeSigMarker : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , ptidx : :: std :: os :: raw :: c_int , timeposOut : * mut f64 , measureposOut : * mut :: std :: os :: raw :: c_int , beatposOut : * mut f64 , bpmOut : * mut f64 , timesig_numOut : * mut :: std :: os :: raw :: c_int , timesig_denomOut : * mut :: std :: os :: raw :: c_int , lineartempoOut : * mut bool ,) -> bool > , pub GetThemeColor : Option < unsafe extern "C" fn (ini_key : * const :: std :: os :: raw :: c_char , flagsOptional : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetThingFromPoint : Option < unsafe extern "C" fn (screen_x : :: std :: os :: raw :: c_int , screen_y : :: std :: os :: raw :: c_int , infoOut : * mut :: std :: os :: raw :: c_char , infoOut_sz : :: std :: os :: raw :: c_int ,) -> * mut root :: MediaTrack > , pub GetToggleCommandState : Option < extern "C" fn (command_id : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > , pub GetToggleCommandState2 : Option < unsafe extern "C" fn (section : * mut root :: KbdSectionInfo , command_id : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetToggleCommandStateEx : Option < extern "C" fn (section_id : :: std :: os :: raw :: c_int , command_id : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetToggleCommandStateThroughHooks : Option < unsafe extern "C" fn (section : * mut root :: KbdSectionInfo , command_id : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetTooltipWindow : Option < extern "C" fn () -> root :: HWND > , pub GetTouchedOrFocusedFX : Option < unsafe extern "C" fn (mode : :: std :: os :: raw :: c_int , trackidxOut : * mut :: std :: os :: raw :: c_int , itemidxOut : * mut :: std :: os :: raw :: c_int , takeidxOut : * mut :: std :: os :: raw :: c_int , fxidxOut : * mut :: std :: os :: raw :: c_int , parmOut : * mut :: std :: os :: raw :: c_int ,) -> bool > , pub GetTrack : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , trackidx : :: std :: os :: raw :: c_int ,) -> * mut root :: MediaTrack > , pub GetTrackAutomationMode : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int > , pub GetTrackColor : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int > , pub GetTrackDepth : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int > , pub GetTrackEnvelope : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , envidx : :: std :: os :: raw :: c_int ,) -> * mut root :: TrackEnvelope > , pub GetTrackEnvelopeByChunkName : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , cfgchunkname_or_guid : * const :: std :: os :: raw :: c_char ,) -> * mut root :: TrackEnvelope > , pub GetTrackEnvelopeByName : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , envname : * const :: std :: os :: raw :: c_char ,) -> * mut root :: TrackEnvelope > , pub GetTrackFromPoint : Option < unsafe extern "C" fn (screen_x : :: std :: os :: raw :: c_int , screen_y : :: std :: os :: raw :: c_int , infoOutOptional : * mut :: std :: os :: raw :: c_int ,) -> * mut root :: MediaTrack > , pub GetTrackGUID : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack) -> * mut root :: GUID > , pub GetTrackInfo : Option < unsafe extern "C" fn (track : root :: INT_PTR , flags : * mut :: std :: os :: raw :: c_int ,) -> * const :: std :: os :: raw :: c_char > , pub GetTrackMediaItem : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , itemidx : :: std :: os :: raw :: c_int ,) -> * mut root :: MediaItem > , pub GetTrackMIDILyrics : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , flag : :: std :: os :: raw :: c_int , bufOutWantNeedBig : * mut :: std :: os :: raw :: c_char , bufOutWantNeedBig_sz : * mut :: std :: os :: raw :: c_int ,) -> bool > , pub GetTrackMIDINoteName : Option < extern "C" fn (track : :: std :: os :: raw :: c_int , pitch : :: std :: os :: raw :: c_int , chan : :: std :: os :: raw :: c_int ,) -> * const :: std :: os :: raw :: c_char > , pub GetTrackMIDINoteNameEx : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , track : * mut root :: MediaTrack , pitch : :: std :: os :: raw :: c_int , chan : :: std :: os :: raw :: c_int ,) -> * const :: std :: os :: raw :: c_char > , pub GetTrackMIDINoteRange : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , track : * mut root :: MediaTrack , note_loOut : * mut :: std :: os :: raw :: c_int , note_hiOut : * mut :: std :: os :: raw :: c_int ,) > , pub GetTrackName : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub GetTrackNumMediaItems : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int > , pub GetTrackNumSends : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , category : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetTrackReceiveName : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , recv_index : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub GetTrackReceiveUIMute : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , recv_index : :: std :: os :: raw :: c_int , muteOut : * mut bool ,) -> bool > , pub GetTrackReceiveUIVolPan : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , recv_index : :: std :: os :: raw :: c_int , volumeOut : * mut f64 , panOut : * mut f64 ,) -> bool > , pub GetTrackSendInfo_Value : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , category : :: std :: os :: raw :: c_int , sendidx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char ,) -> f64 > , pub GetTrackSendName : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , send_index : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub GetTrackSendUIMute : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , send_index : :: std :: os :: raw :: c_int , muteOut : * mut bool ,) -> bool > , pub GetTrackSendUIVolPan : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , send_index : :: std :: os :: raw :: c_int , volumeOut : * mut f64 , panOut : * mut f64 ,) -> bool > , pub GetTrackState : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , flagsOut : * mut :: std :: os :: raw :: c_int ,) -> * const :: std :: os :: raw :: c_char > , pub GetTrackStateChunk : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , strNeedBig : * mut :: std :: os :: raw :: c_char , strNeedBig_sz : :: std :: os :: raw :: c_int , isundoOptional : bool ,) -> bool > , pub GetTrackUIMute : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , muteOut : * mut bool) -> bool > , pub GetTrackUIPan : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , pan1Out : * mut f64 , pan2Out : * mut f64 , panmodeOut : * mut :: std :: os :: raw :: c_int ,) -> bool > , pub GetTrackUIVolPan : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , volumeOut : * mut f64 , panOut : * mut f64 ,) -> bool > , pub GetUnderrunTime : Option < unsafe extern "C" fn (audio_xrunOut : * mut :: std :: os :: raw :: c_uint , media_xrunOut : * mut :: std :: os :: raw :: c_uint , curtimeOut : * mut :: std :: os :: raw :: c_uint ,) > , pub GetUserFileNameForRead : Option < unsafe extern "C" fn (filenameNeed4096 : * mut :: std :: os :: raw :: c_char , title : * const :: std :: os :: raw :: c_char , defext : * const :: std :: os :: raw :: c_char ,) -> bool > , pub GetUserInputs : Option < unsafe extern "C" fn (title : * const :: std :: os :: raw :: c_char , num_inputs : :: std :: os :: raw :: c_int , captions_csv : * const :: std :: os :: raw :: c_char , retvals_csv : * mut :: std :: os :: raw :: c_char , retvals_csv_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub GoToMarker : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , marker_index : :: std :: os :: raw :: c_int , use_timeline_order : bool ,) > , pub GoToRegion : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , region_index : :: std :: os :: raw :: c_int , use_timeline_order : bool ,) > , pub GR_SelectColor : Option < unsafe extern "C" fn (hwnd : root :: HWND , colorOut : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GSC_mainwnd : Option < extern "C" fn (t : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > , pub guidToString : Option < unsafe extern "C" fn (g : * const root :: GUID , destNeed64 : * mut :: std :: os :: raw :: c_char) > , pub HasExtState : Option < unsafe extern "C" fn (section : * const :: std :: os :: raw :: c_char , key : * const :: std :: os :: raw :: c_char ,) -> bool > , pub HasTrackMIDIPrograms : Option < extern "C" fn (track : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char > , pub HasTrackMIDIProgramsEx : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , track : * mut root :: MediaTrack ,) -> * const :: std :: os :: raw :: c_char > , pub Help_Set : Option < unsafe extern "C" fn (helpstring : * const :: std :: os :: raw :: c_char , is_temporary_help : bool ,) > , pub HiresPeaksFromSource : Option < unsafe extern "C" fn (src : * mut root :: PCM_source , block : * mut root :: PCM_source_peaktransfer_t ,) > , pub image_resolve_fn : Option < unsafe extern "C" fn (in_ : * const :: std :: os :: raw :: c_char , out : * mut :: std :: os :: raw :: c_char , out_sz : :: std :: os :: raw :: c_int ,) > , pub InsertAutomationItem : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope , pool_id : :: std :: os :: raw :: c_int , position : f64 , length : f64 ,) -> :: std :: os :: raw :: c_int > , pub InsertEnvelopePoint : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope , time : f64 , value : f64 , shape : :: std :: os :: raw :: c_int , tension : f64 , selected : bool , noSortInOptional : * mut bool ,) -> bool > , pub InsertEnvelopePointEx : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , time : f64 , value : f64 , shape : :: std :: os :: raw :: c_int , tension : f64 , selected : bool , noSortInOptional : * mut bool ,) -> bool > , pub InsertMedia : Option < unsafe extern "C" fn (file : * const :: std :: os :: raw :: c_char , mode : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub InsertMediaSection : Option < unsafe extern "C" fn (file : * const :: std :: os :: raw :: c_char , mode : :: std :: os :: raw :: c_int , startpct : f64 , endpct : f64 , pitchshift : f64 ,) -> :: std :: os :: raw :: c_int > , pub InsertTrackAtIndex : Option < extern "C" fn (idx : :: std :: os :: raw :: c_int , wantDefaults : bool) > , pub InsertTrackInProject : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , idx : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int ,) > , pub IsInRealTimeAudio : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub IsItemTakeActiveForPlayback : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , take : * mut root :: MediaItem_Take ,) -> bool > , pub IsMediaExtension : Option < unsafe extern "C" fn (ext : * const :: std :: os :: raw :: c_char , wantOthers : bool) -> bool > , pub IsMediaItemSelected : Option < unsafe extern "C" fn (item : * mut root :: MediaItem) -> bool > , pub IsProjectDirty : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int > , pub IsREAPER : Option < extern "C" fn () -> bool > , pub IsTrackSelected : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack) -> bool > , pub IsTrackVisible : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , mixer : bool) -> bool > , pub IsWindowTextField : Option < unsafe extern "C" fn (hwnd : root :: HWND) -> bool > , pub joystick_create : Option < unsafe extern "C" fn (guid : * const root :: GUID ,) -> * mut root :: reaper_functions :: joystick_device > , pub joystick_destroy : Option < unsafe extern "C" fn (device : * mut root :: reaper_functions :: joystick_device) > , pub joystick_enum : Option < unsafe extern "C" fn (index : :: std :: os :: raw :: c_int , namestrOutOptional : * mut * const :: std :: os :: raw :: c_char ,) -> * const :: std :: os :: raw :: c_char > , pub joystick_getaxis : Option < unsafe extern "C" fn (dev : * mut root :: reaper_functions :: joystick_device , axis : :: std :: os :: raw :: c_int ,) -> f64 > , pub joystick_getbuttonmask : Option < unsafe extern "C" fn (dev : * mut root :: reaper_functions :: joystick_device ,) -> :: std :: os :: raw :: c_uint > , pub joystick_getinfo : Option < unsafe extern "C" fn (dev : * mut root :: reaper_functions :: joystick_device , axesOutOptional : * mut :: std :: os :: raw :: c_int , povsOutOptional : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub joystick_getpov : Option < unsafe extern "C" fn (dev : * mut root :: reaper_functions :: joystick_device , pov : :: std :: os :: raw :: c_int ,) -> f64 > , pub joystick_update : Option < unsafe extern "C" fn (dev : * mut root :: reaper_functions :: joystick_device) -> bool > , pub kbd_enumerateActions : Option < unsafe extern "C" fn (section : * mut root :: KbdSectionInfo , idx : :: std :: os :: raw :: c_int , nameOut : * mut * const :: std :: os :: raw :: c_char ,) -> :: std :: os :: raw :: c_int > , pub kbd_formatKeyName : Option < unsafe extern "C" fn (ac : * mut root :: ACCEL , s : * mut :: std :: os :: raw :: c_char) > , pub kbd_getCommandName : Option < unsafe extern "C" fn (cmd : :: std :: os :: raw :: c_int , s : * mut :: std :: os :: raw :: c_char , section : * mut root :: KbdSectionInfo ,) > , pub kbd_getTextFromCmd : Option < unsafe extern "C" fn (cmd : :: std :: os :: raw :: c_int , section : * mut root :: KbdSectionInfo ,) -> * const :: std :: os :: raw :: c_char > , pub KBD_OnMainActionEx : Option < unsafe extern "C" fn (cmd : :: std :: os :: raw :: c_int , val : :: std :: os :: raw :: c_int , valhw : :: std :: os :: raw :: c_int , relmode : :: std :: os :: raw :: c_int , hwnd : root :: HWND , proj : * mut root :: ReaProject ,) -> :: std :: os :: raw :: c_int > , pub kbd_OnMidiEvent : Option < unsafe extern "C" fn (evt : * mut root :: MIDI_event_t , dev_index : :: std :: os :: raw :: c_int ,) > , pub kbd_OnMidiList : Option < unsafe extern "C" fn (list : * mut root :: MIDI_eventlist , dev_index : :: std :: os :: raw :: c_int ,) > , pub kbd_ProcessActionsMenu : Option < unsafe extern "C" fn (menu : root :: HMENU , section : * mut root :: KbdSectionInfo) > , pub kbd_processMidiEventActionEx : Option < unsafe extern "C" fn (evt : * mut root :: MIDI_event_t , section : * mut root :: KbdSectionInfo , hwndCtx : root :: HWND ,) -> bool > , pub kbd_reprocessMenu : Option < unsafe extern "C" fn (menu : root :: HMENU , section : * mut root :: KbdSectionInfo) > , pub kbd_RunCommandThroughHooks : Option < unsafe extern "C" fn (section : * mut root :: KbdSectionInfo , actionCommandID : * const :: std :: os :: raw :: c_int , val : * const :: std :: os :: raw :: c_int , valhw : * const :: std :: os :: raw :: c_int , relmode : * const :: std :: os :: raw :: c_int , hwnd : root :: HWND ,) -> bool > , pub kbd_translateAccelerator : Option < unsafe extern "C" fn (hwnd : root :: HWND , msg : * mut root :: MSG , section : * mut root :: KbdSectionInfo ,) -> :: std :: os :: raw :: c_int > , pub LICE__Destroy : Option < unsafe extern "C" fn (bm : * mut root :: reaper_functions :: LICE_IBitmap) > , pub LICE__DestroyFont : Option < unsafe extern "C" fn (font : * mut root :: reaper_functions :: LICE_IFont) > , pub LICE__DrawText : Option < unsafe extern "C" fn (font : * mut root :: reaper_functions :: LICE_IFont , bm : * mut root :: reaper_functions :: LICE_IBitmap , str : * const :: std :: os :: raw :: c_char , strcnt : :: std :: os :: raw :: c_int , rect : * mut root :: RECT , dtFlags : root :: UINT ,) -> :: std :: os :: raw :: c_int > , pub LICE__GetBits : Option < unsafe extern "C" fn (bm : * mut root :: reaper_functions :: LICE_IBitmap ,) -> * mut :: std :: os :: raw :: c_void > , pub LICE__GetDC : Option < unsafe extern "C" fn (bm : * mut root :: reaper_functions :: LICE_IBitmap) -> root :: HDC > , pub LICE__GetHeight : Option < unsafe extern "C" fn (bm : * mut root :: reaper_functions :: LICE_IBitmap ,) -> :: std :: os :: raw :: c_int > , pub LICE__GetRowSpan : Option < unsafe extern "C" fn (bm : * mut root :: reaper_functions :: LICE_IBitmap ,) -> :: std :: os :: raw :: c_int > , pub LICE__GetWidth : Option < unsafe extern "C" fn (bm : * mut root :: reaper_functions :: LICE_IBitmap ,) -> :: std :: os :: raw :: c_int > , pub LICE__IsFlipped : Option < unsafe extern "C" fn (bm : * mut root :: reaper_functions :: LICE_IBitmap) -> bool > , pub LICE__resize : Option < unsafe extern "C" fn (bm : * mut root :: reaper_functions :: LICE_IBitmap , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int ,) -> bool > , pub LICE__SetBkColor : Option < unsafe extern "C" fn (font : * mut root :: reaper_functions :: LICE_IFont , color : root :: reaper_functions :: LICE_pixel ,) -> root :: reaper_functions :: LICE_pixel > , pub LICE__SetFromHFont : Option < unsafe extern "C" fn (font : * mut root :: reaper_functions :: LICE_IFont , hfont : root :: HFONT , flags : :: std :: os :: raw :: c_int ,) > , pub LICE__SetTextColor : Option < unsafe extern "C" fn (font : * mut root :: reaper_functions :: LICE_IFont , color : root :: reaper_functions :: LICE_pixel ,) -> root :: reaper_functions :: LICE_pixel > , pub LICE__SetTextCombineMode : Option < unsafe extern "C" fn (ifont : * mut root :: reaper_functions :: LICE_IFont , mode : :: std :: os :: raw :: c_int , alpha : f32 ,) > , pub LICE_Arc : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , cx : f32 , cy : f32 , r : f32 , minAngle : f32 , maxAngle : f32 , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool ,) > , pub LICE_Blit : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , src : * mut root :: reaper_functions :: LICE_IBitmap , dstx : :: std :: os :: raw :: c_int , dsty : :: std :: os :: raw :: c_int , srcx : :: std :: os :: raw :: c_int , srcy : :: std :: os :: raw :: c_int , srcw : :: std :: os :: raw :: c_int , srch : :: std :: os :: raw :: c_int , alpha : f32 , mode : :: std :: os :: raw :: c_int ,) > , pub LICE_Blur : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , src : * mut root :: reaper_functions :: LICE_IBitmap , dstx : :: std :: os :: raw :: c_int , dsty : :: std :: os :: raw :: c_int , srcx : :: std :: os :: raw :: c_int , srcy : :: std :: os :: raw :: c_int , srcw : :: std :: os :: raw :: c_int , srch : :: std :: os :: raw :: c_int ,) > , pub LICE_BorderedRect : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , bgcolor : root :: reaper_functions :: LICE_pixel , fgcolor : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int ,) > , pub LICE_Circle : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , cx : f32 , cy : f32 , r : f32 , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool ,) > , pub LICE_Clear : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , color : root :: reaper_functions :: LICE_pixel ,) > , pub LICE_ClearRect : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , mask : root :: reaper_functions :: LICE_pixel , orbits : root :: reaper_functions :: LICE_pixel ,) > , pub LICE_ClipLine : Option < unsafe extern "C" fn (pX1Out : * mut :: std :: os :: raw :: c_int , pY1Out : * mut :: std :: os :: raw :: c_int , pX2Out : * mut :: std :: os :: raw :: c_int , pY2Out : * mut :: std :: os :: raw :: c_int , xLo : :: std :: os :: raw :: c_int , yLo : :: std :: os :: raw :: c_int , xHi : :: std :: os :: raw :: c_int , yHi : :: std :: os :: raw :: c_int ,) -> bool > , pub LICE_CombinePixels : Option < extern "C" fn (dest : root :: reaper_functions :: LICE_pixel , src : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int ,) -> root :: reaper_functions :: LICE_pixel > , pub LICE_Copy : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , src : * mut root :: reaper_functions :: LICE_IBitmap ,) > , pub LICE_CreateBitmap : Option < extern "C" fn (mode : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int ,) -> * mut root :: reaper_functions :: LICE_IBitmap > , pub LICE_CreateFont : Option < extern "C" fn () -> * mut root :: reaper_functions :: LICE_IFont > , pub LICE_DrawCBezier : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , xstart : f64 , ystart : f64 , xctl1 : f64 , yctl1 : f64 , xctl2 : f64 , yctl2 : f64 , xend : f64 , yend : f64 , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool , tol : f64 ,) > , pub LICE_DrawChar : Option < unsafe extern "C" fn (bm : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , c : :: std :: os :: raw :: c_char , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int ,) > , pub LICE_DrawGlyph : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alphas : * mut root :: reaper_functions :: LICE_pixel_chan , glyph_w : :: std :: os :: raw :: c_int , glyph_h : :: std :: os :: raw :: c_int , alpha : f32 , mode : :: std :: os :: raw :: c_int ,) > , pub LICE_DrawRect : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int ,) > , pub LICE_DrawText : Option < unsafe extern "C" fn (bm : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , string : * const :: std :: os :: raw :: c_char , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int ,) > , pub LICE_FillCBezier : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , xstart : f64 , ystart : f64 , xctl1 : f64 , yctl1 : f64 , xctl2 : f64 , yctl2 : f64 , xend : f64 , yend : f64 , yfill : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool , tol : f64 ,) > , pub LICE_FillCircle : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , cx : f32 , cy : f32 , r : f32 , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool ,) > , pub LICE_FillConvexPolygon : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , x : * mut :: std :: os :: raw :: c_int , y : * mut :: std :: os :: raw :: c_int , npoints : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int ,) > , pub LICE_FillRect : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int ,) > , pub LICE_FillTrapezoid : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , x1a : :: std :: os :: raw :: c_int , x1b : :: std :: os :: raw :: c_int , y1 : :: std :: os :: raw :: c_int , x2a : :: std :: os :: raw :: c_int , x2b : :: std :: os :: raw :: c_int , y2 : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int ,) > , pub LICE_FillTriangle : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , x1 : :: std :: os :: raw :: c_int , y1 : :: std :: os :: raw :: c_int , x2 : :: std :: os :: raw :: c_int , y2 : :: std :: os :: raw :: c_int , x3 : :: std :: os :: raw :: c_int , y3 : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int ,) > , pub LICE_GetPixel : Option < unsafe extern "C" fn (bm : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ,) -> root :: reaper_functions :: LICE_pixel > , pub LICE_GradRect : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , dstx : :: std :: os :: raw :: c_int , dsty : :: std :: os :: raw :: c_int , dstw : :: std :: os :: raw :: c_int , dsth : :: std :: os :: raw :: c_int , ir : f32 , ig : f32 , ib : f32 , ia : f32 , drdx : f32 , dgdx : f32 , dbdx : f32 , dadx : f32 , drdy : f32 , dgdy : f32 , dbdy : f32 , dady : f32 , mode : :: std :: os :: raw :: c_int ,) > , pub LICE_Line : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , x1 : f32 , y1 : f32 , x2 : f32 , y2 : f32 , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool ,) > , pub LICE_LineInt : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , x1 : :: std :: os :: raw :: c_int , y1 : :: std :: os :: raw :: c_int , x2 : :: std :: os :: raw :: c_int , y2 : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool ,) > , pub LICE_LoadPNG : Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char , bmp : * mut root :: reaper_functions :: LICE_IBitmap ,) -> * mut root :: reaper_functions :: LICE_IBitmap > , pub LICE_LoadPNGFromResource : Option < unsafe extern "C" fn (hInst : root :: HINSTANCE , resid : * const :: std :: os :: raw :: c_char , bmp : * mut root :: reaper_functions :: LICE_IBitmap ,) -> * mut root :: reaper_functions :: LICE_IBitmap > , pub LICE_MeasureText : Option < unsafe extern "C" fn (string : * const :: std :: os :: raw :: c_char , w : * mut :: std :: os :: raw :: c_int , h : * mut :: std :: os :: raw :: c_int ,) > , pub LICE_MultiplyAddRect : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , rsc : f32 , gsc : f32 , bsc : f32 , asc : f32 , radd : f32 , gadd : f32 , badd : f32 , aadd : f32 ,) > , pub LICE_PutPixel : Option < unsafe extern "C" fn (bm : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int ,) > , pub LICE_RotatedBlit : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , src : * mut root :: reaper_functions :: LICE_IBitmap , dstx : :: std :: os :: raw :: c_int , dsty : :: std :: os :: raw :: c_int , dstw : :: std :: os :: raw :: c_int , dsth : :: std :: os :: raw :: c_int , srcx : f32 , srcy : f32 , srcw : f32 , srch : f32 , angle : f32 , cliptosourcerect : bool , alpha : f32 , mode : :: std :: os :: raw :: c_int , rotxcent : f32 , rotycent : f32 ,) > , pub LICE_RoundRect : Option < unsafe extern "C" fn (drawbm : * mut root :: reaper_functions :: LICE_IBitmap , xpos : f32 , ypos : f32 , w : f32 , h : f32 , cornerradius : :: std :: os :: raw :: c_int , col : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , aa : bool ,) > , pub LICE_ScaledBlit : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , src : * mut root :: reaper_functions :: LICE_IBitmap , dstx : :: std :: os :: raw :: c_int , dsty : :: std :: os :: raw :: c_int , dstw : :: std :: os :: raw :: c_int , dsth : :: std :: os :: raw :: c_int , srcx : f32 , srcy : f32 , srcw : f32 , srch : f32 , alpha : f32 , mode : :: std :: os :: raw :: c_int ,) > , pub LICE_SimpleFill : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , newcolor : root :: reaper_functions :: LICE_pixel , comparemask : root :: reaper_functions :: LICE_pixel , keepmask : root :: reaper_functions :: LICE_pixel ,) > , pub LICE_ThickFLine : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , x1 : f64 , y1 : f64 , x2 : f64 , y2 : f64 , color : root :: reaper_functions :: LICE_pixel , alpha : f32 , mode : :: std :: os :: raw :: c_int , wid : :: std :: os :: raw :: c_int ,) > , pub LocalizeString : Option < unsafe extern "C" fn (src_string : * const :: std :: os :: raw :: c_char , section : * const :: std :: os :: raw :: c_char , flagsOptional : :: std :: os :: raw :: c_int ,) -> * const :: std :: os :: raw :: c_char > , pub Loop_OnArrow : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , direction : :: std :: os :: raw :: c_int ,) -> bool > , pub Main_OnCommand : Option < extern "C" fn (command : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int) > , pub Main_OnCommandEx : Option < unsafe extern "C" fn (command : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int , proj : * mut root :: ReaProject ,) > , pub Main_openProject : Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) > , pub Main_SaveProject : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , forceSaveAsInOptional : bool) > , pub Main_SaveProjectEx : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , filename : * const :: std :: os :: raw :: c_char , options : :: std :: os :: raw :: c_int ,) > , pub Main_UpdateLoopInfo : Option < extern "C" fn (ignoremask : :: std :: os :: raw :: c_int) > , pub MarkProjectDirty : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) > , pub MarkTrackItemsDirty : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , item : * mut root :: MediaItem) > , pub Master_GetPlayRate : Option < unsafe extern "C" fn (project : * mut root :: ReaProject) -> f64 > , pub Master_GetPlayRateAtTime : Option < unsafe extern "C" fn (time_s : f64 , proj : * mut root :: ReaProject) -> f64 > , pub Master_GetTempo : Option < extern "C" fn () -> f64 > , pub Master_NormalizePlayRate : Option < extern "C" fn (playrate : f64 , isnormalized : bool) -> f64 > , pub Master_NormalizeTempo : Option < extern "C" fn (bpm : f64 , isnormalized : bool) -> f64 > , pub MB : Option < unsafe extern "C" fn (msg : * const :: std :: os :: raw :: c_char , title : * const :: std :: os :: raw :: c_char , type_ : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub MediaItemDescendsFromTrack : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , track : * mut root :: MediaTrack ,) -> :: std :: os :: raw :: c_int > , pub Menu_GetHash : Option < unsafe extern "C" fn (menuname : * const :: std :: os :: raw :: c_char , flag : :: std :: os :: raw :: c_int , hashOut : * mut :: std :: os :: raw :: c_char , hashOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_CountEvts : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , notecntOut : * mut :: std :: os :: raw :: c_int , ccevtcntOut : * mut :: std :: os :: raw :: c_int , textsyxevtcntOut : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub MIDI_DeleteCC : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , ccidx : :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_DeleteEvt : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , evtidx : :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_DeleteNote : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , noteidx : :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_DeleteTextSysexEvt : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , textsyxevtidx : :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_DisableSort : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take) > , pub MIDI_EnumSelCC : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , ccidx : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub MIDI_EnumSelEvts : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , evtidx : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub MIDI_EnumSelNotes : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , noteidx : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub MIDI_EnumSelTextSysexEvts : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , textsyxidx : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub MIDI_eventlist_Create : Option < extern "C" fn () -> * mut root :: MIDI_eventlist > , pub MIDI_eventlist_Destroy : Option < unsafe extern "C" fn (evtlist : * mut root :: MIDI_eventlist) > , pub MIDI_GetAllEvts : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , bufOutNeedBig : * mut :: std :: os :: raw :: c_char , bufOutNeedBig_sz : * mut :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_GetCC : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , ccidx : :: std :: os :: raw :: c_int , selectedOut : * mut bool , mutedOut : * mut bool , ppqposOut : * mut f64 , chanmsgOut : * mut :: std :: os :: raw :: c_int , chanOut : * mut :: std :: os :: raw :: c_int , msg2Out : * mut :: std :: os :: raw :: c_int , msg3Out : * mut :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_GetCCShape : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , ccidx : :: std :: os :: raw :: c_int , shapeOut : * mut :: std :: os :: raw :: c_int , beztensionOut : * mut f64 ,) -> bool > , pub MIDI_GetEvt : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , evtidx : :: std :: os :: raw :: c_int , selectedOut : * mut bool , mutedOut : * mut bool , ppqposOut : * mut f64 , msgOut : * mut :: std :: os :: raw :: c_char , msgOut_sz : * mut :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_GetGrid : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , swingOutOptional : * mut f64 , noteLenOutOptional : * mut f64 ,) -> f64 > , pub MIDI_GetHash : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , notesonly : bool , hashOut : * mut :: std :: os :: raw :: c_char , hashOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_GetNote : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , noteidx : :: std :: os :: raw :: c_int , selectedOut : * mut bool , mutedOut : * mut bool , startppqposOut : * mut f64 , endppqposOut : * mut f64 , chanOut : * mut :: std :: os :: raw :: c_int , pitchOut : * mut :: std :: os :: raw :: c_int , velOut : * mut :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_GetPPQPos_EndOfMeasure : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , ppqpos : f64) -> f64 > , pub MIDI_GetPPQPos_StartOfMeasure : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , ppqpos : f64) -> f64 > , pub MIDI_GetPPQPosFromProjQN : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , projqn : f64) -> f64 > , pub MIDI_GetPPQPosFromProjTime : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , projtime : f64) -> f64 > , pub MIDI_GetProjQNFromPPQPos : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , ppqpos : f64) -> f64 > , pub MIDI_GetProjTimeFromPPQPos : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , ppqpos : f64) -> f64 > , pub MIDI_GetRecentInputEvent : Option < unsafe extern "C" fn (idx : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : * mut :: std :: os :: raw :: c_int , tsOut : * mut :: std :: os :: raw :: c_int , devIdxOut : * mut :: std :: os :: raw :: c_int , projPosOut : * mut f64 , projLoopCntOut : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub MIDI_GetScale : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , rootOut : * mut :: std :: os :: raw :: c_int , scaleOut : * mut :: std :: os :: raw :: c_int , nameOut : * mut :: std :: os :: raw :: c_char , nameOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_GetTextSysexEvt : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , textsyxevtidx : :: std :: os :: raw :: c_int , selectedOutOptional : * mut bool , mutedOutOptional : * mut bool , ppqposOutOptional : * mut f64 , typeOutOptional : * mut :: std :: os :: raw :: c_int , msgOptional : * mut :: std :: os :: raw :: c_char , msgOptional_sz : * mut :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_GetTrackHash : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , notesonly : bool , hashOut : * mut :: std :: os :: raw :: c_char , hashOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub midi_init : Option < extern "C" fn (force_reinit_input : :: std :: os :: raw :: c_int , force_reinit_output : :: std :: os :: raw :: c_int ,) > , pub MIDI_InsertCC : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , selected : bool , muted : bool , ppqpos : f64 , chanmsg : :: std :: os :: raw :: c_int , chan : :: std :: os :: raw :: c_int , msg2 : :: std :: os :: raw :: c_int , msg3 : :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_InsertEvt : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , selected : bool , muted : bool , ppqpos : f64 , bytestr : * const :: std :: os :: raw :: c_char , bytestr_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_InsertNote : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , selected : bool , muted : bool , startppqpos : f64 , endppqpos : f64 , chan : :: std :: os :: raw :: c_int , pitch : :: std :: os :: raw :: c_int , vel : :: std :: os :: raw :: c_int , noSortInOptional : * const bool ,) -> bool > , pub MIDI_InsertTextSysexEvt : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , selected : bool , muted : bool , ppqpos : f64 , type_ : :: std :: os :: raw :: c_int , bytestr : * const :: std :: os :: raw :: c_char , bytestr_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_RefreshEditors : Option < unsafe extern "C" fn (tk : * mut root :: MediaItem_Take) > , pub midi_reinit : Option < extern "C" fn () > , pub MIDI_SelectAll : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , select : bool) > , pub MIDI_SetAllEvts : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , buf : * const :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub MIDI_SetCC : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , ccidx : :: std :: os :: raw :: c_int , selectedInOptional : * const bool , mutedInOptional : * const bool , ppqposInOptional : * const f64 , chanmsgInOptional : * const :: std :: os :: raw :: c_int , chanInOptional : * const :: std :: os :: raw :: c_int , msg2InOptional : * const :: std :: os :: raw :: c_int , msg3InOptional : * const :: std :: os :: raw :: c_int , noSortInOptional : * const bool ,) -> bool > , pub MIDI_SetCCShape : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , ccidx : :: std :: os :: raw :: c_int , shape : :: std :: os :: raw :: c_int , beztension : f64 , noSortInOptional : * const bool ,) -> bool > , pub MIDI_SetEvt : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , evtidx : :: std :: os :: raw :: c_int , selectedInOptional : * const bool , mutedInOptional : * const bool , ppqposInOptional : * const f64 , msgOptional : * const :: std :: os :: raw :: c_char , msgOptional_sz : :: std :: os :: raw :: c_int , noSortInOptional : * const bool ,) -> bool > , pub MIDI_SetItemExtents : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , startQN : f64 , endQN : f64) -> bool > , pub MIDI_SetNote : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , noteidx : :: std :: os :: raw :: c_int , selectedInOptional : * const bool , mutedInOptional : * const bool , startppqposInOptional : * const f64 , endppqposInOptional : * const f64 , chanInOptional : * const :: std :: os :: raw :: c_int , pitchInOptional : * const :: std :: os :: raw :: c_int , velInOptional : * const :: std :: os :: raw :: c_int , noSortInOptional : * const bool ,) -> bool > , pub MIDI_SetTextSysexEvt : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , textsyxevtidx : :: std :: os :: raw :: c_int , selectedInOptional : * const bool , mutedInOptional : * const bool , ppqposInOptional : * const f64 , typeInOptional : * const :: std :: os :: raw :: c_int , msgOptional : * const :: std :: os :: raw :: c_char , msgOptional_sz : :: std :: os :: raw :: c_int , noSortInOptional : * const bool ,) -> bool > , pub MIDI_Sort : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take) > , pub MIDIEditor_EnumTakes : Option < unsafe extern "C" fn (midieditor : root :: HWND , takeindex : :: std :: os :: raw :: c_int , editable_only : bool ,) -> * mut root :: MediaItem_Take > , pub MIDIEditor_GetActive : Option < extern "C" fn () -> root :: HWND > , pub MIDIEditor_GetMode : Option < unsafe extern "C" fn (midieditor : root :: HWND) -> :: std :: os :: raw :: c_int > , pub MIDIEditor_GetSetting_int : Option < unsafe extern "C" fn (midieditor : root :: HWND , setting_desc : * const :: std :: os :: raw :: c_char ,) -> :: std :: os :: raw :: c_int > , pub MIDIEditor_GetSetting_str : Option < unsafe extern "C" fn (midieditor : root :: HWND , setting_desc : * const :: std :: os :: raw :: c_char , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub MIDIEditor_GetTake : Option < unsafe extern "C" fn (midieditor : root :: HWND) -> * mut root :: MediaItem_Take > , pub MIDIEditor_LastFocused_OnCommand : Option < extern "C" fn (command_id : :: std :: os :: raw :: c_int , islistviewcommand : bool ,) -> bool > , pub MIDIEditor_OnCommand : Option < unsafe extern "C" fn (midieditor : root :: HWND , command_id : :: std :: os :: raw :: c_int ,) -> bool > , pub MIDIEditor_SetSetting_int : Option < unsafe extern "C" fn (midieditor : root :: HWND , setting_desc : * const :: std :: os :: raw :: c_char , setting : :: std :: os :: raw :: c_int ,) -> bool > , pub MIDIEditorFlagsForTrack : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , pitchwheelrangeInOut : * mut :: std :: os :: raw :: c_int , flagsInOut : * mut :: std :: os :: raw :: c_int , is_set : bool ,) > , pub mkpanstr : Option < unsafe extern "C" fn (strNeed64 : * mut :: std :: os :: raw :: c_char , pan : f64) > , pub mkvolpanstr : Option < unsafe extern "C" fn (strNeed64 : * mut :: std :: os :: raw :: c_char , vol : f64 , pan : f64) > , pub mkvolstr : Option < unsafe extern "C" fn (strNeed64 : * mut :: std :: os :: raw :: c_char , vol : f64) > , pub MoveEditCursor : Option < extern "C" fn (adjamt : f64 , dosel : bool) > , pub MoveMediaItemToTrack : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , desttr : * mut root :: MediaTrack ,) -> bool > , pub MuteAllTracks : Option < extern "C" fn (mute : bool) > , pub my_getViewport : Option < unsafe extern "C" fn (r : * mut root :: RECT , sr : * const root :: RECT , wantWorkArea : bool) > , pub NamedCommandLookup : Option < unsafe extern "C" fn (command_name : * const :: std :: os :: raw :: c_char ,) -> :: std :: os :: raw :: c_int > , pub OnPauseButton : Option < extern "C" fn () > , pub OnPauseButtonEx : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) > , pub OnPlayButton : Option < extern "C" fn () > , pub OnPlayButtonEx : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) > , pub OnStopButton : Option < extern "C" fn () > , pub OnStopButtonEx : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) > , pub OpenColorThemeFile : Option < unsafe extern "C" fn (fn_ : * const :: std :: os :: raw :: c_char) -> bool > , pub OpenMediaExplorer : Option < unsafe extern "C" fn (mediafn : * const :: std :: os :: raw :: c_char , play : bool ,) -> root :: HWND > , pub OscLocalMessageToHost : Option < unsafe extern "C" fn (message : * const :: std :: os :: raw :: c_char , valueInOptional : * const f64 ,) > , pub parse_timestr : Option < unsafe extern "C" fn (buf : * const :: std :: os :: raw :: c_char) -> f64 > , pub parse_timestr_len : Option < unsafe extern "C" fn (buf : * const :: std :: os :: raw :: c_char , offset : f64 , modeoverride : :: std :: os :: raw :: c_int ,) -> f64 > , pub parse_timestr_pos : Option < unsafe extern "C" fn (buf : * const :: std :: os :: raw :: c_char , modeoverride : :: std :: os :: raw :: c_int ,) -> f64 > , pub parsepanstr : Option < unsafe extern "C" fn (str : * const :: std :: os :: raw :: c_char) -> f64 > , pub PCM_Sink_Create : Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char , cfg : * const :: std :: os :: raw :: c_char , cfg_sz : :: std :: os :: raw :: c_int , nch : :: std :: os :: raw :: c_int , srate : :: std :: os :: raw :: c_int , buildpeaks : bool ,) -> * mut root :: PCM_sink > , pub PCM_Sink_CreateEx : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , filename : * const :: std :: os :: raw :: c_char , cfg : * const :: std :: os :: raw :: c_char , cfg_sz : :: std :: os :: raw :: c_int , nch : :: std :: os :: raw :: c_int , srate : :: std :: os :: raw :: c_int , buildpeaks : bool ,) -> * mut root :: PCM_sink > , pub PCM_Sink_CreateMIDIFile : Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char , cfg : * const :: std :: os :: raw :: c_char , cfg_sz : :: std :: os :: raw :: c_int , bpm : f64 , div : :: std :: os :: raw :: c_int ,) -> * mut root :: PCM_sink > , pub PCM_Sink_CreateMIDIFileEx : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , filename : * const :: std :: os :: raw :: c_char , cfg : * const :: std :: os :: raw :: c_char , cfg_sz : :: std :: os :: raw :: c_int , bpm : f64 , div : :: std :: os :: raw :: c_int ,) -> * mut root :: PCM_sink > , pub PCM_Sink_Enum : Option < unsafe extern "C" fn (idx : :: std :: os :: raw :: c_int , descstrOut : * mut * const :: std :: os :: raw :: c_char ,) -> :: std :: os :: raw :: c_uint > , pub PCM_Sink_GetExtension : Option < unsafe extern "C" fn (data : * const :: std :: os :: raw :: c_char , data_sz : :: std :: os :: raw :: c_int ,) -> * const :: std :: os :: raw :: c_char > , pub PCM_Sink_ShowConfig : Option < unsafe extern "C" fn (cfg : * const :: std :: os :: raw :: c_char , cfg_sz : :: std :: os :: raw :: c_int , hwndParent : root :: HWND ,) -> root :: HWND > , pub PCM_Source_BuildPeaks : Option < unsafe extern "C" fn (src : * mut root :: PCM_source , mode : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub PCM_Source_CreateFromFile : Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char ,) -> * mut root :: PCM_source > , pub PCM_Source_CreateFromFileEx : Option < unsafe extern "C" fn (filename : * const :: std :: os :: raw :: c_char , forcenoMidiImp : bool ,) -> * mut root :: PCM_source > , pub PCM_Source_CreateFromSimple : Option < unsafe extern "C" fn (dec : * mut root :: ISimpleMediaDecoder , fn_ : * const :: std :: os :: raw :: c_char ,) -> * mut root :: PCM_source > , pub PCM_Source_CreateFromType : Option < unsafe extern "C" fn (sourcetype : * const :: std :: os :: raw :: c_char ,) -> * mut root :: PCM_source > , pub PCM_Source_Destroy : Option < unsafe extern "C" fn (src : * mut root :: PCM_source) > , pub PCM_Source_GetPeaks : Option < unsafe extern "C" fn (src : * mut root :: PCM_source , peakrate : f64 , starttime : f64 , numchannels : :: std :: os :: raw :: c_int , numsamplesperchannel : :: std :: os :: raw :: c_int , want_extra_type : :: std :: os :: raw :: c_int , buf : * mut f64 ,) -> :: std :: os :: raw :: c_int > , pub PCM_Source_GetSectionInfo : Option < unsafe extern "C" fn (src : * mut root :: PCM_source , offsOut : * mut f64 , lenOut : * mut f64 , revOut : * mut bool ,) -> bool > , pub PeakBuild_Create : Option < unsafe extern "C" fn (src : * mut root :: PCM_source , fn_ : * const :: std :: os :: raw :: c_char , srate : :: std :: os :: raw :: c_int , nch : :: std :: os :: raw :: c_int ,) -> * mut root :: REAPER_PeakBuild_Interface > , pub PeakBuild_CreateEx : Option < unsafe extern "C" fn (src : * mut root :: PCM_source , fn_ : * const :: std :: os :: raw :: c_char , srate : :: std :: os :: raw :: c_int , nch : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int ,) -> * mut root :: REAPER_PeakBuild_Interface > , pub PeakGet_Create : Option < unsafe extern "C" fn (fn_ : * const :: std :: os :: raw :: c_char , srate : :: std :: os :: raw :: c_int , nch : :: std :: os :: raw :: c_int ,) -> * mut root :: REAPER_PeakGet_Interface > , pub PitchShiftSubModeMenu : Option < unsafe extern "C" fn (hwnd : root :: HWND , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , mode : :: std :: os :: raw :: c_int , submode_sel : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub PlayPreview : Option < unsafe extern "C" fn (preview : * mut root :: preview_register_t ,) -> :: std :: os :: raw :: c_int > , pub PlayPreviewEx : Option < unsafe extern "C" fn (preview : * mut root :: preview_register_t , bufflags : :: std :: os :: raw :: c_int , measure_align : f64 ,) -> :: std :: os :: raw :: c_int > , pub PlayTrackPreview : Option < unsafe extern "C" fn (preview : * mut root :: preview_register_t ,) -> :: std :: os :: raw :: c_int > , pub PlayTrackPreview2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , preview : * mut root :: preview_register_t ,) -> :: std :: os :: raw :: c_int > , pub PlayTrackPreview2Ex : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , preview : * mut root :: preview_register_t , flags : :: std :: os :: raw :: c_int , measure_align : f64 ,) -> :: std :: os :: raw :: c_int > , pub plugin_getapi : Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char ,) -> * mut :: std :: os :: raw :: c_void > , pub plugin_getFilterList : Option < extern "C" fn () -> * const :: std :: os :: raw :: c_char > , pub plugin_getImportableProjectFilterList : Option < extern "C" fn () -> * const :: std :: os :: raw :: c_char > , pub plugin_register : Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , infostruct : * mut :: std :: os :: raw :: c_void ,) -> :: std :: os :: raw :: c_int > , pub PluginWantsAlwaysRunFx : Option < extern "C" fn (amt : :: std :: os :: raw :: c_int) > , pub PreventUIRefresh : Option < extern "C" fn (prevent_count : :: std :: os :: raw :: c_int) > , pub projectconfig_var_addr : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , idx : :: std :: os :: raw :: c_int ,) -> * mut :: std :: os :: raw :: c_void > , pub projectconfig_var_getoffs : Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , szOut : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub PromptForAction : Option < extern "C" fn (session_mode : :: std :: os :: raw :: c_int , init_id : :: std :: os :: raw :: c_int , section_id : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub realloc_cmd_clear : Option < extern "C" fn (tok : :: std :: os :: raw :: c_int) > , pub realloc_cmd_ptr : Option < unsafe extern "C" fn (ptr : * mut * mut :: std :: os :: raw :: c_char , ptr_size : * mut :: std :: os :: raw :: c_int , new_size : :: std :: os :: raw :: c_int ,) -> bool > , pub realloc_cmd_register_buf : Option < unsafe extern "C" fn (ptr : * mut * mut :: std :: os :: raw :: c_char , ptr_size : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub ReaperGetPitchShiftAPI : Option < extern "C" fn (version : :: std :: os :: raw :: c_int ,) -> * mut root :: IReaperPitchShift > , pub ReaScriptError : Option < unsafe extern "C" fn (errmsg : * const :: std :: os :: raw :: c_char) > , pub RecursiveCreateDirectory : Option < unsafe extern "C" fn (path : * const :: std :: os :: raw :: c_char , ignored : usize ,) -> :: std :: os :: raw :: c_int > , pub reduce_open_files : Option < extern "C" fn (flags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > , pub RefreshToolbar : Option < extern "C" fn (command_id : :: std :: os :: raw :: c_int) > , pub RefreshToolbar2 : Option < extern "C" fn (section_id : :: std :: os :: raw :: c_int , command_id : :: std :: os :: raw :: c_int ,) > , pub relative_fn : Option < unsafe extern "C" fn (in_ : * const :: std :: os :: raw :: c_char , out : * mut :: std :: os :: raw :: c_char , out_sz : :: std :: os :: raw :: c_int ,) > , pub RemoveTrackSend : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , category : :: std :: os :: raw :: c_int , sendidx : :: std :: os :: raw :: c_int ,) -> bool > , pub RenderFileSection : Option < unsafe extern "C" fn (source_filename : * const :: std :: os :: raw :: c_char , target_filename : * const :: std :: os :: raw :: c_char , start_percent : f64 , end_percent : f64 , playrate : f64 ,) -> bool > , pub ReorderSelectedTracks : Option < extern "C" fn (beforeTrackIdx : :: std :: os :: raw :: c_int , makePrevFolder : :: std :: os :: raw :: c_int ,) -> bool > , pub Resample_EnumModes : Option < extern "C" fn (mode : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char > , pub Resampler_Create : Option < extern "C" fn () -> * mut root :: REAPER_Resample_Interface > , pub resolve_fn : Option < unsafe extern "C" fn (in_ : * const :: std :: os :: raw :: c_char , out : * mut :: std :: os :: raw :: c_char , out_sz : :: std :: os :: raw :: c_int ,) > , pub resolve_fn2 : Option < unsafe extern "C" fn (in_ : * const :: std :: os :: raw :: c_char , out : * mut :: std :: os :: raw :: c_char , out_sz : :: std :: os :: raw :: c_int , checkSubDirOptional : * const :: std :: os :: raw :: c_char ,) > , pub ResolveRenderPattern : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , path : * const :: std :: os :: raw :: c_char , pattern : * const :: std :: os :: raw :: c_char , targets : * mut :: std :: os :: raw :: c_char , targets_sz : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub ReverseNamedCommandLookup : Option < extern "C" fn (command_id : :: std :: os :: raw :: c_int ,) -> * const :: std :: os :: raw :: c_char > , pub ScaleFromEnvelopeMode : Option < extern "C" fn (scaling_mode : :: std :: os :: raw :: c_int , val : f64) -> f64 > , pub ScaleToEnvelopeMode : Option < extern "C" fn (scaling_mode : :: std :: os :: raw :: c_int , val : f64) -> f64 > , pub screenset_register : Option < unsafe extern "C" fn (id : * mut :: std :: os :: raw :: c_char , callbackFunc : * mut :: std :: os :: raw :: c_void , param : * mut :: std :: os :: raw :: c_void ,) > , pub screenset_registerNew : Option < unsafe extern "C" fn (id : * mut :: std :: os :: raw :: c_char , callbackFunc : root :: screensetNewCallbackFunc , param : * mut :: std :: os :: raw :: c_void ,) > , pub screenset_unregister : Option < unsafe extern "C" fn (id : * mut :: std :: os :: raw :: c_char) > , pub screenset_unregisterByParam : Option < unsafe extern "C" fn (param : * mut :: std :: os :: raw :: c_void) > , pub screenset_updateLastFocus : Option < unsafe extern "C" fn (prevWin : root :: HWND) > , pub SectionFromUniqueID : Option < extern "C" fn (uniqueID : :: std :: os :: raw :: c_int) -> * mut root :: KbdSectionInfo > , pub SelectAllMediaItems : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , selected : bool) > , pub SelectProjectInstance : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) > , pub SendLocalOscMessage : Option < unsafe extern "C" fn (local_osc_handler : * mut :: std :: os :: raw :: c_void , msg : * const :: std :: os :: raw :: c_char , msglen : :: std :: os :: raw :: c_int ,) > , pub SendMIDIMessageToHardware : Option < unsafe extern "C" fn (output : :: std :: os :: raw :: c_int , msg : * const :: std :: os :: raw :: c_char , msg_sz : :: std :: os :: raw :: c_int ,) > , pub SetActiveTake : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take) > , pub SetAutomationMode : Option < extern "C" fn (mode : :: std :: os :: raw :: c_int , onlySel : bool) > , pub SetCurrentBPM : Option < unsafe extern "C" fn (__proj : * mut root :: ReaProject , bpm : f64 , wantUndo : bool) > , pub SetCursorContext : Option < unsafe extern "C" fn (mode : :: std :: os :: raw :: c_int , envInOptional : * mut root :: TrackEnvelope ,) > , pub SetEditCurPos : Option < extern "C" fn (time : f64 , moveview : bool , seekplay : bool) > , pub SetEditCurPos2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , time : f64 , moveview : bool , seekplay : bool ,) > , pub SetEnvelopePoint : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope , ptidx : :: std :: os :: raw :: c_int , timeInOptional : * mut f64 , valueInOptional : * mut f64 , shapeInOptional : * mut :: std :: os :: raw :: c_int , tensionInOptional : * mut f64 , selectedInOptional : * mut bool , noSortInOptional : * mut bool ,) -> bool > , pub SetEnvelopePointEx : Option < unsafe extern "C" fn (envelope : * mut root :: TrackEnvelope , autoitem_idx : :: std :: os :: raw :: c_int , ptidx : :: std :: os :: raw :: c_int , timeInOptional : * mut f64 , valueInOptional : * mut f64 , shapeInOptional : * mut :: std :: os :: raw :: c_int , tensionInOptional : * mut f64 , selectedInOptional : * mut bool , noSortInOptional : * mut bool ,) -> bool > , pub SetEnvelopeStateChunk : Option < unsafe extern "C" fn (env : * mut root :: TrackEnvelope , str : * const :: std :: os :: raw :: c_char , isundoOptional : bool ,) -> bool > , pub SetExtState : Option < unsafe extern "C" fn (section : * const :: std :: os :: raw :: c_char , key : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char , persist : bool ,) > , pub SetGlobalAutomationOverride : Option < extern "C" fn (mode : :: std :: os :: raw :: c_int) > , pub SetItemStateChunk : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , str : * const :: std :: os :: raw :: c_char , isundoOptional : bool ,) -> bool > , pub SetMasterTrackVisibility : Option < extern "C" fn (flag : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > , pub SetMediaItemInfo_Value : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , parmname : * const :: std :: os :: raw :: c_char , newvalue : f64 ,) -> bool > , pub SetMediaItemLength : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , length : f64 , refreshUI : bool ,) -> bool > , pub SetMediaItemPosition : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , position : f64 , refreshUI : bool ,) -> bool > , pub SetMediaItemSelected : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , selected : bool) > , pub SetMediaItemTake_Source : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , source : * mut root :: PCM_source ,) -> bool > , pub SetMediaItemTakeInfo_Value : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , parmname : * const :: std :: os :: raw :: c_char , newvalue : f64 ,) -> bool > , pub SetMediaTrackInfo_Value : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , parmname : * const :: std :: os :: raw :: c_char , newvalue : f64 ,) -> bool > , pub SetMIDIEditorGrid : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , division : f64) > , pub SetMixerScroll : Option < unsafe extern "C" fn (leftmosttrack : * mut root :: MediaTrack) -> * mut root :: MediaTrack > , pub SetMouseModifier : Option < unsafe extern "C" fn (context : * const :: std :: os :: raw :: c_char , modifier_flag : :: std :: os :: raw :: c_int , action : * const :: std :: os :: raw :: c_char ,) > , pub SetOnlyTrackSelected : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack) > , pub SetProjectGrid : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , division : f64) > , pub SetProjectMarker : Option < unsafe extern "C" fn (markrgnindexnumber : :: std :: os :: raw :: c_int , isrgn : bool , pos : f64 , rgnend : f64 , name : * const :: std :: os :: raw :: c_char ,) -> bool > , pub SetProjectMarker2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , markrgnindexnumber : :: std :: os :: raw :: c_int , isrgn : bool , pos : f64 , rgnend : f64 , name : * const :: std :: os :: raw :: c_char ,) -> bool > , pub SetProjectMarker3 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , markrgnindexnumber : :: std :: os :: raw :: c_int , isrgn : bool , pos : f64 , rgnend : f64 , name : * const :: std :: os :: raw :: c_char , color : :: std :: os :: raw :: c_int ,) -> bool > , pub SetProjectMarker4 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , markrgnindexnumber : :: std :: os :: raw :: c_int , isrgn : bool , pos : f64 , rgnend : f64 , name : * const :: std :: os :: raw :: c_char , color : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int ,) -> bool > , pub SetProjectMarkerByIndex : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , markrgnidx : :: std :: os :: raw :: c_int , isrgn : bool , pos : f64 , rgnend : f64 , IDnumber : :: std :: os :: raw :: c_int , name : * const :: std :: os :: raw :: c_char , color : :: std :: os :: raw :: c_int ,) -> bool > , pub SetProjectMarkerByIndex2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , markrgnidx : :: std :: os :: raw :: c_int , isrgn : bool , pos : f64 , rgnend : f64 , IDnumber : :: std :: os :: raw :: c_int , name : * const :: std :: os :: raw :: c_char , color : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int ,) -> bool > , pub SetProjExtState : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , extname : * const :: std :: os :: raw :: c_char , key : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char ,) -> :: std :: os :: raw :: c_int > , pub SetRegionRenderMatrix : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , regionindex : :: std :: os :: raw :: c_int , track : * mut root :: MediaTrack , flag : :: std :: os :: raw :: c_int ,) > , pub SetRenderLastError : Option < unsafe extern "C" fn (errorstr : * const :: std :: os :: raw :: c_char) > , pub SetTakeMarker : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int , nameIn : * const :: std :: os :: raw :: c_char , srcposInOptional : * mut f64 , colorInOptional : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub SetTakeStretchMarker : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int , pos : f64 , srcposInOptional : * const f64 ,) -> :: std :: os :: raw :: c_int > , pub SetTakeStretchMarkerSlope : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , idx : :: std :: os :: raw :: c_int , slope : f64 ,) -> bool > , pub SetTempoTimeSigMarker : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , ptidx : :: std :: os :: raw :: c_int , timepos : f64 , measurepos : :: std :: os :: raw :: c_int , beatpos : f64 , bpm : f64 , timesig_num : :: std :: os :: raw :: c_int , timesig_denom : :: std :: os :: raw :: c_int , lineartempo : bool ,) -> bool > , pub SetThemeColor : Option < unsafe extern "C" fn (ini_key : * const :: std :: os :: raw :: c_char , color : :: std :: os :: raw :: c_int , flagsOptional : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub SetToggleCommandState : Option < extern "C" fn (section_id : :: std :: os :: raw :: c_int , command_id : :: std :: os :: raw :: c_int , state : :: std :: os :: raw :: c_int ,) -> bool > , pub SetTrackAutomationMode : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , mode : :: std :: os :: raw :: c_int) > , pub SetTrackColor : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , color : :: std :: os :: raw :: c_int) > , pub SetTrackMIDILyrics : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , flag : :: std :: os :: raw :: c_int , str : * const :: std :: os :: raw :: c_char ,) -> bool > , pub SetTrackMIDINoteName : Option < unsafe extern "C" fn (track : :: std :: os :: raw :: c_int , pitch : :: std :: os :: raw :: c_int , chan : :: std :: os :: raw :: c_int , name : * const :: std :: os :: raw :: c_char ,) -> bool > , pub SetTrackMIDINoteNameEx : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , track : * mut root :: MediaTrack , pitch : :: std :: os :: raw :: c_int , chan : :: std :: os :: raw :: c_int , name : * const :: std :: os :: raw :: c_char ,) -> bool > , pub SetTrackSelected : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , selected : bool) > , pub SetTrackSendInfo_Value : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , category : :: std :: os :: raw :: c_int , sendidx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char , newvalue : f64 ,) -> bool > , pub SetTrackSendUIPan : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , send_idx : :: std :: os :: raw :: c_int , pan : f64 , isend : :: std :: os :: raw :: c_int ,) -> bool > , pub SetTrackSendUIVol : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , send_idx : :: std :: os :: raw :: c_int , vol : f64 , isend : :: std :: os :: raw :: c_int ,) -> bool > , pub SetTrackStateChunk : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , str : * const :: std :: os :: raw :: c_char , isundoOptional : bool ,) -> bool > , pub SetTrackUIInputMonitor : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , monitor : :: std :: os :: raw :: c_int , igngroupflags : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub SetTrackUIMute : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , mute : :: std :: os :: raw :: c_int , igngroupflags : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub SetTrackUIPan : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , pan : f64 , relative : bool , done : bool , igngroupflags : :: std :: os :: raw :: c_int ,) -> f64 > , pub SetTrackUIPolarity : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , polarity : :: std :: os :: raw :: c_int , igngroupflags : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub SetTrackUIRecArm : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , recarm : :: std :: os :: raw :: c_int , igngroupflags : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub SetTrackUISolo : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , solo : :: std :: os :: raw :: c_int , igngroupflags : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub SetTrackUIVolume : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , volume : f64 , relative : bool , done : bool , igngroupflags : :: std :: os :: raw :: c_int ,) -> f64 > , pub SetTrackUIWidth : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , width : f64 , relative : bool , done : bool , igngroupflags : :: std :: os :: raw :: c_int ,) -> f64 > , pub ShowActionList : Option < unsafe extern "C" fn (section : * mut root :: KbdSectionInfo , callerWnd : root :: HWND) > , pub ShowConsoleMsg : Option < unsafe extern "C" fn (msg : * const :: std :: os :: raw :: c_char) > , pub ShowMessageBox : Option < unsafe extern "C" fn (msg : * const :: std :: os :: raw :: c_char , title : * const :: std :: os :: raw :: c_char , type_ : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub ShowPopupMenu : Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , hwndParentOptional : root :: HWND , ctxOptional : * mut :: std :: os :: raw :: c_void , ctx2Optional : :: std :: os :: raw :: c_int , ctx3Optional : :: std :: os :: raw :: c_int ,) > , pub SLIDER2DB : Option < extern "C" fn (y : f64) -> f64 > , pub SnapToGrid : Option < unsafe extern "C" fn (project : * mut root :: ReaProject , time_pos : f64) -> f64 > , pub SoloAllTracks : Option < extern "C" fn (solo : :: std :: os :: raw :: c_int) > , pub Splash_GetWnd : Option < extern "C" fn () -> root :: HWND > , pub SplitMediaItem : Option < unsafe extern "C" fn (item : * mut root :: MediaItem , position : f64 ,) -> * mut root :: MediaItem > , pub StopPreview : Option < unsafe extern "C" fn (preview : * mut root :: preview_register_t ,) -> :: std :: os :: raw :: c_int > , pub StopTrackPreview : Option < unsafe extern "C" fn (preview : * mut root :: preview_register_t ,) -> :: std :: os :: raw :: c_int > , pub StopTrackPreview2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , preview : * mut root :: preview_register_t ,) -> :: std :: os :: raw :: c_int > , pub stringToGuid : Option < unsafe extern "C" fn (str : * const :: std :: os :: raw :: c_char , g : * mut root :: GUID) > , pub StuffMIDIMessage : Option < extern "C" fn (mode : :: std :: os :: raw :: c_int , msg1 : :: std :: os :: raw :: c_int , msg2 : :: std :: os :: raw :: c_int , msg3 : :: std :: os :: raw :: c_int ,) > , pub TakeFX_AddByName : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fxname : * const :: std :: os :: raw :: c_char , instantiate : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub TakeFX_CopyToTake : Option < unsafe extern "C" fn (src_take : * mut root :: MediaItem_Take , src_fx : :: std :: os :: raw :: c_int , dest_take : * mut root :: MediaItem_Take , dest_fx : :: std :: os :: raw :: c_int , is_move : bool ,) > , pub TakeFX_CopyToTrack : Option < unsafe extern "C" fn (src_take : * mut root :: MediaItem_Take , src_fx : :: std :: os :: raw :: c_int , dest_track : * mut root :: MediaTrack , dest_fx : :: std :: os :: raw :: c_int , is_move : bool ,) > , pub TakeFX_Delete : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_EndParamEdit : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_FormatParamValue : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , val : f64 , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_FormatParamValueNormalized : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , value : f64 , buf : * mut :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_GetChainVisible : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take) -> :: std :: os :: raw :: c_int > , pub TakeFX_GetCount : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take) -> :: std :: os :: raw :: c_int > , pub TakeFX_GetEnabled : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_GetEnvelope : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fxindex : :: std :: os :: raw :: c_int , parameterindex : :: std :: os :: raw :: c_int , create : bool ,) -> * mut root :: TrackEnvelope > , pub TakeFX_GetFloatingWindow : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , index : :: std :: os :: raw :: c_int ,) -> root :: HWND > , pub TakeFX_GetFormattedParamValue : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_GetFXGUID : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int ,) -> * mut root :: GUID > , pub TakeFX_GetFXName : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_GetIOSize : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , inputPinsOut : * mut :: std :: os :: raw :: c_int , outputPinsOut : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub TakeFX_GetNamedConfigParm : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char , bufOutNeedBig : * mut :: std :: os :: raw :: c_char , bufOutNeedBig_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_GetNumParams : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub TakeFX_GetOffline : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_GetOpen : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_GetParam : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , minvalOut : * mut f64 , maxvalOut : * mut f64 ,) -> f64 > , pub TakeFX_GetParameterStepSizes : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , stepOut : * mut f64 , smallstepOut : * mut f64 , largestepOut : * mut f64 , istoggleOut : * mut bool ,) -> bool > , pub TakeFX_GetParamEx : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , minvalOut : * mut f64 , maxvalOut : * mut f64 , midvalOut : * mut f64 ,) -> f64 > , pub TakeFX_GetParamFromIdent : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , ident_str : * const :: std :: os :: raw :: c_char ,) -> :: std :: os :: raw :: c_int > , pub TakeFX_GetParamIdent : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_GetParamName : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_GetParamNormalized : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int ,) -> f64 > , pub TakeFX_GetPinMappings : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , isoutput : :: std :: os :: raw :: c_int , pin : :: std :: os :: raw :: c_int , high32Out : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub TakeFX_GetPreset : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , presetnameOut : * mut :: std :: os :: raw :: c_char , presetnameOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_GetPresetIndex : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , numberOfPresetsOut : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub TakeFX_GetUserPresetFilename : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , fnOut : * mut :: std :: os :: raw :: c_char , fnOut_sz : :: std :: os :: raw :: c_int ,) > , pub TakeFX_NavigatePresets : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , presetmove : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_SetEnabled : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , enabled : bool ,) > , pub TakeFX_SetNamedConfigParm : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char ,) -> bool > , pub TakeFX_SetOffline : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , offline : bool ,) > , pub TakeFX_SetOpen : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , open : bool ,) > , pub TakeFX_SetParam : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , val : f64 ,) -> bool > , pub TakeFX_SetParamNormalized : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , value : f64 ,) -> bool > , pub TakeFX_SetPinMappings : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , isoutput : :: std :: os :: raw :: c_int , pin : :: std :: os :: raw :: c_int , low32bits : :: std :: os :: raw :: c_int , hi32bits : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_SetPreset : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , presetname : * const :: std :: os :: raw :: c_char ,) -> bool > , pub TakeFX_SetPresetByIndex : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , fx : :: std :: os :: raw :: c_int , idx : :: std :: os :: raw :: c_int ,) -> bool > , pub TakeFX_Show : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take , index : :: std :: os :: raw :: c_int , showFlag : :: std :: os :: raw :: c_int ,) > , pub TakeIsMIDI : Option < unsafe extern "C" fn (take : * mut root :: MediaItem_Take) -> bool > , pub ThemeLayout_GetLayout : Option < unsafe extern "C" fn (section : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , nameOut : * mut :: std :: os :: raw :: c_char , nameOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub ThemeLayout_GetParameter : Option < unsafe extern "C" fn (wp : :: std :: os :: raw :: c_int , descOutOptional : * mut * const :: std :: os :: raw :: c_char , valueOutOptional : * mut :: std :: os :: raw :: c_int , defValueOutOptional : * mut :: std :: os :: raw :: c_int , minValueOutOptional : * mut :: std :: os :: raw :: c_int , maxValueOutOptional : * mut :: std :: os :: raw :: c_int ,) -> * const :: std :: os :: raw :: c_char > , pub ThemeLayout_RefreshAll : Option < extern "C" fn () > , pub ThemeLayout_SetLayout : Option < unsafe extern "C" fn (section : * const :: std :: os :: raw :: c_char , layout : * const :: std :: os :: raw :: c_char ,) -> bool > , pub ThemeLayout_SetParameter : Option < extern "C" fn (wp : :: std :: os :: raw :: c_int , value : :: std :: os :: raw :: c_int , persist : bool ,) -> bool > , pub time_precise : Option < extern "C" fn () -> f64 > , pub TimeMap2_beatsToTime : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , tpos : f64 , measuresInOptional : * const :: std :: os :: raw :: c_int ,) -> f64 > , pub TimeMap2_GetDividedBpmAtTime : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , time : f64) -> f64 > , pub TimeMap2_GetNextChangeTime : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , time : f64) -> f64 > , pub TimeMap2_QNToTime : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , qn : f64) -> f64 > , pub TimeMap2_timeToBeats : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , tpos : f64 , measuresOutOptional : * mut :: std :: os :: raw :: c_int , cmlOutOptional : * mut :: std :: os :: raw :: c_int , fullbeatsOutOptional : * mut f64 , cdenomOutOptional : * mut :: std :: os :: raw :: c_int ,) -> f64 > , pub TimeMap2_timeToQN : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , tpos : f64) -> f64 > , pub TimeMap_curFrameRate : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , dropFrameOut : * mut bool) -> f64 > , pub TimeMap_GetDividedBpmAtTime : Option < extern "C" fn (time : f64) -> f64 > , pub TimeMap_GetMeasureInfo : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , measure : :: std :: os :: raw :: c_int , qn_startOut : * mut f64 , qn_endOut : * mut f64 , timesig_numOut : * mut :: std :: os :: raw :: c_int , timesig_denomOut : * mut :: std :: os :: raw :: c_int , tempoOut : * mut f64 ,) -> f64 > , pub TimeMap_GetMetronomePattern : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , time : f64 , pattern : * mut :: std :: os :: raw :: c_char , pattern_sz : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub TimeMap_GetTimeSigAtTime : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , time : f64 , timesig_numOut : * mut :: std :: os :: raw :: c_int , timesig_denomOut : * mut :: std :: os :: raw :: c_int , tempoOut : * mut f64 ,) > , pub TimeMap_QNToMeasures : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , qn : f64 , qnMeasureStartOutOptional : * mut f64 , qnMeasureEndOutOptional : * mut f64 ,) -> :: std :: os :: raw :: c_int > , pub TimeMap_QNToTime : Option < extern "C" fn (qn : f64) -> f64 > , pub TimeMap_QNToTime_abs : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , qn : f64) -> f64 > , pub TimeMap_timeToQN : Option < extern "C" fn (tpos : f64) -> f64 > , pub TimeMap_timeToQN_abs : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , tpos : f64) -> f64 > , pub ToggleTrackSendUIMute : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , send_idx : :: std :: os :: raw :: c_int ,) -> bool > , pub Track_GetPeakHoldDB : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , channel : :: std :: os :: raw :: c_int , clear : bool ,) -> f64 > , pub Track_GetPeakInfo : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , channel : :: std :: os :: raw :: c_int ,) -> f64 > , pub TrackCtl_SetToolTip : Option < unsafe extern "C" fn (fmt : * const :: std :: os :: raw :: c_char , xpos : :: std :: os :: raw :: c_int , ypos : :: std :: os :: raw :: c_int , topmost : bool ,) > , pub TrackFX_AddByName : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fxname : * const :: std :: os :: raw :: c_char , recFX : bool , instantiate : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub TrackFX_CopyToTake : Option < unsafe extern "C" fn (src_track : * mut root :: MediaTrack , src_fx : :: std :: os :: raw :: c_int , dest_take : * mut root :: MediaItem_Take , dest_fx : :: std :: os :: raw :: c_int , is_move : bool ,) > , pub TrackFX_CopyToTrack : Option < unsafe extern "C" fn (src_track : * mut root :: MediaTrack , src_fx : :: std :: os :: raw :: c_int , dest_track : * mut root :: MediaTrack , dest_fx : :: std :: os :: raw :: c_int , is_move : bool ,) > , pub TrackFX_Delete : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_EndParamEdit : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_FormatParamValue : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , val : f64 , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_FormatParamValueNormalized : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , value : f64 , buf : * mut :: std :: os :: raw :: c_char , buf_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_GetByName : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fxname : * const :: std :: os :: raw :: c_char , instantiate : bool ,) -> :: std :: os :: raw :: c_int > , pub TrackFX_GetChainVisible : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int > , pub TrackFX_GetCount : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int > , pub TrackFX_GetEnabled : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_GetEQ : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , instantiate : bool ,) -> :: std :: os :: raw :: c_int > , pub TrackFX_GetEQBandEnabled : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fxidx : :: std :: os :: raw :: c_int , bandtype : :: std :: os :: raw :: c_int , bandidx : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_GetEQParam : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fxidx : :: std :: os :: raw :: c_int , paramidx : :: std :: os :: raw :: c_int , bandtypeOut : * mut :: std :: os :: raw :: c_int , bandidxOut : * mut :: std :: os :: raw :: c_int , paramtypeOut : * mut :: std :: os :: raw :: c_int , normvalOut : * mut f64 ,) -> bool > , pub TrackFX_GetFloatingWindow : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , index : :: std :: os :: raw :: c_int ,) -> root :: HWND > , pub TrackFX_GetFormattedParamValue : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_GetFXGUID : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int ,) -> * mut root :: GUID > , pub TrackFX_GetFXName : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_GetInstrument : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int > , pub TrackFX_GetIOSize : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , inputPinsOut : * mut :: std :: os :: raw :: c_int , outputPinsOut : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub TrackFX_GetNamedConfigParm : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char , bufOutNeedBig : * mut :: std :: os :: raw :: c_char , bufOutNeedBig_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_GetNumParams : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub TrackFX_GetOffline : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_GetOpen : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_GetParam : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , minvalOut : * mut f64 , maxvalOut : * mut f64 ,) -> f64 > , pub TrackFX_GetParameterStepSizes : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , stepOut : * mut f64 , smallstepOut : * mut f64 , largestepOut : * mut f64 , istoggleOut : * mut bool ,) -> bool > , pub TrackFX_GetParamEx : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , minvalOut : * mut f64 , maxvalOut : * mut f64 , midvalOut : * mut f64 ,) -> f64 > , pub TrackFX_GetParamFromIdent : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , ident_str : * const :: std :: os :: raw :: c_char ,) -> :: std :: os :: raw :: c_int > , pub TrackFX_GetParamIdent : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_GetParamName : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , bufOut : * mut :: std :: os :: raw :: c_char , bufOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_GetParamNormalized : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int ,) -> f64 > , pub TrackFX_GetPinMappings : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , isoutput : :: std :: os :: raw :: c_int , pin : :: std :: os :: raw :: c_int , high32Out : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub TrackFX_GetPreset : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , presetnameOut : * mut :: std :: os :: raw :: c_char , presetnameOut_sz : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_GetPresetIndex : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , numberOfPresetsOut : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub TrackFX_GetRecChainVisible : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int > , pub TrackFX_GetRecCount : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack) -> :: std :: os :: raw :: c_int > , pub TrackFX_GetUserPresetFilename : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , fnOut : * mut :: std :: os :: raw :: c_char , fnOut_sz : :: std :: os :: raw :: c_int ,) > , pub TrackFX_NavigatePresets : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , presetmove : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_SetEnabled : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , enabled : bool ,) > , pub TrackFX_SetEQBandEnabled : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fxidx : :: std :: os :: raw :: c_int , bandtype : :: std :: os :: raw :: c_int , bandidx : :: std :: os :: raw :: c_int , enable : bool ,) -> bool > , pub TrackFX_SetEQParam : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fxidx : :: std :: os :: raw :: c_int , bandtype : :: std :: os :: raw :: c_int , bandidx : :: std :: os :: raw :: c_int , paramtype : :: std :: os :: raw :: c_int , val : f64 , isnorm : bool ,) -> bool > , pub TrackFX_SetNamedConfigParm : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , parmname : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_char ,) -> bool > , pub TrackFX_SetOffline : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , offline : bool ,) > , pub TrackFX_SetOpen : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , open : bool ,) > , pub TrackFX_SetParam : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , val : f64 ,) -> bool > , pub TrackFX_SetParamNormalized : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , param : :: std :: os :: raw :: c_int , value : f64 ,) -> bool > , pub TrackFX_SetPinMappings : Option < unsafe extern "C" fn (tr : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , isoutput : :: std :: os :: raw :: c_int , pin : :: std :: os :: raw :: c_int , low32bits : :: std :: os :: raw :: c_int , hi32bits : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_SetPreset : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , presetname : * const :: std :: os :: raw :: c_char ,) -> bool > , pub TrackFX_SetPresetByIndex : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , fx : :: std :: os :: raw :: c_int , idx : :: std :: os :: raw :: c_int ,) -> bool > , pub TrackFX_Show : Option < unsafe extern "C" fn (track : * mut root :: MediaTrack , index : :: std :: os :: raw :: c_int , showFlag : :: std :: os :: raw :: c_int ,) > , pub TrackList_AdjustWindows : Option < extern "C" fn (isMinor : bool) > , pub TrackList_UpdateAllExternalSurfaces : Option < extern "C" fn () > , pub Undo_BeginBlock : Option < extern "C" fn () > , pub Undo_BeginBlock2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) > , pub Undo_CanRedo2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> * const :: std :: os :: raw :: c_char > , pub Undo_CanUndo2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> * const :: std :: os :: raw :: c_char > , pub Undo_DoRedo2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int > , pub Undo_DoUndo2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> :: std :: os :: raw :: c_int > , pub Undo_EndBlock : Option < unsafe extern "C" fn (descchange : * const :: std :: os :: raw :: c_char , extraflags : :: std :: os :: raw :: c_int ,) > , pub Undo_EndBlock2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , descchange : * const :: std :: os :: raw :: c_char , extraflags : :: std :: os :: raw :: c_int ,) > , pub Undo_OnStateChange : Option < unsafe extern "C" fn (descchange : * const :: std :: os :: raw :: c_char) > , pub Undo_OnStateChange2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , descchange : * const :: std :: os :: raw :: c_char ,) > , pub Undo_OnStateChange_Item : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , name : * const :: std :: os :: raw :: c_char , item : * mut root :: MediaItem ,) > , pub Undo_OnStateChangeEx : Option < unsafe extern "C" fn (descchange : * const :: std :: os :: raw :: c_char , whichStates : :: std :: os :: raw :: c_int , trackparm : :: std :: os :: raw :: c_int ,) > , pub Undo_OnStateChangeEx2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , descchange : * const :: std :: os :: raw :: c_char , whichStates : :: std :: os :: raw :: c_int , trackparm : :: std :: os :: raw :: c_int ,) > , pub update_disk_counters : Option < extern "C" fn (readamt : :: std :: os :: raw :: c_int , writeamt : :: std :: os :: raw :: c_int ,) > , pub UpdateArrange : Option < extern "C" fn () > , pub UpdateItemInProject : Option < unsafe extern "C" fn (item : * mut root :: MediaItem) > , pub UpdateItemLanes : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject) -> bool > , pub UpdateTimeline : Option < extern "C" fn () > , pub ValidatePtr : Option < unsafe extern "C" fn (pointer : * mut :: std :: os :: raw :: c_void , ctypename : * const :: std :: os :: raw :: c_char ,) -> bool > , pub ValidatePtr2 : Option < unsafe extern "C" fn (proj : * mut root :: ReaProject , pointer : * mut :: std :: os :: raw :: c_void , ctypename : * const :: std :: os :: raw :: c_char ,) -> bool > , pub ViewPrefs : Option < unsafe extern "C" fn (page : :: std :: os :: raw :: c_int , pageByName : * const :: std :: os :: raw :: c_char ,) > , pub WDL_VirtualWnd_ScaledBlitBG : Option < unsafe extern "C" fn (dest : * mut root :: reaper_functions :: LICE_IBitmap , src : * mut root :: reaper_functions :: WDL_VirtualWnd_BGCfg , destx : :: std :: os :: raw :: c_int , desty : :: std :: os :: raw :: c_int , destw : :: std :: os :: raw :: c_int , desth : :: std :: os :: raw :: c_int , clipx : :: std :: os :: raw :: c_int , clipy : :: std :: os :: raw :: c_int , clipw : :: std :: os :: raw :: c_int , cliph : :: std :: os :: raw :: c_int , alpha : f32 , mode : :: std :: os :: raw :: c_int ,) -> bool > , pub GetMidiInput : Option < extern "C" fn (idx : :: std :: os :: raw :: c_int) -> * mut root :: midi_Input > , pub GetMidiOutput : Option < extern "C" fn (idx : :: std :: os :: raw :: c_int) -> * mut root :: midi_Output > , pub fxDoReaperPresetAction : Option < unsafe extern "C" fn (fx : * mut :: std :: os :: raw :: c_void , name : * const :: std :: os :: raw :: c_char , flag : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub AddCustomMenuOrToolbarItem : Option < unsafe extern "C" fn (menuname : * const :: std :: os :: raw :: c_char , pos : :: std :: os :: raw :: c_int , command_id : :: std :: os :: raw :: c_int , toolbarflags : :: std :: os :: raw :: c_int , str : * const :: std :: os :: raw :: c_char , iconfn : * const :: std :: os :: raw :: c_char , extra_flags : :: std :: os :: raw :: c_int ,) -> bool > , pub DeleteCustomMenuOrToolbarItem : Option < unsafe extern "C" fn (menuname : * const :: std :: os :: raw :: c_char , pos : :: std :: os :: raw :: c_int , extra_flags : :: std :: os :: raw :: c_int ,) -> bool > , pub GetCustomMenuOrToolbarItem : Option < unsafe extern "C" fn (menuname : * const :: std :: os :: raw :: c_char , pos : :: std :: os :: raw :: c_int , commandOutOptional : * mut :: std :: os :: raw :: c_int , toolbarFlagsOutOptional : * mut :: std :: os :: raw :: c_int , strOutOptional : * mut * const :: std :: os :: raw :: c_char , iconFnOutOptional : * mut * const :: std :: os :: raw :: c_char ,) -> bool > , pub AdvancePlaybackPosition : Option < unsafe extern "C" fn (__proj : * mut root :: ReaProject , opos : f64 , npos : * mut f64 , loopcnt : * mut :: std :: os :: raw :: c_longlong , srate : f64 , max_spls : * mut :: std :: os :: raw :: c_int , sf : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetPlayLoopCnt : Option < unsafe extern "C" fn (__proj : * mut root :: ReaProject , something : * mut :: std :: os :: raw :: c_void ,) -> :: std :: os :: raw :: c_longlong > , pub InitializeCoolSB : Option < unsafe extern "system" fn (hwnd : root :: HWND) -> root :: BOOL > , pub UninitializeCoolSB : Option < unsafe extern "system" fn (hwnd : root :: HWND) -> root :: HRESULT > , pub CoolSB_SetMinThumbSize : Option < unsafe extern "system" fn (hwnd : root :: HWND , wBar : root :: UINT , size : root :: UINT ,) -> root :: BOOL > , pub CoolSB_GetScrollInfo : Option < unsafe extern "system" fn (hwnd : root :: HWND , fnBar : :: std :: os :: raw :: c_int , lpsi : root :: LPSCROLLINFO ,) -> root :: BOOL > , pub CoolSB_SetScrollInfo : Option < unsafe extern "system" fn (hwnd : root :: HWND , fnBar : :: std :: os :: raw :: c_int , lpsi : root :: LPSCROLLINFO , fRedraw : root :: BOOL ,) -> :: std :: os :: raw :: c_int > , pub CoolSB_SetScrollPos : Option < unsafe extern "system" fn (hwnd : root :: HWND , nBar : :: std :: os :: raw :: c_int , nPos : :: std :: os :: raw :: c_int , fRedraw : root :: BOOL ,) -> :: std :: os :: raw :: c_int > , pub CoolSB_SetScrollRange : Option < unsafe extern "system" fn (hwnd : root :: HWND , nBar : :: std :: os :: raw :: c_int , nMinPos : :: std :: os :: raw :: c_int , nMaxPos : :: std :: os :: raw :: c_int , fRedraw : root :: BOOL ,) -> :: std :: os :: raw :: c_int > , pub CoolSB_ShowScrollBar : Option < unsafe extern "system" fn (hwnd : root :: HWND , wBar : :: std :: os :: raw :: c_int , fShow : root :: BOOL ,) -> root :: BOOL > , pub CoolSB_SetResizingThumb : Option < unsafe extern "system" fn (hwnd : root :: HWND , active : root :: BOOL) -> root :: BOOL > , pub CoolSB_SetThemeIndex : Option < unsafe extern "system" fn (hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int) -> root :: BOOL > , } impl ReaperFunctionPointers { pub (crate) const TOTAL_COUNT : u32 = 866u32 ; } \ No newline at end of file diff --git a/main/low/src/swell.rs b/main/low/src/swell.rs index d76d7d95..98f899e6 100644 --- a/main/low/src/swell.rs +++ b/main/low/src/swell.rs @@ -1,9669 +1 @@ -#![doc = r" This file is automatically generated by executing `cargo build --features generate`."] -#![doc = r""] -#![doc = r" **Make adjustments in `build.rs`, not in this file!**"] -#![allow(clippy::many_single_char_names)] -#![allow(clippy::too_many_arguments)] -#![allow(clippy::type_complexity)] -#![allow(clippy::missing_transmute_annotations)] -#![allow(non_upper_case_globals)] -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(unused_unsafe)] -use crate::{bindings::root, PluginContext}; -#[doc = r" This is the low-level API access point to all SWELL functions."] -#[doc = r""] -#[doc = r" SWELL is the Simple Windows Emulation Layer and is exposed by REAPER for Linux"] -#[doc = r" and Mac OS X."] -#[doc = r""] -#[doc = r" See [`Reaper`] for details how to use this struct (it's very similar)."] -#[doc = r""] -#[doc = r" [`Reaper`]: struct.Reaper.html"] -#[derive(Copy, Clone, Debug, Default)] -pub struct Swell { - pub(crate) pointers: SwellFunctionPointers, - pub(crate) plugin_context: Option, -} -impl Swell { - #[doc = r" Loads all available SWELL functions from the given plug-in context."] - #[doc = r""] - #[doc = r" Returns a `Swell` instance which allows you to call these functions."] - #[doc = r""] - #[doc = r" On Windows, this function will not load any function pointers because"] - #[doc = r" the methods in this struct delegate to the corresponding Windows functions."] - #[doc = r""] - #[doc = r" # Panics"] - #[doc = r""] - #[doc = r" If this is Linux and the SWELL function provider is not available, this"] - #[doc = r" function panics."] - pub fn load(plugin_context: PluginContext) -> Swell { - #[cfg(target_family = "windows")] - { - Swell { - pointers: Default::default(), - plugin_context: Some(plugin_context), - } - } - #[cfg(target_family = "unix")] - { - let mut loaded_count = 0; - let get_func = plugin_context - .swell_function_provider() - .expect("SWELL function provider not available"); - let mut pointers = unsafe { - SwellFunctionPointers { - loaded_count: 0, - lstrcpyn: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(lstrcpyn)).as_ptr(), - )), - MulDiv: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(MulDiv)).as_ptr(), - )), - Sleep: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(Sleep)).as_ptr(), - )), - GetTickCount: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetTickCount)).as_ptr(), - )), - GetFileTime: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetFileTime)).as_ptr(), - )), - WritePrivateProfileString: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(WritePrivateProfileString)).as_ptr(), - )), - GetPrivateProfileString: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetPrivateProfileString)).as_ptr(), - )), - GetPrivateProfileInt: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetPrivateProfileInt)).as_ptr(), - )), - GetPrivateProfileStruct: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetPrivateProfileStruct)).as_ptr(), - )), - WritePrivateProfileStruct: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(WritePrivateProfileStruct)).as_ptr(), - )), - WritePrivateProfileSection: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(WritePrivateProfileSection)).as_ptr(), - )), - GetPrivateProfileSection: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetPrivateProfileSection)).as_ptr(), - )), - GetModuleFileName: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetModuleFileName)).as_ptr(), - )), - SWELL_PtInRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_PtInRect)).as_ptr(), - )), - ShellExecute: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ShellExecute)).as_ptr(), - )), - MessageBox: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(MessageBox)).as_ptr(), - )), - BrowseForFiles: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(BrowseForFiles)).as_ptr(), - )), - BrowseForSaveFile: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(BrowseForSaveFile)).as_ptr(), - )), - BrowseForDirectory: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(BrowseForDirectory)).as_ptr(), - )), - BrowseFile_SetTemplate: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(BrowseFile_SetTemplate)).as_ptr(), - )), - GetDlgItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetDlgItem)).as_ptr(), - )), - ShowWindow: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ShowWindow)).as_ptr(), - )), - DestroyWindow: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(DestroyWindow)).as_ptr(), - )), - SWELL_GetGestureInfo: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetGestureInfo)).as_ptr(), - )), - SWELL_HideApp: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_HideApp)).as_ptr(), - )), - SetDlgItemText: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetDlgItemText)).as_ptr(), - )), - SetDlgItemInt: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetDlgItemInt)).as_ptr(), - )), - GetDlgItemInt: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetDlgItemInt)).as_ptr(), - )), - GetDlgItemText: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetDlgItemText)).as_ptr(), - )), - GetWindowTextLength: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetWindowTextLength)).as_ptr(), - )), - CheckDlgButton: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CheckDlgButton)).as_ptr(), - )), - IsDlgButtonChecked: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(IsDlgButtonChecked)).as_ptr(), - )), - EnableWindow: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(EnableWindow)).as_ptr(), - )), - SetFocus: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetFocus)).as_ptr(), - )), - GetFocus: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetFocus)).as_ptr(), - )), - SetForegroundWindow: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetForegroundWindow)).as_ptr(), - )), - GetForegroundWindow: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetForegroundWindow)).as_ptr(), - )), - SetCapture: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetCapture)).as_ptr(), - )), - GetCapture: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetCapture)).as_ptr(), - )), - ReleaseCapture: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ReleaseCapture)).as_ptr(), - )), - IsChild: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(IsChild)).as_ptr(), - )), - GetParent: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetParent)).as_ptr(), - )), - SetParent: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetParent)).as_ptr(), - )), - GetWindow: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetWindow)).as_ptr(), - )), - EnumWindows: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(EnumWindows)).as_ptr(), - )), - FindWindowEx: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(FindWindowEx)).as_ptr(), - )), - ClientToScreen: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ClientToScreen)).as_ptr(), - )), - ScreenToClient: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ScreenToClient)).as_ptr(), - )), - GetWindowRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetWindowRect)).as_ptr(), - )), - GetWindowContentViewRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetWindowContentViewRect)).as_ptr(), - )), - GetClientRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetClientRect)).as_ptr(), - )), - WindowFromPoint: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(WindowFromPoint)).as_ptr(), - )), - WinOffsetRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(WinOffsetRect)).as_ptr(), - )), - WinSetRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(WinSetRect)).as_ptr(), - )), - WinUnionRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(WinUnionRect)).as_ptr(), - )), - WinIntersectRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(WinIntersectRect)).as_ptr(), - )), - SetWindowPos: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetWindowPos)).as_ptr(), - )), - SWELL_SetWindowLevel: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_SetWindowLevel)).as_ptr(), - )), - InvalidateRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(InvalidateRect)).as_ptr(), - )), - UpdateWindow: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(UpdateWindow)).as_ptr(), - )), - GetWindowLong: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetWindowLong)).as_ptr(), - )), - SetWindowLong: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetWindowLong)).as_ptr(), - )), - ScrollWindow: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ScrollWindow)).as_ptr(), - )), - EnumPropsEx: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(EnumPropsEx)).as_ptr(), - )), - GetProp: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetProp)).as_ptr(), - )), - SetProp: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetProp)).as_ptr(), - )), - RemoveProp: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(RemoveProp)).as_ptr(), - )), - IsWindowVisible: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(IsWindowVisible)).as_ptr(), - )), - IsWindow: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(IsWindow)).as_ptr(), - )), - SetTimer: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetTimer)).as_ptr(), - )), - KillTimer: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(KillTimer)).as_ptr(), - )), - ListView_SetExtendedListViewStyleEx: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SetExtendedListViewStyleEx)) - .as_ptr(), - )), - ListView_InsertColumn: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_InsertColumn)).as_ptr(), - )), - ListView_DeleteColumn: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_DeleteColumn)).as_ptr(), - )), - ListView_SetColumn: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SetColumn)).as_ptr(), - )), - ListView_GetColumnWidth: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_GetColumnWidth)).as_ptr(), - )), - ListView_InsertItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_InsertItem)).as_ptr(), - )), - ListView_SetItemText: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SetItemText)).as_ptr(), - )), - ListView_SetItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SetItem)).as_ptr(), - )), - ListView_GetNextItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_GetNextItem)).as_ptr(), - )), - ListView_GetItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_GetItem)).as_ptr(), - )), - ListView_GetItemState: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_GetItemState)).as_ptr(), - )), - ListView_DeleteItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_DeleteItem)).as_ptr(), - )), - ListView_DeleteAllItems: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_DeleteAllItems)).as_ptr(), - )), - ListView_GetSelectedCount: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_GetSelectedCount)).as_ptr(), - )), - ListView_GetItemCount: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_GetItemCount)).as_ptr(), - )), - ListView_GetSelectionMark: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_GetSelectionMark)).as_ptr(), - )), - ListView_SetColumnWidth: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SetColumnWidth)).as_ptr(), - )), - ListView_SetItemState: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SetItemState)).as_ptr(), - )), - ListView_RedrawItems: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_RedrawItems)).as_ptr(), - )), - ListView_SetItemCount: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SetItemCount)).as_ptr(), - )), - ListView_EnsureVisible: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_EnsureVisible)).as_ptr(), - )), - ListView_SetImageList: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SetImageList)).as_ptr(), - )), - ListView_SubItemHitTest: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SubItemHitTest)).as_ptr(), - )), - ListView_GetItemText: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_GetItemText)).as_ptr(), - )), - ListView_SortItems: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SortItems)).as_ptr(), - )), - ListView_Scroll: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_Scroll)).as_ptr(), - )), - ListView_GetTopIndex: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_GetTopIndex)).as_ptr(), - )), - ListView_GetCountPerPage: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_GetCountPerPage)).as_ptr(), - )), - ListView_SetColumnOrderArray: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SetColumnOrderArray)).as_ptr(), - )), - ListView_GetColumnOrderArray: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_GetColumnOrderArray)).as_ptr(), - )), - ListView_GetHeader: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_GetHeader)).as_ptr(), - )), - Header_GetItemCount: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(Header_GetItemCount)).as_ptr(), - )), - Header_GetItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(Header_GetItem)).as_ptr(), - )), - Header_SetItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(Header_SetItem)).as_ptr(), - )), - ListView_GetItemRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_GetItemRect)).as_ptr(), - )), - ListView_GetSubItemRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_GetSubItemRect)).as_ptr(), - )), - ListView_HitTest: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_HitTest)).as_ptr(), - )), - SWELL_GetListViewHeaderHeight: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetListViewHeaderHeight)).as_ptr(), - )), - ImageList_CreateEx: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ImageList_CreateEx)).as_ptr(), - )), - ImageList_Remove: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ImageList_Remove)).as_ptr(), - )), - ImageList_ReplaceIcon: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ImageList_ReplaceIcon)).as_ptr(), - )), - ImageList_Add: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ImageList_Add)).as_ptr(), - )), - ImageList_Destroy: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ImageList_Destroy)).as_ptr(), - )), - TabCtrl_GetItemCount: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TabCtrl_GetItemCount)).as_ptr(), - )), - TabCtrl_DeleteItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TabCtrl_DeleteItem)).as_ptr(), - )), - TabCtrl_InsertItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TabCtrl_InsertItem)).as_ptr(), - )), - TabCtrl_SetCurSel: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TabCtrl_SetCurSel)).as_ptr(), - )), - TabCtrl_GetCurSel: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TabCtrl_GetCurSel)).as_ptr(), - )), - TabCtrl_AdjustRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TabCtrl_AdjustRect)).as_ptr(), - )), - TreeView_InsertItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_InsertItem)).as_ptr(), - )), - TreeView_Expand: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_Expand)).as_ptr(), - )), - TreeView_GetSelection: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_GetSelection)).as_ptr(), - )), - TreeView_DeleteItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_DeleteItem)).as_ptr(), - )), - TreeView_DeleteAllItems: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_DeleteAllItems)).as_ptr(), - )), - TreeView_SelectItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_SelectItem)).as_ptr(), - )), - TreeView_EnsureVisible: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_EnsureVisible)).as_ptr(), - )), - TreeView_GetItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_GetItem)).as_ptr(), - )), - TreeView_SetItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_SetItem)).as_ptr(), - )), - TreeView_HitTest: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_HitTest)).as_ptr(), - )), - TreeView_SetIndent: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_SetIndent)).as_ptr(), - )), - TreeView_GetParent: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_GetParent)).as_ptr(), - )), - TreeView_GetChild: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_GetChild)).as_ptr(), - )), - TreeView_GetNextSibling: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_GetNextSibling)).as_ptr(), - )), - TreeView_GetRoot: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_GetRoot)).as_ptr(), - )), - TreeView_SetBkColor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_SetBkColor)).as_ptr(), - )), - TreeView_SetTextColor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TreeView_SetTextColor)).as_ptr(), - )), - ListView_SetBkColor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SetBkColor)).as_ptr(), - )), - ListView_SetTextBkColor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SetTextBkColor)).as_ptr(), - )), - ListView_SetTextColor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SetTextColor)).as_ptr(), - )), - ListView_SetGridColor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SetGridColor)).as_ptr(), - )), - ListView_SetSelColors: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ListView_SetSelColors)).as_ptr(), - )), - SWELL_ModalWindowStart: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_ModalWindowStart)).as_ptr(), - )), - SWELL_ModalWindowRun: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_ModalWindowRun)).as_ptr(), - )), - SWELL_ModalWindowEnd: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_ModalWindowEnd)).as_ptr(), - )), - SWELL_CloseWindow: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_CloseWindow)).as_ptr(), - )), - CreatePopupMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CreatePopupMenu)).as_ptr(), - )), - CreatePopupMenuEx: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CreatePopupMenuEx)).as_ptr(), - )), - DestroyMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(DestroyMenu)).as_ptr(), - )), - AddMenuItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(AddMenuItem)).as_ptr(), - )), - GetSubMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetSubMenu)).as_ptr(), - )), - GetMenuItemCount: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetMenuItemCount)).as_ptr(), - )), - GetMenuItemID: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetMenuItemID)).as_ptr(), - )), - SetMenuItemModifier: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetMenuItemModifier)).as_ptr(), - )), - SetMenuItemText: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetMenuItemText)).as_ptr(), - )), - EnableMenuItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(EnableMenuItem)).as_ptr(), - )), - DeleteMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(DeleteMenu)).as_ptr(), - )), - CheckMenuItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CheckMenuItem)).as_ptr(), - )), - InsertMenuItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(InsertMenuItem)).as_ptr(), - )), - SWELL_InsertMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_InsertMenu)).as_ptr(), - )), - GetMenuItemInfo: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetMenuItemInfo)).as_ptr(), - )), - SetMenuItemInfo: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetMenuItemInfo)).as_ptr(), - )), - DrawMenuBar: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(DrawMenuBar)).as_ptr(), - )), - SWELL_LoadMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_LoadMenu)).as_ptr(), - )), - TrackPopupMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(TrackPopupMenu)).as_ptr(), - )), - SWELL_SetMenuDestination: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_SetMenuDestination)).as_ptr(), - )), - SWELL_DuplicateMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_DuplicateMenu)).as_ptr(), - )), - SetMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetMenu)).as_ptr(), - )), - GetMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetMenu)).as_ptr(), - )), - SWELL_GetDefaultWindowMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetDefaultWindowMenu)).as_ptr(), - )), - SWELL_SetDefaultWindowMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_SetDefaultWindowMenu)).as_ptr(), - )), - SWELL_GetDefaultModalWindowMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetDefaultModalWindowMenu)).as_ptr(), - )), - SWELL_SetDefaultModalWindowMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_SetDefaultModalWindowMenu)).as_ptr(), - )), - SWELL_GetCurrentMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetCurrentMenu)).as_ptr(), - )), - SWELL_SetCurrentMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_SetCurrentMenu)).as_ptr(), - )), - SWELL_DialogBox: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_DialogBox)).as_ptr(), - )), - SWELL_CreateDialog: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_CreateDialog)).as_ptr(), - )), - SWELL_RegisterCustomControlCreator: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_RegisterCustomControlCreator)) - .as_ptr(), - )), - SWELL_UnregisterCustomControlCreator: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_UnregisterCustomControlCreator)) - .as_ptr(), - )), - DefWindowProc: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(DefWindowProc)).as_ptr(), - )), - EndDialog: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(EndDialog)).as_ptr(), - )), - SWELL_GetDefaultButtonID: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetDefaultButtonID)).as_ptr(), - )), - SendMessage: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SendMessage)).as_ptr(), - )), - SWELL_BroadcastMessage: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_BroadcastMessage)).as_ptr(), - )), - PostMessage: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(PostMessage)).as_ptr(), - )), - SWELL_MessageQueue_Flush: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_MessageQueue_Flush)).as_ptr(), - )), - SWELL_MessageQueue_Clear: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_MessageQueue_Clear)).as_ptr(), - )), - SWELL_KeyToASCII: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_KeyToASCII)).as_ptr(), - )), - GetAsyncKeyState: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetAsyncKeyState)).as_ptr(), - )), - GetCursorPos: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetCursorPos)).as_ptr(), - )), - GetMessagePos: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetMessagePos)).as_ptr(), - )), - SWELL_LoadCursor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_LoadCursor)).as_ptr(), - )), - SWELL_SetCursor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_SetCursor)).as_ptr(), - )), - SWELL_EnableRightClickEmulate: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_EnableRightClickEmulate)).as_ptr(), - )), - SWELL_GetCursor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetCursor)).as_ptr(), - )), - SWELL_GetLastSetCursor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetLastSetCursor)).as_ptr(), - )), - SWELL_IsCursorVisible: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_IsCursorVisible)).as_ptr(), - )), - SWELL_ShowCursor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_ShowCursor)).as_ptr(), - )), - SWELL_SetCursorPos: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_SetCursorPos)).as_ptr(), - )), - SWELL_GetViewPort: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetViewPort)).as_ptr(), - )), - OpenClipboard: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(OpenClipboard)).as_ptr(), - )), - CloseClipboard: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CloseClipboard)).as_ptr(), - )), - GetClipboardData: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetClipboardData)).as_ptr(), - )), - EmptyClipboard: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(EmptyClipboard)).as_ptr(), - )), - SetClipboardData: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetClipboardData)).as_ptr(), - )), - RegisterClipboardFormat: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(RegisterClipboardFormat)).as_ptr(), - )), - EnumClipboardFormats: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(EnumClipboardFormats)).as_ptr(), - )), - GlobalAlloc: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GlobalAlloc)).as_ptr(), - )), - GlobalLock: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GlobalLock)).as_ptr(), - )), - GlobalSize: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GlobalSize)).as_ptr(), - )), - GlobalUnlock: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GlobalUnlock)).as_ptr(), - )), - GlobalFree: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GlobalFree)).as_ptr(), - )), - CreateThread: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CreateThread)).as_ptr(), - )), - CreateEvent: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CreateEvent)).as_ptr(), - )), - CreateEventAsSocket: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CreateEventAsSocket)).as_ptr(), - )), - GetCurrentThreadId: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetCurrentThreadId)).as_ptr(), - )), - WaitForSingleObject: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(WaitForSingleObject)).as_ptr(), - )), - WaitForAnySocketObject: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(WaitForAnySocketObject)).as_ptr(), - )), - CloseHandle: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CloseHandle)).as_ptr(), - )), - SetThreadPriority: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetThreadPriority)).as_ptr(), - )), - SetEvent: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetEvent)).as_ptr(), - )), - ResetEvent: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ResetEvent)).as_ptr(), - )), - SWELL_CreateProcessFromPID: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_CreateProcessFromPID)).as_ptr(), - )), - SWELL_CreateProcess: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_CreateProcess)).as_ptr(), - )), - SWELL_GetProcessExitCode: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetProcessExitCode)).as_ptr(), - )), - LoadLibraryGlobals: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(LoadLibraryGlobals)).as_ptr(), - )), - LoadLibrary: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(LoadLibrary)).as_ptr(), - )), - GetProcAddress: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetProcAddress)).as_ptr(), - )), - FreeLibrary: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(FreeLibrary)).as_ptr(), - )), - SWELL_GetBundle: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetBundle)).as_ptr(), - )), - SWELL_CreateMemContext: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_CreateMemContext)).as_ptr(), - )), - SWELL_DeleteGfxContext: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_DeleteGfxContext)).as_ptr(), - )), - SWELL_GetCtxGC: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetCtxGC)).as_ptr(), - )), - SWELL_GetCtxFrameBuffer: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetCtxFrameBuffer)).as_ptr(), - )), - SWELL_PushClipRegion: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_PushClipRegion)).as_ptr(), - )), - SWELL_SetClipRegion: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_SetClipRegion)).as_ptr(), - )), - SWELL_PopClipRegion: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_PopClipRegion)).as_ptr(), - )), - CreateFontIndirect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CreateFontIndirect)).as_ptr(), - )), - CreateFont: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CreateFont)).as_ptr(), - )), - CreatePen: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CreatePen)).as_ptr(), - )), - CreateSolidBrush: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CreateSolidBrush)).as_ptr(), - )), - CreatePenAlpha: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CreatePenAlpha)).as_ptr(), - )), - CreateSolidBrushAlpha: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CreateSolidBrushAlpha)).as_ptr(), - )), - SelectObject: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SelectObject)).as_ptr(), - )), - GetStockObject: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetStockObject)).as_ptr(), - )), - DeleteObject: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(DeleteObject)).as_ptr(), - )), - SWELL_FillRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_FillRect)).as_ptr(), - )), - Rectangle: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(Rectangle)).as_ptr(), - )), - Ellipse: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(Ellipse)).as_ptr(), - )), - SWELL_Polygon: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_Polygon)).as_ptr(), - )), - MoveToEx: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(MoveToEx)).as_ptr(), - )), - SWELL_LineTo: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_LineTo)).as_ptr(), - )), - SWELL_SetPixel: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_SetPixel)).as_ptr(), - )), - PolyBezierTo: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(PolyBezierTo)).as_ptr(), - )), - SWELL_DrawText: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_DrawText)).as_ptr(), - )), - SetTextColor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetTextColor)).as_ptr(), - )), - GetTextColor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetTextColor)).as_ptr(), - )), - SetBkColor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetBkColor)).as_ptr(), - )), - SetBkMode: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetBkMode)).as_ptr(), - )), - GetGlyphIndicesW: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetGlyphIndicesW)).as_ptr(), - )), - RoundRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(RoundRect)).as_ptr(), - )), - PolyPolyline: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(PolyPolyline)).as_ptr(), - )), - GetTextMetrics: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetTextMetrics)).as_ptr(), - )), - GetTextFace: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetTextFace)).as_ptr(), - )), - GetObject: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetObject)).as_ptr(), - )), - CreateIconIndirect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CreateIconIndirect)).as_ptr(), - )), - LoadNamedImage: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(LoadNamedImage)).as_ptr(), - )), - DrawImageInRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(DrawImageInRect)).as_ptr(), - )), - BitBlt: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(BitBlt)).as_ptr(), - )), - StretchBlt: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(StretchBlt)).as_ptr(), - )), - StretchBltFromMem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(StretchBltFromMem)).as_ptr(), - )), - SWELL_GetScaling256: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetScaling256)).as_ptr(), - )), - SWELL_ExtendedAPI: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_ExtendedAPI)).as_ptr(), - )), - GetSysColor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetSysColor)).as_ptr(), - )), - CreateBitmap: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(CreateBitmap)).as_ptr(), - )), - SetOpaque: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetOpaque)).as_ptr(), - )), - SetAllowNoMiddleManRendering: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SetAllowNoMiddleManRendering)).as_ptr(), - )), - SWELL_SetViewGL: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_SetViewGL)).as_ptr(), - )), - SWELL_GetViewGL: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetViewGL)).as_ptr(), - )), - SWELL_SetGLContextToView: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_SetGLContextToView)).as_ptr(), - )), - BeginPaint: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(BeginPaint)).as_ptr(), - )), - EndPaint: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(EndPaint)).as_ptr(), - )), - GetDC: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetDC)).as_ptr(), - )), - GetWindowDC: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetWindowDC)).as_ptr(), - )), - ReleaseDC: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(ReleaseDC)).as_ptr(), - )), - SWELL_FillDialogBackground: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_FillDialogBackground)).as_ptr(), - )), - SWELL_CloneGDIObject: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_CloneGDIObject)).as_ptr(), - )), - GetSystemMetrics: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetSystemMetrics)).as_ptr(), - )), - DragQueryPoint: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(DragQueryPoint)).as_ptr(), - )), - DragFinish: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(DragFinish)).as_ptr(), - )), - DragQueryFile: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(DragQueryFile)).as_ptr(), - )), - SWELL_InitiateDragDrop: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_InitiateDragDrop)).as_ptr(), - )), - SWELL_InitiateDragDropOfFileList: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_InitiateDragDropOfFileList)).as_ptr(), - )), - SWELL_FinishDragDrop: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_FinishDragDrop)).as_ptr(), - )), - SWELL_DrawFocusRect: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_DrawFocusRect)).as_ptr(), - )), - SWELL_MakeSetCurParms: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_MakeSetCurParms)).as_ptr(), - )), - SWELL_MakeButton: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_MakeButton)).as_ptr(), - )), - SWELL_MakeEditField: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_MakeEditField)).as_ptr(), - )), - SWELL_MakeLabel: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_MakeLabel)).as_ptr(), - )), - SWELL_MakeControl: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_MakeControl)).as_ptr(), - )), - SWELL_MakeCombo: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_MakeCombo)).as_ptr(), - )), - SWELL_MakeGroupBox: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_MakeGroupBox)).as_ptr(), - )), - SWELL_MakeCheckBox: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_MakeCheckBox)).as_ptr(), - )), - SWELL_MakeListBox: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_MakeListBox)).as_ptr(), - )), - SWELL_Menu_AddMenuItem: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_Menu_AddMenuItem)).as_ptr(), - )), - SWELL_GenerateMenuFromList: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GenerateMenuFromList)).as_ptr(), - )), - SWELL_GenerateDialogFromList: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GenerateDialogFromList)).as_ptr(), - )), - _controlfp: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(_controlfp)).as_ptr(), - )), - SWELL_Internal_PostMessage_Init: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_Internal_PostMessage_Init)).as_ptr(), - )), - SWELL_LoadCursorFromFile: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_LoadCursorFromFile)).as_ptr(), - )), - SWELL_SetWindowWantRaiseAmt: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_SetWindowWantRaiseAmt)).as_ptr(), - )), - SWELL_GetWindowWantRaiseAmt: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetWindowWantRaiseAmt)).as_ptr(), - )), - SWELL_SetListViewFastClickMask: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_SetListViewFastClickMask)).as_ptr(), - )), - GetTempPath: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetTempPath)).as_ptr(), - )), - SWELL_initargs: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_initargs)).as_ptr(), - )), - SWELL_RunMessageLoop: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_RunMessageLoop)).as_ptr(), - )), - SWELL_CreateXBridgeWindow: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_CreateXBridgeWindow)).as_ptr(), - )), - SWELL_GetOSWindow: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetOSWindow)).as_ptr(), - )), - SWELL_GetOSEvent: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetOSEvent)).as_ptr(), - )), - SWELL_GenerateGUID: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GenerateGUID)).as_ptr(), - )), - EnumChildWindows: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(EnumChildWindows)).as_ptr(), - )), - SWELL_IsGroupBox: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_IsGroupBox)).as_ptr(), - )), - SWELL_IsButton: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_IsButton)).as_ptr(), - )), - SWELL_IsStaticText: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_IsStaticText)).as_ptr(), - )), - SWELL_GetDesiredControlSize: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_GetDesiredControlSize)).as_ptr(), - )), - AddFontResourceEx: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(AddFontResourceEx)).as_ptr(), - )), - SWELL_Register_Cursor_Resource: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_Register_Cursor_Resource)).as_ptr(), - )), - SWELL_ChooseColor: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_ChooseColor)).as_ptr(), - )), - SWELL_ChooseFont: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_ChooseFont)).as_ptr(), - )), - IsWindowEnabled: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(IsWindowEnabled)).as_ptr(), - )), - GetClassName: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetClassName)).as_ptr(), - )), - SWELL_SetClassName: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_SetClassName)).as_ptr(), - )), - SWELL_DisableContextMenu: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_DisableContextMenu)).as_ptr(), - )), - EnumDisplayMonitors: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(EnumDisplayMonitors)).as_ptr(), - )), - GetMonitorInfo: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(GetMonitorInfo)).as_ptr(), - )), - SWELL_osx_is_dark_mode: std::mem::transmute(get_func( - c_str_macro::c_str!(stringify!(SWELL_osx_is_dark_mode)).as_ptr(), - )), - } - }; - if pointers.lstrcpyn.is_some() { - loaded_count += 1; - } - if pointers.MulDiv.is_some() { - loaded_count += 1; - } - if pointers.Sleep.is_some() { - loaded_count += 1; - } - if pointers.GetTickCount.is_some() { - loaded_count += 1; - } - if pointers.GetFileTime.is_some() { - loaded_count += 1; - } - if pointers.WritePrivateProfileString.is_some() { - loaded_count += 1; - } - if pointers.GetPrivateProfileString.is_some() { - loaded_count += 1; - } - if pointers.GetPrivateProfileInt.is_some() { - loaded_count += 1; - } - if pointers.GetPrivateProfileStruct.is_some() { - loaded_count += 1; - } - if pointers.WritePrivateProfileStruct.is_some() { - loaded_count += 1; - } - if pointers.WritePrivateProfileSection.is_some() { - loaded_count += 1; - } - if pointers.GetPrivateProfileSection.is_some() { - loaded_count += 1; - } - if pointers.GetModuleFileName.is_some() { - loaded_count += 1; - } - if pointers.SWELL_PtInRect.is_some() { - loaded_count += 1; - } - if pointers.ShellExecute.is_some() { - loaded_count += 1; - } - if pointers.MessageBox.is_some() { - loaded_count += 1; - } - if pointers.BrowseForFiles.is_some() { - loaded_count += 1; - } - if pointers.BrowseForSaveFile.is_some() { - loaded_count += 1; - } - if pointers.BrowseForDirectory.is_some() { - loaded_count += 1; - } - if pointers.BrowseFile_SetTemplate.is_some() { - loaded_count += 1; - } - if pointers.GetDlgItem.is_some() { - loaded_count += 1; - } - if pointers.ShowWindow.is_some() { - loaded_count += 1; - } - if pointers.DestroyWindow.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetGestureInfo.is_some() { - loaded_count += 1; - } - if pointers.SWELL_HideApp.is_some() { - loaded_count += 1; - } - if pointers.SetDlgItemText.is_some() { - loaded_count += 1; - } - if pointers.SetDlgItemInt.is_some() { - loaded_count += 1; - } - if pointers.GetDlgItemInt.is_some() { - loaded_count += 1; - } - if pointers.GetDlgItemText.is_some() { - loaded_count += 1; - } - if pointers.GetWindowTextLength.is_some() { - loaded_count += 1; - } - if pointers.CheckDlgButton.is_some() { - loaded_count += 1; - } - if pointers.IsDlgButtonChecked.is_some() { - loaded_count += 1; - } - if pointers.EnableWindow.is_some() { - loaded_count += 1; - } - if pointers.SetFocus.is_some() { - loaded_count += 1; - } - if pointers.GetFocus.is_some() { - loaded_count += 1; - } - if pointers.SetForegroundWindow.is_some() { - loaded_count += 1; - } - if pointers.GetForegroundWindow.is_some() { - loaded_count += 1; - } - if pointers.SetCapture.is_some() { - loaded_count += 1; - } - if pointers.GetCapture.is_some() { - loaded_count += 1; - } - if pointers.ReleaseCapture.is_some() { - loaded_count += 1; - } - if pointers.IsChild.is_some() { - loaded_count += 1; - } - if pointers.GetParent.is_some() { - loaded_count += 1; - } - if pointers.SetParent.is_some() { - loaded_count += 1; - } - if pointers.GetWindow.is_some() { - loaded_count += 1; - } - if pointers.EnumWindows.is_some() { - loaded_count += 1; - } - if pointers.FindWindowEx.is_some() { - loaded_count += 1; - } - if pointers.ClientToScreen.is_some() { - loaded_count += 1; - } - if pointers.ScreenToClient.is_some() { - loaded_count += 1; - } - if pointers.GetWindowRect.is_some() { - loaded_count += 1; - } - if pointers.GetWindowContentViewRect.is_some() { - loaded_count += 1; - } - if pointers.GetClientRect.is_some() { - loaded_count += 1; - } - if pointers.WindowFromPoint.is_some() { - loaded_count += 1; - } - if pointers.WinOffsetRect.is_some() { - loaded_count += 1; - } - if pointers.WinSetRect.is_some() { - loaded_count += 1; - } - if pointers.WinUnionRect.is_some() { - loaded_count += 1; - } - if pointers.WinIntersectRect.is_some() { - loaded_count += 1; - } - if pointers.SetWindowPos.is_some() { - loaded_count += 1; - } - if pointers.SWELL_SetWindowLevel.is_some() { - loaded_count += 1; - } - if pointers.InvalidateRect.is_some() { - loaded_count += 1; - } - if pointers.UpdateWindow.is_some() { - loaded_count += 1; - } - if pointers.GetWindowLong.is_some() { - loaded_count += 1; - } - if pointers.SetWindowLong.is_some() { - loaded_count += 1; - } - if pointers.ScrollWindow.is_some() { - loaded_count += 1; - } - if pointers.EnumPropsEx.is_some() { - loaded_count += 1; - } - if pointers.GetProp.is_some() { - loaded_count += 1; - } - if pointers.SetProp.is_some() { - loaded_count += 1; - } - if pointers.RemoveProp.is_some() { - loaded_count += 1; - } - if pointers.IsWindowVisible.is_some() { - loaded_count += 1; - } - if pointers.IsWindow.is_some() { - loaded_count += 1; - } - if pointers.SetTimer.is_some() { - loaded_count += 1; - } - if pointers.KillTimer.is_some() { - loaded_count += 1; - } - if pointers.ListView_SetExtendedListViewStyleEx.is_some() { - loaded_count += 1; - } - if pointers.ListView_InsertColumn.is_some() { - loaded_count += 1; - } - if pointers.ListView_DeleteColumn.is_some() { - loaded_count += 1; - } - if pointers.ListView_SetColumn.is_some() { - loaded_count += 1; - } - if pointers.ListView_GetColumnWidth.is_some() { - loaded_count += 1; - } - if pointers.ListView_InsertItem.is_some() { - loaded_count += 1; - } - if pointers.ListView_SetItemText.is_some() { - loaded_count += 1; - } - if pointers.ListView_SetItem.is_some() { - loaded_count += 1; - } - if pointers.ListView_GetNextItem.is_some() { - loaded_count += 1; - } - if pointers.ListView_GetItem.is_some() { - loaded_count += 1; - } - if pointers.ListView_GetItemState.is_some() { - loaded_count += 1; - } - if pointers.ListView_DeleteItem.is_some() { - loaded_count += 1; - } - if pointers.ListView_DeleteAllItems.is_some() { - loaded_count += 1; - } - if pointers.ListView_GetSelectedCount.is_some() { - loaded_count += 1; - } - if pointers.ListView_GetItemCount.is_some() { - loaded_count += 1; - } - if pointers.ListView_GetSelectionMark.is_some() { - loaded_count += 1; - } - if pointers.ListView_SetColumnWidth.is_some() { - loaded_count += 1; - } - if pointers.ListView_SetItemState.is_some() { - loaded_count += 1; - } - if pointers.ListView_RedrawItems.is_some() { - loaded_count += 1; - } - if pointers.ListView_SetItemCount.is_some() { - loaded_count += 1; - } - if pointers.ListView_EnsureVisible.is_some() { - loaded_count += 1; - } - if pointers.ListView_SetImageList.is_some() { - loaded_count += 1; - } - if pointers.ListView_SubItemHitTest.is_some() { - loaded_count += 1; - } - if pointers.ListView_GetItemText.is_some() { - loaded_count += 1; - } - if pointers.ListView_SortItems.is_some() { - loaded_count += 1; - } - if pointers.ListView_Scroll.is_some() { - loaded_count += 1; - } - if pointers.ListView_GetTopIndex.is_some() { - loaded_count += 1; - } - if pointers.ListView_GetCountPerPage.is_some() { - loaded_count += 1; - } - if pointers.ListView_SetColumnOrderArray.is_some() { - loaded_count += 1; - } - if pointers.ListView_GetColumnOrderArray.is_some() { - loaded_count += 1; - } - if pointers.ListView_GetHeader.is_some() { - loaded_count += 1; - } - if pointers.Header_GetItemCount.is_some() { - loaded_count += 1; - } - if pointers.Header_GetItem.is_some() { - loaded_count += 1; - } - if pointers.Header_SetItem.is_some() { - loaded_count += 1; - } - if pointers.ListView_GetItemRect.is_some() { - loaded_count += 1; - } - if pointers.ListView_GetSubItemRect.is_some() { - loaded_count += 1; - } - if pointers.ListView_HitTest.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetListViewHeaderHeight.is_some() { - loaded_count += 1; - } - if pointers.ImageList_CreateEx.is_some() { - loaded_count += 1; - } - if pointers.ImageList_Remove.is_some() { - loaded_count += 1; - } - if pointers.ImageList_ReplaceIcon.is_some() { - loaded_count += 1; - } - if pointers.ImageList_Add.is_some() { - loaded_count += 1; - } - if pointers.ImageList_Destroy.is_some() { - loaded_count += 1; - } - if pointers.TabCtrl_GetItemCount.is_some() { - loaded_count += 1; - } - if pointers.TabCtrl_DeleteItem.is_some() { - loaded_count += 1; - } - if pointers.TabCtrl_InsertItem.is_some() { - loaded_count += 1; - } - if pointers.TabCtrl_SetCurSel.is_some() { - loaded_count += 1; - } - if pointers.TabCtrl_GetCurSel.is_some() { - loaded_count += 1; - } - if pointers.TabCtrl_AdjustRect.is_some() { - loaded_count += 1; - } - if pointers.TreeView_InsertItem.is_some() { - loaded_count += 1; - } - if pointers.TreeView_Expand.is_some() { - loaded_count += 1; - } - if pointers.TreeView_GetSelection.is_some() { - loaded_count += 1; - } - if pointers.TreeView_DeleteItem.is_some() { - loaded_count += 1; - } - if pointers.TreeView_DeleteAllItems.is_some() { - loaded_count += 1; - } - if pointers.TreeView_SelectItem.is_some() { - loaded_count += 1; - } - if pointers.TreeView_EnsureVisible.is_some() { - loaded_count += 1; - } - if pointers.TreeView_GetItem.is_some() { - loaded_count += 1; - } - if pointers.TreeView_SetItem.is_some() { - loaded_count += 1; - } - if pointers.TreeView_HitTest.is_some() { - loaded_count += 1; - } - if pointers.TreeView_SetIndent.is_some() { - loaded_count += 1; - } - if pointers.TreeView_GetParent.is_some() { - loaded_count += 1; - } - if pointers.TreeView_GetChild.is_some() { - loaded_count += 1; - } - if pointers.TreeView_GetNextSibling.is_some() { - loaded_count += 1; - } - if pointers.TreeView_GetRoot.is_some() { - loaded_count += 1; - } - if pointers.TreeView_SetBkColor.is_some() { - loaded_count += 1; - } - if pointers.TreeView_SetTextColor.is_some() { - loaded_count += 1; - } - if pointers.ListView_SetBkColor.is_some() { - loaded_count += 1; - } - if pointers.ListView_SetTextBkColor.is_some() { - loaded_count += 1; - } - if pointers.ListView_SetTextColor.is_some() { - loaded_count += 1; - } - if pointers.ListView_SetGridColor.is_some() { - loaded_count += 1; - } - if pointers.ListView_SetSelColors.is_some() { - loaded_count += 1; - } - if pointers.SWELL_ModalWindowStart.is_some() { - loaded_count += 1; - } - if pointers.SWELL_ModalWindowRun.is_some() { - loaded_count += 1; - } - if pointers.SWELL_ModalWindowEnd.is_some() { - loaded_count += 1; - } - if pointers.SWELL_CloseWindow.is_some() { - loaded_count += 1; - } - if pointers.CreatePopupMenu.is_some() { - loaded_count += 1; - } - if pointers.CreatePopupMenuEx.is_some() { - loaded_count += 1; - } - if pointers.DestroyMenu.is_some() { - loaded_count += 1; - } - if pointers.AddMenuItem.is_some() { - loaded_count += 1; - } - if pointers.GetSubMenu.is_some() { - loaded_count += 1; - } - if pointers.GetMenuItemCount.is_some() { - loaded_count += 1; - } - if pointers.GetMenuItemID.is_some() { - loaded_count += 1; - } - if pointers.SetMenuItemModifier.is_some() { - loaded_count += 1; - } - if pointers.SetMenuItemText.is_some() { - loaded_count += 1; - } - if pointers.EnableMenuItem.is_some() { - loaded_count += 1; - } - if pointers.DeleteMenu.is_some() { - loaded_count += 1; - } - if pointers.CheckMenuItem.is_some() { - loaded_count += 1; - } - if pointers.InsertMenuItem.is_some() { - loaded_count += 1; - } - if pointers.SWELL_InsertMenu.is_some() { - loaded_count += 1; - } - if pointers.GetMenuItemInfo.is_some() { - loaded_count += 1; - } - if pointers.SetMenuItemInfo.is_some() { - loaded_count += 1; - } - if pointers.DrawMenuBar.is_some() { - loaded_count += 1; - } - if pointers.SWELL_LoadMenu.is_some() { - loaded_count += 1; - } - if pointers.TrackPopupMenu.is_some() { - loaded_count += 1; - } - if pointers.SWELL_SetMenuDestination.is_some() { - loaded_count += 1; - } - if pointers.SWELL_DuplicateMenu.is_some() { - loaded_count += 1; - } - if pointers.SetMenu.is_some() { - loaded_count += 1; - } - if pointers.GetMenu.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetDefaultWindowMenu.is_some() { - loaded_count += 1; - } - if pointers.SWELL_SetDefaultWindowMenu.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetDefaultModalWindowMenu.is_some() { - loaded_count += 1; - } - if pointers.SWELL_SetDefaultModalWindowMenu.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetCurrentMenu.is_some() { - loaded_count += 1; - } - if pointers.SWELL_SetCurrentMenu.is_some() { - loaded_count += 1; - } - if pointers.SWELL_DialogBox.is_some() { - loaded_count += 1; - } - if pointers.SWELL_CreateDialog.is_some() { - loaded_count += 1; - } - if pointers.SWELL_RegisterCustomControlCreator.is_some() { - loaded_count += 1; - } - if pointers.SWELL_UnregisterCustomControlCreator.is_some() { - loaded_count += 1; - } - if pointers.DefWindowProc.is_some() { - loaded_count += 1; - } - if pointers.EndDialog.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetDefaultButtonID.is_some() { - loaded_count += 1; - } - if pointers.SendMessage.is_some() { - loaded_count += 1; - } - if pointers.SWELL_BroadcastMessage.is_some() { - loaded_count += 1; - } - if pointers.PostMessage.is_some() { - loaded_count += 1; - } - if pointers.SWELL_MessageQueue_Flush.is_some() { - loaded_count += 1; - } - if pointers.SWELL_MessageQueue_Clear.is_some() { - loaded_count += 1; - } - if pointers.SWELL_KeyToASCII.is_some() { - loaded_count += 1; - } - if pointers.GetAsyncKeyState.is_some() { - loaded_count += 1; - } - if pointers.GetCursorPos.is_some() { - loaded_count += 1; - } - if pointers.GetMessagePos.is_some() { - loaded_count += 1; - } - if pointers.SWELL_LoadCursor.is_some() { - loaded_count += 1; - } - if pointers.SWELL_SetCursor.is_some() { - loaded_count += 1; - } - if pointers.SWELL_EnableRightClickEmulate.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetCursor.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetLastSetCursor.is_some() { - loaded_count += 1; - } - if pointers.SWELL_IsCursorVisible.is_some() { - loaded_count += 1; - } - if pointers.SWELL_ShowCursor.is_some() { - loaded_count += 1; - } - if pointers.SWELL_SetCursorPos.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetViewPort.is_some() { - loaded_count += 1; - } - if pointers.OpenClipboard.is_some() { - loaded_count += 1; - } - if pointers.CloseClipboard.is_some() { - loaded_count += 1; - } - if pointers.GetClipboardData.is_some() { - loaded_count += 1; - } - if pointers.EmptyClipboard.is_some() { - loaded_count += 1; - } - if pointers.SetClipboardData.is_some() { - loaded_count += 1; - } - if pointers.RegisterClipboardFormat.is_some() { - loaded_count += 1; - } - if pointers.EnumClipboardFormats.is_some() { - loaded_count += 1; - } - if pointers.GlobalAlloc.is_some() { - loaded_count += 1; - } - if pointers.GlobalLock.is_some() { - loaded_count += 1; - } - if pointers.GlobalSize.is_some() { - loaded_count += 1; - } - if pointers.GlobalUnlock.is_some() { - loaded_count += 1; - } - if pointers.GlobalFree.is_some() { - loaded_count += 1; - } - if pointers.CreateThread.is_some() { - loaded_count += 1; - } - if pointers.CreateEvent.is_some() { - loaded_count += 1; - } - if pointers.CreateEventAsSocket.is_some() { - loaded_count += 1; - } - if pointers.GetCurrentThreadId.is_some() { - loaded_count += 1; - } - if pointers.WaitForSingleObject.is_some() { - loaded_count += 1; - } - if pointers.WaitForAnySocketObject.is_some() { - loaded_count += 1; - } - if pointers.CloseHandle.is_some() { - loaded_count += 1; - } - if pointers.SetThreadPriority.is_some() { - loaded_count += 1; - } - if pointers.SetEvent.is_some() { - loaded_count += 1; - } - if pointers.ResetEvent.is_some() { - loaded_count += 1; - } - if pointers.SWELL_CreateProcessFromPID.is_some() { - loaded_count += 1; - } - if pointers.SWELL_CreateProcess.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetProcessExitCode.is_some() { - loaded_count += 1; - } - if pointers.LoadLibraryGlobals.is_some() { - loaded_count += 1; - } - if pointers.LoadLibrary.is_some() { - loaded_count += 1; - } - if pointers.GetProcAddress.is_some() { - loaded_count += 1; - } - if pointers.FreeLibrary.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetBundle.is_some() { - loaded_count += 1; - } - if pointers.SWELL_CreateMemContext.is_some() { - loaded_count += 1; - } - if pointers.SWELL_DeleteGfxContext.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetCtxGC.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetCtxFrameBuffer.is_some() { - loaded_count += 1; - } - if pointers.SWELL_PushClipRegion.is_some() { - loaded_count += 1; - } - if pointers.SWELL_SetClipRegion.is_some() { - loaded_count += 1; - } - if pointers.SWELL_PopClipRegion.is_some() { - loaded_count += 1; - } - if pointers.CreateFontIndirect.is_some() { - loaded_count += 1; - } - if pointers.CreateFont.is_some() { - loaded_count += 1; - } - if pointers.CreatePen.is_some() { - loaded_count += 1; - } - if pointers.CreateSolidBrush.is_some() { - loaded_count += 1; - } - if pointers.CreatePenAlpha.is_some() { - loaded_count += 1; - } - if pointers.CreateSolidBrushAlpha.is_some() { - loaded_count += 1; - } - if pointers.SelectObject.is_some() { - loaded_count += 1; - } - if pointers.GetStockObject.is_some() { - loaded_count += 1; - } - if pointers.DeleteObject.is_some() { - loaded_count += 1; - } - if pointers.SWELL_FillRect.is_some() { - loaded_count += 1; - } - if pointers.Rectangle.is_some() { - loaded_count += 1; - } - if pointers.Ellipse.is_some() { - loaded_count += 1; - } - if pointers.SWELL_Polygon.is_some() { - loaded_count += 1; - } - if pointers.MoveToEx.is_some() { - loaded_count += 1; - } - if pointers.SWELL_LineTo.is_some() { - loaded_count += 1; - } - if pointers.SWELL_SetPixel.is_some() { - loaded_count += 1; - } - if pointers.PolyBezierTo.is_some() { - loaded_count += 1; - } - if pointers.SWELL_DrawText.is_some() { - loaded_count += 1; - } - if pointers.SetTextColor.is_some() { - loaded_count += 1; - } - if pointers.GetTextColor.is_some() { - loaded_count += 1; - } - if pointers.SetBkColor.is_some() { - loaded_count += 1; - } - if pointers.SetBkMode.is_some() { - loaded_count += 1; - } - if pointers.GetGlyphIndicesW.is_some() { - loaded_count += 1; - } - if pointers.RoundRect.is_some() { - loaded_count += 1; - } - if pointers.PolyPolyline.is_some() { - loaded_count += 1; - } - if pointers.GetTextMetrics.is_some() { - loaded_count += 1; - } - if pointers.GetTextFace.is_some() { - loaded_count += 1; - } - if pointers.GetObject.is_some() { - loaded_count += 1; - } - if pointers.CreateIconIndirect.is_some() { - loaded_count += 1; - } - if pointers.LoadNamedImage.is_some() { - loaded_count += 1; - } - if pointers.DrawImageInRect.is_some() { - loaded_count += 1; - } - if pointers.BitBlt.is_some() { - loaded_count += 1; - } - if pointers.StretchBlt.is_some() { - loaded_count += 1; - } - if pointers.StretchBltFromMem.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetScaling256.is_some() { - loaded_count += 1; - } - if pointers.SWELL_ExtendedAPI.is_some() { - loaded_count += 1; - } - if pointers.GetSysColor.is_some() { - loaded_count += 1; - } - if pointers.CreateBitmap.is_some() { - loaded_count += 1; - } - if pointers.SetOpaque.is_some() { - loaded_count += 1; - } - if pointers.SetAllowNoMiddleManRendering.is_some() { - loaded_count += 1; - } - if pointers.SWELL_SetViewGL.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetViewGL.is_some() { - loaded_count += 1; - } - if pointers.SWELL_SetGLContextToView.is_some() { - loaded_count += 1; - } - if pointers.BeginPaint.is_some() { - loaded_count += 1; - } - if pointers.EndPaint.is_some() { - loaded_count += 1; - } - if pointers.GetDC.is_some() { - loaded_count += 1; - } - if pointers.GetWindowDC.is_some() { - loaded_count += 1; - } - if pointers.ReleaseDC.is_some() { - loaded_count += 1; - } - if pointers.SWELL_FillDialogBackground.is_some() { - loaded_count += 1; - } - if pointers.SWELL_CloneGDIObject.is_some() { - loaded_count += 1; - } - if pointers.GetSystemMetrics.is_some() { - loaded_count += 1; - } - if pointers.DragQueryPoint.is_some() { - loaded_count += 1; - } - if pointers.DragFinish.is_some() { - loaded_count += 1; - } - if pointers.DragQueryFile.is_some() { - loaded_count += 1; - } - if pointers.SWELL_InitiateDragDrop.is_some() { - loaded_count += 1; - } - if pointers.SWELL_InitiateDragDropOfFileList.is_some() { - loaded_count += 1; - } - if pointers.SWELL_FinishDragDrop.is_some() { - loaded_count += 1; - } - if pointers.SWELL_DrawFocusRect.is_some() { - loaded_count += 1; - } - if pointers.SWELL_MakeSetCurParms.is_some() { - loaded_count += 1; - } - if pointers.SWELL_MakeButton.is_some() { - loaded_count += 1; - } - if pointers.SWELL_MakeEditField.is_some() { - loaded_count += 1; - } - if pointers.SWELL_MakeLabel.is_some() { - loaded_count += 1; - } - if pointers.SWELL_MakeControl.is_some() { - loaded_count += 1; - } - if pointers.SWELL_MakeCombo.is_some() { - loaded_count += 1; - } - if pointers.SWELL_MakeGroupBox.is_some() { - loaded_count += 1; - } - if pointers.SWELL_MakeCheckBox.is_some() { - loaded_count += 1; - } - if pointers.SWELL_MakeListBox.is_some() { - loaded_count += 1; - } - if pointers.SWELL_Menu_AddMenuItem.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GenerateMenuFromList.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GenerateDialogFromList.is_some() { - loaded_count += 1; - } - if pointers._controlfp.is_some() { - loaded_count += 1; - } - if pointers.SWELL_Internal_PostMessage_Init.is_some() { - loaded_count += 1; - } - if pointers.SWELL_LoadCursorFromFile.is_some() { - loaded_count += 1; - } - if pointers.SWELL_SetWindowWantRaiseAmt.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetWindowWantRaiseAmt.is_some() { - loaded_count += 1; - } - if pointers.SWELL_SetListViewFastClickMask.is_some() { - loaded_count += 1; - } - if pointers.GetTempPath.is_some() { - loaded_count += 1; - } - if pointers.SWELL_initargs.is_some() { - loaded_count += 1; - } - if pointers.SWELL_RunMessageLoop.is_some() { - loaded_count += 1; - } - if pointers.SWELL_CreateXBridgeWindow.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetOSWindow.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetOSEvent.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GenerateGUID.is_some() { - loaded_count += 1; - } - if pointers.EnumChildWindows.is_some() { - loaded_count += 1; - } - if pointers.SWELL_IsGroupBox.is_some() { - loaded_count += 1; - } - if pointers.SWELL_IsButton.is_some() { - loaded_count += 1; - } - if pointers.SWELL_IsStaticText.is_some() { - loaded_count += 1; - } - if pointers.SWELL_GetDesiredControlSize.is_some() { - loaded_count += 1; - } - if pointers.AddFontResourceEx.is_some() { - loaded_count += 1; - } - if pointers.SWELL_Register_Cursor_Resource.is_some() { - loaded_count += 1; - } - if pointers.SWELL_ChooseColor.is_some() { - loaded_count += 1; - } - if pointers.SWELL_ChooseFont.is_some() { - loaded_count += 1; - } - if pointers.IsWindowEnabled.is_some() { - loaded_count += 1; - } - if pointers.GetClassName.is_some() { - loaded_count += 1; - } - if pointers.SWELL_SetClassName.is_some() { - loaded_count += 1; - } - if pointers.SWELL_DisableContextMenu.is_some() { - loaded_count += 1; - } - if pointers.EnumDisplayMonitors.is_some() { - loaded_count += 1; - } - if pointers.GetMonitorInfo.is_some() { - loaded_count += 1; - } - if pointers.SWELL_osx_is_dark_mode.is_some() { - loaded_count += 1; - } - pointers.loaded_count = loaded_count; - Swell { - pointers, - plugin_context: Some(plugin_context), - } - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn lstrcpyn( - &self, - dest: *mut ::std::os::raw::c_char, - src: *const ::std::os::raw::c_char, - l: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char { - match self.pointers.lstrcpyn { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(lstrcpyn) - ), - Some(f) => f(dest, src, l), - } - } - #[cfg(target_family = "unix")] - pub fn MulDiv( - &self, - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.MulDiv { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MulDiv) - ), - Some(f) => f(arg1, arg2, arg3), - } - } - #[cfg(target_family = "unix")] - pub fn Sleep(&self, ms: ::std::os::raw::c_int) { - match self.pointers.Sleep { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Sleep) - ), - Some(f) => f(ms), - } - } - #[cfg(target_family = "unix")] - pub fn GetTickCount(&self) -> root::DWORD { - match self.pointers.GetTickCount { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTickCount) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetFileTime( - &self, - filedes: ::std::os::raw::c_int, - lpCreationTime: *mut root::FILETIME, - lpLastAccessTime: *mut root::FILETIME, - lpLastWriteTime: *mut root::FILETIME, - ) -> root::BOOL { - match self.pointers.GetFileTime { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetFileTime) - ), - Some(f) => f(filedes, lpCreationTime, lpLastAccessTime, lpLastWriteTime), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn WritePrivateProfileString( - &self, - appname: *const ::std::os::raw::c_char, - keyname: *const ::std::os::raw::c_char, - val: *const ::std::os::raw::c_char, - fn_: *const ::std::os::raw::c_char, - ) -> root::BOOL { - match self.pointers.WritePrivateProfileString { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(WritePrivateProfileString) - ), - Some(f) => f(appname, keyname, val, fn_), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetPrivateProfileString( - &self, - appname: *const ::std::os::raw::c_char, - keyname: *const ::std::os::raw::c_char, - def: *const ::std::os::raw::c_char, - ret: *mut ::std::os::raw::c_char, - retsize: ::std::os::raw::c_int, - fn_: *const ::std::os::raw::c_char, - ) -> root::DWORD { - match self.pointers.GetPrivateProfileString { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPrivateProfileString) - ), - Some(f) => f(appname, keyname, def, ret, retsize, fn_), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetPrivateProfileInt( - &self, - appname: *const ::std::os::raw::c_char, - keyname: *const ::std::os::raw::c_char, - def: ::std::os::raw::c_int, - fn_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int { - match self.pointers.GetPrivateProfileInt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPrivateProfileInt) - ), - Some(f) => f(appname, keyname, def, fn_), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetPrivateProfileStruct( - &self, - appname: *const ::std::os::raw::c_char, - keyname: *const ::std::os::raw::c_char, - buf: *mut ::std::os::raw::c_void, - bufsz: ::std::os::raw::c_int, - fn_: *const ::std::os::raw::c_char, - ) -> root::BOOL { - match self.pointers.GetPrivateProfileStruct { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPrivateProfileStruct) - ), - Some(f) => f(appname, keyname, buf, bufsz, fn_), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn WritePrivateProfileStruct( - &self, - appname: *const ::std::os::raw::c_char, - keyname: *const ::std::os::raw::c_char, - buf: *const ::std::os::raw::c_void, - bufsz: ::std::os::raw::c_int, - fn_: *const ::std::os::raw::c_char, - ) -> root::BOOL { - match self.pointers.WritePrivateProfileStruct { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(WritePrivateProfileStruct) - ), - Some(f) => f(appname, keyname, buf, bufsz, fn_), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn WritePrivateProfileSection( - &self, - appname: *const ::std::os::raw::c_char, - strings: *const ::std::os::raw::c_char, - fn_: *const ::std::os::raw::c_char, - ) -> root::BOOL { - match self.pointers.WritePrivateProfileSection { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(WritePrivateProfileSection) - ), - Some(f) => f(appname, strings, fn_), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetPrivateProfileSection( - &self, - appname: *const ::std::os::raw::c_char, - strout: *mut ::std::os::raw::c_char, - strout_len: root::DWORD, - fn_: *const ::std::os::raw::c_char, - ) -> root::DWORD { - match self.pointers.GetPrivateProfileSection { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetPrivateProfileSection) - ), - Some(f) => f(appname, strout, strout_len, fn_), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetModuleFileName( - &self, - hInst: root::HINSTANCE, - fn_: *mut ::std::os::raw::c_char, - nSize: root::DWORD, - ) -> root::DWORD { - match self.pointers.GetModuleFileName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetModuleFileName) - ), - Some(f) => f(hInst, fn_, nSize), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_PtInRect(&self, r: *const root::RECT, p: root::POINT) -> root::BOOL { - match self.pointers.SWELL_PtInRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_PtInRect) - ), - Some(f) => f(r, p), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ShellExecute( - &self, - hwndDlg: root::HWND, - action: *const ::std::os::raw::c_char, - content1: *const ::std::os::raw::c_char, - content2: *const ::std::os::raw::c_char, - content3: *const ::std::os::raw::c_char, - blah: ::std::os::raw::c_int, - ) -> root::BOOL { - match self.pointers.ShellExecute { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ShellExecute) - ), - Some(f) => f(hwndDlg, action, content1, content2, content3, blah), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MessageBox( - &self, - hwndParent: root::HWND, - text: *const ::std::os::raw::c_char, - caption: *const ::std::os::raw::c_char, - type_: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.MessageBox { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MessageBox) - ), - Some(f) => f(hwndParent, text, caption, type_), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn BrowseForFiles( - &self, - text: *const ::std::os::raw::c_char, - initialdir: *const ::std::os::raw::c_char, - initialfile: *const ::std::os::raw::c_char, - allowmul: bool, - extlist: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char { - match self.pointers.BrowseForFiles { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(BrowseForFiles) - ), - Some(f) => f(text, initialdir, initialfile, allowmul, extlist), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn BrowseForSaveFile( - &self, - text: *const ::std::os::raw::c_char, - initialdir: *const ::std::os::raw::c_char, - initialfile: *const ::std::os::raw::c_char, - extlist: *const ::std::os::raw::c_char, - fn_: *mut ::std::os::raw::c_char, - fnsize: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.BrowseForSaveFile { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(BrowseForSaveFile) - ), - Some(f) => f(text, initialdir, initialfile, extlist, fn_, fnsize), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn BrowseForDirectory( - &self, - text: *const ::std::os::raw::c_char, - initialdir: *const ::std::os::raw::c_char, - fn_: *mut ::std::os::raw::c_char, - fnsize: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.BrowseForDirectory { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(BrowseForDirectory) - ), - Some(f) => f(text, initialdir, fn_, fnsize), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn BrowseFile_SetTemplate( - &self, - dlgid: *const ::std::os::raw::c_char, - dlgProc: root::DLGPROC, - reshead: *mut root::SWELL_DialogResourceIndex, - ) { - match self.pointers.BrowseFile_SetTemplate { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(BrowseFile_SetTemplate) - ), - Some(f) => f(dlgid, dlgProc, reshead), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetDlgItem(&self, arg1: root::HWND, arg2: ::std::os::raw::c_int) -> root::HWND { - match self.pointers.GetDlgItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetDlgItem) - ), - Some(f) => f(arg1, arg2), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ShowWindow(&self, arg1: root::HWND, arg2: ::std::os::raw::c_int) { - match self.pointers.ShowWindow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ShowWindow) - ), - Some(f) => f(arg1, arg2), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DestroyWindow(&self, hwnd: root::HWND) { - match self.pointers.DestroyWindow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DestroyWindow) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GetGestureInfo( - &self, - lParam: root::LPARAM, - gi: *mut root::GESTUREINFO, - ) -> root::BOOL { - match self.pointers.SWELL_GetGestureInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetGestureInfo) - ), - Some(f) => f(lParam, gi), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_HideApp(&self) { - match self.pointers.SWELL_HideApp { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_HideApp) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetDlgItemText( - &self, - arg1: root::HWND, - idx: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> root::BOOL { - match self.pointers.SetDlgItemText { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetDlgItemText) - ), - Some(f) => f(arg1, idx, text), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetDlgItemInt( - &self, - arg1: root::HWND, - idx: ::std::os::raw::c_int, - val: ::std::os::raw::c_int, - issigned: ::std::os::raw::c_int, - ) -> root::BOOL { - match self.pointers.SetDlgItemInt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetDlgItemInt) - ), - Some(f) => f(arg1, idx, val, issigned), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetDlgItemInt( - &self, - arg1: root::HWND, - idx: ::std::os::raw::c_int, - translated: *mut root::BOOL, - issigned: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetDlgItemInt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetDlgItemInt) - ), - Some(f) => f(arg1, idx, translated, issigned), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetDlgItemText( - &self, - arg1: root::HWND, - idx: ::std::os::raw::c_int, - text: *mut ::std::os::raw::c_char, - textlen: ::std::os::raw::c_int, - ) -> root::BOOL { - match self.pointers.GetDlgItemText { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetDlgItemText) - ), - Some(f) => f(arg1, idx, text, textlen), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetWindowTextLength(&self, arg1: root::HWND) -> ::std::os::raw::c_int { - match self.pointers.GetWindowTextLength { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetWindowTextLength) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CheckDlgButton( - &self, - hwnd: root::HWND, - idx: ::std::os::raw::c_int, - check: ::std::os::raw::c_int, - ) { - match self.pointers.CheckDlgButton { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CheckDlgButton) - ), - Some(f) => f(hwnd, idx, check), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsDlgButtonChecked( - &self, - hwnd: root::HWND, - idx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.IsDlgButtonChecked { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(IsDlgButtonChecked) - ), - Some(f) => f(hwnd, idx), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnableWindow(&self, hwnd: root::HWND, enable: ::std::os::raw::c_int) { - match self.pointers.EnableWindow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnableWindow) - ), - Some(f) => f(hwnd, enable), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetFocus(&self, hwnd: root::HWND) { - match self.pointers.SetFocus { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetFocus) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - pub fn GetFocus(&self) -> root::HWND { - match self.pointers.GetFocus { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetFocus) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetForegroundWindow(&self, hwnd: root::HWND) { - match self.pointers.SetForegroundWindow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetForegroundWindow) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - pub fn GetForegroundWindow(&self) -> root::HWND { - match self.pointers.GetForegroundWindow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetForegroundWindow) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetCapture(&self, hwnd: root::HWND) -> root::HWND { - match self.pointers.SetCapture { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetCapture) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - pub fn GetCapture(&self) -> root::HWND { - match self.pointers.GetCapture { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetCapture) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - pub fn ReleaseCapture(&self) { - match self.pointers.ReleaseCapture { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ReleaseCapture) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsChild( - &self, - hwndParent: root::HWND, - hwndChild: root::HWND, - ) -> ::std::os::raw::c_int { - match self.pointers.IsChild { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(IsChild) - ), - Some(f) => f(hwndParent, hwndChild), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetParent(&self, hwnd: root::HWND) -> root::HWND { - match self.pointers.GetParent { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetParent) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetParent(&self, hwnd: root::HWND, newPar: root::HWND) -> root::HWND { - match self.pointers.SetParent { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetParent) - ), - Some(f) => f(hwnd, newPar), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetWindow(&self, hwnd: root::HWND, what: ::std::os::raw::c_int) -> root::HWND { - match self.pointers.GetWindow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetWindow) - ), - Some(f) => f(hwnd, what), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumWindows( - &self, - proc_: ::std::option::Option< - unsafe extern "C" fn(arg1: root::HWND, arg2: root::LPARAM) -> root::BOOL, - >, - lp: root::LPARAM, - ) -> root::BOOL { - match self.pointers.EnumWindows { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumWindows) - ), - Some(f) => f(proc_, lp), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn FindWindowEx( - &self, - par: root::HWND, - lastw: root::HWND, - classname: *const ::std::os::raw::c_char, - title: *const ::std::os::raw::c_char, - ) -> root::HWND { - match self.pointers.FindWindowEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(FindWindowEx) - ), - Some(f) => f(par, lastw, classname, title), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ClientToScreen(&self, hwnd: root::HWND, p: *mut root::POINT) { - match self.pointers.ClientToScreen { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ClientToScreen) - ), - Some(f) => f(hwnd, p), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ScreenToClient(&self, hwnd: root::HWND, p: *mut root::POINT) { - match self.pointers.ScreenToClient { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ScreenToClient) - ), - Some(f) => f(hwnd, p), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetWindowRect(&self, hwnd: root::HWND, r: *mut root::RECT) -> bool { - match self.pointers.GetWindowRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetWindowRect) - ), - Some(f) => f(hwnd, r), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetWindowContentViewRect(&self, hwnd: root::HWND, r: *mut root::RECT) { - match self.pointers.GetWindowContentViewRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetWindowContentViewRect) - ), - Some(f) => f(hwnd, r), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetClientRect(&self, hwnd: root::HWND, r: *mut root::RECT) { - match self.pointers.GetClientRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetClientRect) - ), - Some(f) => f(hwnd, r), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn WindowFromPoint(&self, p: root::POINT) -> root::HWND { - match self.pointers.WindowFromPoint { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(WindowFromPoint) - ), - Some(f) => f(p), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn WinOffsetRect( - &self, - lprc: root::LPRECT, - dx: ::std::os::raw::c_int, - dy: ::std::os::raw::c_int, - ) -> root::BOOL { - match self.pointers.WinOffsetRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(WinOffsetRect) - ), - Some(f) => f(lprc, dx, dy), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn WinSetRect( - &self, - lprc: root::LPRECT, - xLeft: ::std::os::raw::c_int, - yTop: ::std::os::raw::c_int, - xRight: ::std::os::raw::c_int, - yBottom: ::std::os::raw::c_int, - ) -> root::BOOL { - match self.pointers.WinSetRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(WinSetRect) - ), - Some(f) => f(lprc, xLeft, yTop, xRight, yBottom), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn WinUnionRect( - &self, - out: *mut root::RECT, - in1: *const root::RECT, - in2: *const root::RECT, - ) { - match self.pointers.WinUnionRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(WinUnionRect) - ), - Some(f) => f(out, in1, in2), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn WinIntersectRect( - &self, - out: *mut root::RECT, - in1: *const root::RECT, - in2: *const root::RECT, - ) -> ::std::os::raw::c_int { - match self.pointers.WinIntersectRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(WinIntersectRect) - ), - Some(f) => f(out, in1, in2), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetWindowPos( - &self, - hwnd: root::HWND, - unused: root::HWND, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - cx: ::std::os::raw::c_int, - cy: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) { - match self.pointers.SetWindowPos { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetWindowPos) - ), - Some(f) => f(hwnd, unused, x, y, cx, cy, flags), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_SetWindowLevel( - &self, - hwnd: root::HWND, - newlevel: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.SWELL_SetWindowLevel { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_SetWindowLevel) - ), - Some(f) => f(hwnd, newlevel), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn InvalidateRect( - &self, - hwnd: root::HWND, - r: *const root::RECT, - eraseBk: ::std::os::raw::c_int, - ) -> root::BOOL { - match self.pointers.InvalidateRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(InvalidateRect) - ), - Some(f) => f(hwnd, r, eraseBk), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn UpdateWindow(&self, hwnd: root::HWND) { - match self.pointers.UpdateWindow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(UpdateWindow) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetWindowLong( - &self, - hwnd: root::HWND, - idx: ::std::os::raw::c_int, - ) -> root::LONG_PTR { - match self.pointers.GetWindowLong { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetWindowLong) - ), - Some(f) => f(hwnd, idx), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetWindowLong( - &self, - hwnd: root::HWND, - idx: ::std::os::raw::c_int, - val: root::LONG_PTR, - ) -> root::LONG_PTR { - match self.pointers.SetWindowLong { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetWindowLong) - ), - Some(f) => f(hwnd, idx, val), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ScrollWindow( - &self, - hwnd: root::HWND, - xamt: ::std::os::raw::c_int, - yamt: ::std::os::raw::c_int, - lpRect: *const root::RECT, - lpClipRect: *const root::RECT, - ) -> root::BOOL { - match self.pointers.ScrollWindow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ScrollWindow) - ), - Some(f) => f(hwnd, xamt, yamt, lpRect, lpClipRect), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumPropsEx( - &self, - arg1: root::HWND, - arg2: root::PROPENUMPROCEX, - arg3: root::LPARAM, - ) -> ::std::os::raw::c_int { - match self.pointers.EnumPropsEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumPropsEx) - ), - Some(f) => f(arg1, arg2, arg3), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetProp( - &self, - arg1: root::HWND, - arg2: *const ::std::os::raw::c_char, - ) -> root::HANDLE { - match self.pointers.GetProp { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetProp) - ), - Some(f) => f(arg1, arg2), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetProp( - &self, - arg1: root::HWND, - arg2: *const ::std::os::raw::c_char, - arg3: root::HANDLE, - ) -> root::BOOL { - match self.pointers.SetProp { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetProp) - ), - Some(f) => f(arg1, arg2, arg3), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn RemoveProp( - &self, - arg1: root::HWND, - arg2: *const ::std::os::raw::c_char, - ) -> root::HANDLE { - match self.pointers.RemoveProp { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(RemoveProp) - ), - Some(f) => f(arg1, arg2), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsWindowVisible(&self, hwnd: root::HWND) -> bool { - match self.pointers.IsWindowVisible { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(IsWindowVisible) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsWindow(&self, hwnd: root::HWND) -> bool { - match self.pointers.IsWindow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(IsWindow) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTimer( - &self, - hwnd: root::HWND, - timerid: root::UINT_PTR, - rate: root::UINT, - tProc: root::TIMERPROC, - ) -> root::UINT_PTR { - match self.pointers.SetTimer { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTimer) - ), - Some(f) => f(hwnd, timerid, rate, tProc), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn KillTimer(&self, hwnd: root::HWND, timerid: root::UINT_PTR) -> root::BOOL { - match self.pointers.KillTimer { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(KillTimer) - ), - Some(f) => f(hwnd, timerid), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SetExtendedListViewStyleEx( - &self, - h: root::HWND, - mask: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - ) { - match self.pointers.ListView_SetExtendedListViewStyleEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SetExtendedListViewStyleEx) - ), - Some(f) => f(h, mask, style), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_InsertColumn( - &self, - h: root::HWND, - pos: ::std::os::raw::c_int, - lvc: *const root::LVCOLUMN, - ) { - match self.pointers.ListView_InsertColumn { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_InsertColumn) - ), - Some(f) => f(h, pos, lvc), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_DeleteColumn(&self, h: root::HWND, pos: ::std::os::raw::c_int) -> bool { - match self.pointers.ListView_DeleteColumn { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_DeleteColumn) - ), - Some(f) => f(h, pos), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SetColumn( - &self, - h: root::HWND, - pos: ::std::os::raw::c_int, - lvc: *const root::LVCOLUMN, - ) { - match self.pointers.ListView_SetColumn { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SetColumn) - ), - Some(f) => f(h, pos, lvc), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_GetColumnWidth( - &self, - h: root::HWND, - pos: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.ListView_GetColumnWidth { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_GetColumnWidth) - ), - Some(f) => f(h, pos), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_InsertItem( - &self, - h: root::HWND, - item: *const root::LVITEM, - ) -> ::std::os::raw::c_int { - match self.pointers.ListView_InsertItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_InsertItem) - ), - Some(f) => f(h, item), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SetItemText( - &self, - h: root::HWND, - ipos: ::std::os::raw::c_int, - cpos: ::std::os::raw::c_int, - txt: *const ::std::os::raw::c_char, - ) { - match self.pointers.ListView_SetItemText { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SetItemText) - ), - Some(f) => f(h, ipos, cpos, txt), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SetItem(&self, h: root::HWND, item: *mut root::LVITEM) -> bool { - match self.pointers.ListView_SetItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SetItem) - ), - Some(f) => f(h, item), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_GetNextItem( - &self, - h: root::HWND, - istart: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.ListView_GetNextItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_GetNextItem) - ), - Some(f) => f(h, istart, flags), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_GetItem(&self, h: root::HWND, item: *mut root::LVITEM) -> bool { - match self.pointers.ListView_GetItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_GetItem) - ), - Some(f) => f(h, item), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_GetItemState( - &self, - h: root::HWND, - ipos: ::std::os::raw::c_int, - mask: root::UINT, - ) -> ::std::os::raw::c_int { - match self.pointers.ListView_GetItemState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_GetItemState) - ), - Some(f) => f(h, ipos, mask), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_DeleteItem(&self, h: root::HWND, ipos: ::std::os::raw::c_int) { - match self.pointers.ListView_DeleteItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_DeleteItem) - ), - Some(f) => f(h, ipos), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_DeleteAllItems(&self, h: root::HWND) { - match self.pointers.ListView_DeleteAllItems { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_DeleteAllItems) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_GetSelectedCount(&self, h: root::HWND) -> ::std::os::raw::c_int { - match self.pointers.ListView_GetSelectedCount { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_GetSelectedCount) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_GetItemCount(&self, h: root::HWND) -> ::std::os::raw::c_int { - match self.pointers.ListView_GetItemCount { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_GetItemCount) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_GetSelectionMark(&self, h: root::HWND) -> ::std::os::raw::c_int { - match self.pointers.ListView_GetSelectionMark { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_GetSelectionMark) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SetColumnWidth( - &self, - h: root::HWND, - colpos: ::std::os::raw::c_int, - wid: ::std::os::raw::c_int, - ) { - match self.pointers.ListView_SetColumnWidth { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SetColumnWidth) - ), - Some(f) => f(h, colpos, wid), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SetItemState( - &self, - h: root::HWND, - item: ::std::os::raw::c_int, - state: root::UINT, - statemask: root::UINT, - ) -> bool { - match self.pointers.ListView_SetItemState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SetItemState) - ), - Some(f) => f(h, item, state, statemask), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_RedrawItems( - &self, - h: root::HWND, - startitem: ::std::os::raw::c_int, - enditem: ::std::os::raw::c_int, - ) { - match self.pointers.ListView_RedrawItems { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_RedrawItems) - ), - Some(f) => f(h, startitem, enditem), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SetItemCount(&self, h: root::HWND, cnt: ::std::os::raw::c_int) { - match self.pointers.ListView_SetItemCount { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SetItemCount) - ), - Some(f) => f(h, cnt), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_EnsureVisible( - &self, - h: root::HWND, - i: ::std::os::raw::c_int, - pok: root::BOOL, - ) { - match self.pointers.ListView_EnsureVisible { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_EnsureVisible) - ), - Some(f) => f(h, i, pok), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SetImageList( - &self, - h: root::HWND, - imagelist: root::HIMAGELIST, - which: ::std::os::raw::c_int, - ) { - match self.pointers.ListView_SetImageList { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SetImageList) - ), - Some(f) => f(h, imagelist, which), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SubItemHitTest( - &self, - h: root::HWND, - pinf: *mut root::LVHITTESTINFO, - ) -> ::std::os::raw::c_int { - match self.pointers.ListView_SubItemHitTest { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SubItemHitTest) - ), - Some(f) => f(h, pinf), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_GetItemText( - &self, - hwnd: root::HWND, - item: ::std::os::raw::c_int, - subitem: ::std::os::raw::c_int, - text: *mut ::std::os::raw::c_char, - textmax: ::std::os::raw::c_int, - ) { - match self.pointers.ListView_GetItemText { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_GetItemText) - ), - Some(f) => f(hwnd, item, subitem, text, textmax), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SortItems( - &self, - hwnd: root::HWND, - compf: root::PFNLVCOMPARE, - parm: root::LPARAM, - ) { - match self.pointers.ListView_SortItems { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SortItems) - ), - Some(f) => f(hwnd, compf, parm), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_Scroll( - &self, - h: root::HWND, - xscroll: ::std::os::raw::c_int, - yscroll: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.ListView_Scroll { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_Scroll) - ), - Some(f) => f(h, xscroll, yscroll), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_GetTopIndex(&self, h: root::HWND) -> ::std::os::raw::c_int { - match self.pointers.ListView_GetTopIndex { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_GetTopIndex) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_GetCountPerPage(&self, h: root::HWND) -> ::std::os::raw::c_int { - match self.pointers.ListView_GetCountPerPage { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_GetCountPerPage) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SetColumnOrderArray( - &self, - h: root::HWND, - cnt: ::std::os::raw::c_int, - arr: *mut ::std::os::raw::c_int, - ) -> root::BOOL { - match self.pointers.ListView_SetColumnOrderArray { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SetColumnOrderArray) - ), - Some(f) => f(h, cnt, arr), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_GetColumnOrderArray( - &self, - h: root::HWND, - cnt: ::std::os::raw::c_int, - arr: *mut ::std::os::raw::c_int, - ) -> root::BOOL { - match self.pointers.ListView_GetColumnOrderArray { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_GetColumnOrderArray) - ), - Some(f) => f(h, cnt, arr), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_GetHeader(&self, h: root::HWND) -> root::HWND { - match self.pointers.ListView_GetHeader { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_GetHeader) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Header_GetItemCount(&self, h: root::HWND) -> ::std::os::raw::c_int { - match self.pointers.Header_GetItemCount { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Header_GetItemCount) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Header_GetItem( - &self, - h: root::HWND, - col: ::std::os::raw::c_int, - hi: *mut root::HDITEM, - ) -> root::BOOL { - match self.pointers.Header_GetItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Header_GetItem) - ), - Some(f) => f(h, col, hi), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Header_SetItem( - &self, - h: root::HWND, - col: ::std::os::raw::c_int, - hi: *mut root::HDITEM, - ) -> root::BOOL { - match self.pointers.Header_SetItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Header_SetItem) - ), - Some(f) => f(h, col, hi), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_GetItemRect( - &self, - h: root::HWND, - item: ::std::os::raw::c_int, - r: *mut root::RECT, - code: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.ListView_GetItemRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_GetItemRect) - ), - Some(f) => f(h, item, r, code), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_GetSubItemRect( - &self, - h: root::HWND, - item: ::std::os::raw::c_int, - subitem: ::std::os::raw::c_int, - code: ::std::os::raw::c_int, - r: *mut root::RECT, - ) -> bool { - match self.pointers.ListView_GetSubItemRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_GetSubItemRect) - ), - Some(f) => f(h, item, subitem, code, r), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_HitTest( - &self, - h: root::HWND, - pinf: *mut root::LVHITTESTINFO, - ) -> ::std::os::raw::c_int { - match self.pointers.ListView_HitTest { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_HitTest) - ), - Some(f) => f(h, pinf), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GetListViewHeaderHeight(&self, h: root::HWND) -> ::std::os::raw::c_int { - match self.pointers.SWELL_GetListViewHeaderHeight { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetListViewHeaderHeight) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - pub fn ImageList_CreateEx(&self) -> root::HIMAGELIST { - match self.pointers.ImageList_CreateEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ImageList_CreateEx) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ImageList_Remove( - &self, - list: root::HIMAGELIST, - idx: ::std::os::raw::c_int, - ) -> root::BOOL { - match self.pointers.ImageList_Remove { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ImageList_Remove) - ), - Some(f) => f(list, idx), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ImageList_ReplaceIcon( - &self, - list: root::HIMAGELIST, - offset: ::std::os::raw::c_int, - image: root::HICON, - ) -> ::std::os::raw::c_int { - match self.pointers.ImageList_ReplaceIcon { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ImageList_ReplaceIcon) - ), - Some(f) => f(list, offset, image), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ImageList_Add( - &self, - list: root::HIMAGELIST, - image: root::HBITMAP, - mask: root::HBITMAP, - ) -> ::std::os::raw::c_int { - match self.pointers.ImageList_Add { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ImageList_Add) - ), - Some(f) => f(list, image, mask), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ImageList_Destroy(&self, arg1: root::HIMAGELIST) { - match self.pointers.ImageList_Destroy { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ImageList_Destroy) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TabCtrl_GetItemCount(&self, hwnd: root::HWND) -> ::std::os::raw::c_int { - match self.pointers.TabCtrl_GetItemCount { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TabCtrl_GetItemCount) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TabCtrl_DeleteItem( - &self, - hwnd: root::HWND, - idx: ::std::os::raw::c_int, - ) -> root::BOOL { - match self.pointers.TabCtrl_DeleteItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TabCtrl_DeleteItem) - ), - Some(f) => f(hwnd, idx), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TabCtrl_InsertItem( - &self, - hwnd: root::HWND, - idx: ::std::os::raw::c_int, - item: *mut root::TCITEM, - ) -> ::std::os::raw::c_int { - match self.pointers.TabCtrl_InsertItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TabCtrl_InsertItem) - ), - Some(f) => f(hwnd, idx, item), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TabCtrl_SetCurSel( - &self, - hwnd: root::HWND, - idx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.TabCtrl_SetCurSel { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TabCtrl_SetCurSel) - ), - Some(f) => f(hwnd, idx), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TabCtrl_GetCurSel(&self, hwnd: root::HWND) -> ::std::os::raw::c_int { - match self.pointers.TabCtrl_GetCurSel { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TabCtrl_GetCurSel) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TabCtrl_AdjustRect( - &self, - hwnd: root::HWND, - fLarger: root::BOOL, - r: *mut root::RECT, - ) -> root::BOOL { - match self.pointers.TabCtrl_AdjustRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TabCtrl_AdjustRect) - ), - Some(f) => f(hwnd, fLarger, r), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_InsertItem( - &self, - hwnd: root::HWND, - ins: *mut root::TV_INSERTSTRUCT, - ) -> root::HTREEITEM { - match self.pointers.TreeView_InsertItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_InsertItem) - ), - Some(f) => f(hwnd, ins), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_Expand( - &self, - hwnd: root::HWND, - item: root::HTREEITEM, - flag: root::UINT, - ) -> root::BOOL { - match self.pointers.TreeView_Expand { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_Expand) - ), - Some(f) => f(hwnd, item, flag), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_GetSelection(&self, hwnd: root::HWND) -> root::HTREEITEM { - match self.pointers.TreeView_GetSelection { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_GetSelection) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_DeleteItem(&self, hwnd: root::HWND, item: root::HTREEITEM) { - match self.pointers.TreeView_DeleteItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_DeleteItem) - ), - Some(f) => f(hwnd, item), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_DeleteAllItems(&self, hwnd: root::HWND) { - match self.pointers.TreeView_DeleteAllItems { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_DeleteAllItems) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_SelectItem(&self, hwnd: root::HWND, item: root::HTREEITEM) { - match self.pointers.TreeView_SelectItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_SelectItem) - ), - Some(f) => f(hwnd, item), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_EnsureVisible(&self, hwnd: root::HWND, item: root::HTREEITEM) { - match self.pointers.TreeView_EnsureVisible { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_EnsureVisible) - ), - Some(f) => f(hwnd, item), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_GetItem(&self, hwnd: root::HWND, pitem: root::LPTVITEM) -> root::BOOL { - match self.pointers.TreeView_GetItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_GetItem) - ), - Some(f) => f(hwnd, pitem), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_SetItem(&self, hwnd: root::HWND, pitem: root::LPTVITEM) -> root::BOOL { - match self.pointers.TreeView_SetItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_SetItem) - ), - Some(f) => f(hwnd, pitem), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_HitTest( - &self, - hwnd: root::HWND, - hti: *mut root::TVHITTESTINFO, - ) -> root::HTREEITEM { - match self.pointers.TreeView_HitTest { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_HitTest) - ), - Some(f) => f(hwnd, hti), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_SetIndent( - &self, - hwnd: root::HWND, - indent: ::std::os::raw::c_int, - ) -> root::BOOL { - match self.pointers.TreeView_SetIndent { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_SetIndent) - ), - Some(f) => f(hwnd, indent), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_GetParent( - &self, - hwnd: root::HWND, - item: root::HTREEITEM, - ) -> root::HTREEITEM { - match self.pointers.TreeView_GetParent { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_GetParent) - ), - Some(f) => f(hwnd, item), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_GetChild( - &self, - hwnd: root::HWND, - item: root::HTREEITEM, - ) -> root::HTREEITEM { - match self.pointers.TreeView_GetChild { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_GetChild) - ), - Some(f) => f(hwnd, item), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_GetNextSibling( - &self, - hwnd: root::HWND, - item: root::HTREEITEM, - ) -> root::HTREEITEM { - match self.pointers.TreeView_GetNextSibling { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_GetNextSibling) - ), - Some(f) => f(hwnd, item), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_GetRoot(&self, hwnd: root::HWND) -> root::HTREEITEM { - match self.pointers.TreeView_GetRoot { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_GetRoot) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_SetBkColor(&self, hwnd: root::HWND, color: ::std::os::raw::c_int) { - match self.pointers.TreeView_SetBkColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_SetBkColor) - ), - Some(f) => f(hwnd, color), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TreeView_SetTextColor(&self, hwnd: root::HWND, color: ::std::os::raw::c_int) { - match self.pointers.TreeView_SetTextColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TreeView_SetTextColor) - ), - Some(f) => f(hwnd, color), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SetBkColor(&self, hwnd: root::HWND, color: ::std::os::raw::c_int) { - match self.pointers.ListView_SetBkColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SetBkColor) - ), - Some(f) => f(hwnd, color), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SetTextBkColor(&self, hwnd: root::HWND, color: ::std::os::raw::c_int) { - match self.pointers.ListView_SetTextBkColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SetTextBkColor) - ), - Some(f) => f(hwnd, color), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SetTextColor(&self, hwnd: root::HWND, color: ::std::os::raw::c_int) { - match self.pointers.ListView_SetTextColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SetTextColor) - ), - Some(f) => f(hwnd, color), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SetGridColor(&self, hwnd: root::HWND, color: ::std::os::raw::c_int) { - match self.pointers.ListView_SetGridColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SetGridColor) - ), - Some(f) => f(hwnd, color), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ListView_SetSelColors( - &self, - hwnd: root::HWND, - colors: *mut ::std::os::raw::c_int, - ncolors: ::std::os::raw::c_int, - ) { - match self.pointers.ListView_SetSelColors { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ListView_SetSelColors) - ), - Some(f) => f(hwnd, colors, ncolors), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_ModalWindowStart(&self, hwnd: root::HWND) -> *mut ::std::os::raw::c_void { - match self.pointers.SWELL_ModalWindowStart { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_ModalWindowStart) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_ModalWindowRun( - &self, - ctx: *mut ::std::os::raw::c_void, - ret: *mut ::std::os::raw::c_int, - ) -> bool { - match self.pointers.SWELL_ModalWindowRun { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_ModalWindowRun) - ), - Some(f) => f(ctx, ret), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_ModalWindowEnd(&self, ctx: *mut ::std::os::raw::c_void) { - match self.pointers.SWELL_ModalWindowEnd { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_ModalWindowEnd) - ), - Some(f) => f(ctx), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_CloseWindow(&self, hwnd: root::HWND) { - match self.pointers.SWELL_CloseWindow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_CloseWindow) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - pub fn CreatePopupMenu(&self) -> root::HMENU { - match self.pointers.CreatePopupMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreatePopupMenu) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CreatePopupMenuEx(&self, title: *const ::std::os::raw::c_char) -> root::HMENU { - match self.pointers.CreatePopupMenuEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreatePopupMenuEx) - ), - Some(f) => f(title), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DestroyMenu(&self, hMenu: root::HMENU) { - match self.pointers.DestroyMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DestroyMenu) - ), - Some(f) => f(hMenu), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn AddMenuItem( - &self, - hMenu: root::HMENU, - pos: ::std::os::raw::c_int, - name: *const ::std::os::raw::c_char, - tagid: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.AddMenuItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AddMenuItem) - ), - Some(f) => f(hMenu, pos, name, tagid), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSubMenu(&self, hMenu: root::HMENU, pos: ::std::os::raw::c_int) -> root::HMENU { - match self.pointers.GetSubMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSubMenu) - ), - Some(f) => f(hMenu, pos), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMenuItemCount(&self, hMenu: root::HMENU) -> ::std::os::raw::c_int { - match self.pointers.GetMenuItemCount { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMenuItemCount) - ), - Some(f) => f(hMenu), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMenuItemID( - &self, - hMenu: root::HMENU, - pos: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetMenuItemID { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMenuItemID) - ), - Some(f) => f(hMenu, pos), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetMenuItemModifier( - &self, - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - flag: ::std::os::raw::c_int, - code: ::std::os::raw::c_int, - mask: ::std::os::raw::c_uint, - ) -> bool { - match self.pointers.SetMenuItemModifier { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetMenuItemModifier) - ), - Some(f) => f(hMenu, idx, flag, code, mask), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetMenuItemText( - &self, - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - flag: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> bool { - match self.pointers.SetMenuItemText { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetMenuItemText) - ), - Some(f) => f(hMenu, idx, flag, text), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnableMenuItem( - &self, - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - en: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.EnableMenuItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnableMenuItem) - ), - Some(f) => f(hMenu, idx, en), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteMenu( - &self, - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - flag: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.DeleteMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DeleteMenu) - ), - Some(f) => f(hMenu, idx, flag), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CheckMenuItem( - &self, - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - chk: ::std::os::raw::c_int, - ) -> bool { - match self.pointers.CheckMenuItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CheckMenuItem) - ), - Some(f) => f(hMenu, idx, chk), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn InsertMenuItem( - &self, - hMenu: root::HMENU, - pos: ::std::os::raw::c_int, - byPos: root::BOOL, - mi: *mut root::MENUITEMINFO, - ) { - match self.pointers.InsertMenuItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(InsertMenuItem) - ), - Some(f) => f(hMenu, pos, byPos, mi), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_InsertMenu( - &self, - menu: root::HMENU, - pos: ::std::os::raw::c_int, - flag: ::std::os::raw::c_uint, - idx: root::UINT_PTR, - str: *const ::std::os::raw::c_char, - ) { - match self.pointers.SWELL_InsertMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_InsertMenu) - ), - Some(f) => f(menu, pos, flag, idx, str), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMenuItemInfo( - &self, - hMenu: root::HMENU, - pos: ::std::os::raw::c_int, - byPos: root::BOOL, - mi: *mut root::MENUITEMINFO, - ) -> root::BOOL { - match self.pointers.GetMenuItemInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMenuItemInfo) - ), - Some(f) => f(hMenu, pos, byPos, mi), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetMenuItemInfo( - &self, - hMenu: root::HMENU, - pos: ::std::os::raw::c_int, - byPos: root::BOOL, - mi: *mut root::MENUITEMINFO, - ) -> root::BOOL { - match self.pointers.SetMenuItemInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetMenuItemInfo) - ), - Some(f) => f(hMenu, pos, byPos, mi), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DrawMenuBar(&self, arg1: root::HWND) { - match self.pointers.DrawMenuBar { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DrawMenuBar) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_LoadMenu( - &self, - head: *mut root::SWELL_MenuResourceIndex, - resid: *const ::std::os::raw::c_char, - ) -> root::HMENU { - match self.pointers.SWELL_LoadMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_LoadMenu) - ), - Some(f) => f(head, resid), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackPopupMenu( - &self, - hMenu: root::HMENU, - flags: ::std::os::raw::c_int, - xpos: ::std::os::raw::c_int, - ypos: ::std::os::raw::c_int, - resvd: ::std::os::raw::c_int, - hwnd: root::HWND, - r: *const root::RECT, - ) -> ::std::os::raw::c_int { - match self.pointers.TrackPopupMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(TrackPopupMenu) - ), - Some(f) => f(hMenu, flags, xpos, ypos, resvd, hwnd, r), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_SetMenuDestination(&self, menu: root::HMENU, hwnd: root::HWND) { - match self.pointers.SWELL_SetMenuDestination { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_SetMenuDestination) - ), - Some(f) => f(menu, hwnd), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_DuplicateMenu(&self, menu: root::HMENU) -> root::HMENU { - match self.pointers.SWELL_DuplicateMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_DuplicateMenu) - ), - Some(f) => f(menu), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetMenu(&self, hwnd: root::HWND, menu: root::HMENU) -> root::BOOL { - match self.pointers.SetMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetMenu) - ), - Some(f) => f(hwnd, menu), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMenu(&self, hwnd: root::HWND) -> root::HMENU { - match self.pointers.GetMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMenu) - ), - Some(f) => f(hwnd), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_GetDefaultWindowMenu(&self) -> root::HMENU { - match self.pointers.SWELL_GetDefaultWindowMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetDefaultWindowMenu) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_SetDefaultWindowMenu(&self, arg1: root::HMENU) { - match self.pointers.SWELL_SetDefaultWindowMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_SetDefaultWindowMenu) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_GetDefaultModalWindowMenu(&self) -> root::HMENU { - match self.pointers.SWELL_GetDefaultModalWindowMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetDefaultModalWindowMenu) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_SetDefaultModalWindowMenu(&self, arg1: root::HMENU) { - match self.pointers.SWELL_SetDefaultModalWindowMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_SetDefaultModalWindowMenu) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_GetCurrentMenu(&self) -> root::HMENU { - match self.pointers.SWELL_GetCurrentMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetCurrentMenu) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_SetCurrentMenu(&self, arg1: root::HMENU) { - match self.pointers.SWELL_SetCurrentMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_SetCurrentMenu) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_DialogBox( - &self, - reshead: *mut root::SWELL_DialogResourceIndex, - resid: *const ::std::os::raw::c_char, - parent: root::HWND, - dlgproc: root::DLGPROC, - param: root::LPARAM, - ) -> ::std::os::raw::c_int { - match self.pointers.SWELL_DialogBox { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_DialogBox) - ), - Some(f) => f(reshead, resid, parent, dlgproc, param), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_CreateDialog( - &self, - reshead: *mut root::SWELL_DialogResourceIndex, - resid: *const ::std::os::raw::c_char, - parent: root::HWND, - dlgproc: root::DLGPROC, - param: root::LPARAM, - ) -> root::HWND { - match self.pointers.SWELL_CreateDialog { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_CreateDialog) - ), - Some(f) => f(reshead, resid, parent, dlgproc, param), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_RegisterCustomControlCreator(&self, proc_: root::SWELL_ControlCreatorProc) { - match self.pointers.SWELL_RegisterCustomControlCreator { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_RegisterCustomControlCreator) - ), - Some(f) => f(proc_), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_UnregisterCustomControlCreator( - &self, - proc_: root::SWELL_ControlCreatorProc, - ) { - match self.pointers.SWELL_UnregisterCustomControlCreator { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_UnregisterCustomControlCreator) - ), - Some(f) => f(proc_), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DefWindowProc( - &self, - hwnd: root::HWND, - msg: root::UINT, - wParam: root::WPARAM, - lParam: root::LPARAM, - ) -> root::LRESULT { - match self.pointers.DefWindowProc { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DefWindowProc) - ), - Some(f) => f(hwnd, msg, wParam, lParam), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EndDialog(&self, arg1: root::HWND, arg2: ::std::os::raw::c_int) { - match self.pointers.EndDialog { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EndDialog) - ), - Some(f) => f(arg1, arg2), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GetDefaultButtonID( - &self, - hwndDlg: root::HWND, - onlyIfEnabled: bool, - ) -> ::std::os::raw::c_int { - match self.pointers.SWELL_GetDefaultButtonID { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetDefaultButtonID) - ), - Some(f) => f(hwndDlg, onlyIfEnabled), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SendMessage( - &self, - arg1: root::HWND, - arg2: root::UINT, - arg3: root::WPARAM, - arg4: root::LPARAM, - ) -> root::LRESULT { - match self.pointers.SendMessage { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SendMessage) - ), - Some(f) => f(arg1, arg2, arg3, arg4), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_BroadcastMessage( - &self, - arg1: root::UINT, - arg2: root::WPARAM, - arg3: root::LPARAM, - ) { - match self.pointers.SWELL_BroadcastMessage { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_BroadcastMessage) - ), - Some(f) => f(arg1, arg2, arg3), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PostMessage( - &self, - hwnd: root::HWND, - msg: root::UINT, - wParam: root::WPARAM, - lParam: root::LPARAM, - ) -> root::BOOL { - match self.pointers.PostMessage { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PostMessage) - ), - Some(f) => f(hwnd, msg, wParam, lParam), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_MessageQueue_Flush(&self) { - match self.pointers.SWELL_MessageQueue_Flush { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_MessageQueue_Flush) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_MessageQueue_Clear(&self, h: root::HWND) { - match self.pointers.SWELL_MessageQueue_Clear { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_MessageQueue_Clear) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_KeyToASCII( - &self, - wParam: ::std::os::raw::c_int, - lParam: ::std::os::raw::c_int, - newflags: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.SWELL_KeyToASCII { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_KeyToASCII) - ), - Some(f) => f(wParam, lParam, newflags), - } - } - #[cfg(target_family = "unix")] - pub fn GetAsyncKeyState(&self, key: ::std::os::raw::c_int) -> root::WORD { - match self.pointers.GetAsyncKeyState { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetAsyncKeyState) - ), - Some(f) => f(key), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetCursorPos(&self, pt: *mut root::POINT) { - match self.pointers.GetCursorPos { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetCursorPos) - ), - Some(f) => f(pt), - } - } - #[cfg(target_family = "unix")] - pub fn GetMessagePos(&self) -> root::DWORD { - match self.pointers.GetMessagePos { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMessagePos) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_LoadCursor(&self, idx: *const ::std::os::raw::c_char) -> root::HCURSOR { - match self.pointers.SWELL_LoadCursor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_LoadCursor) - ), - Some(f) => f(idx), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_SetCursor(&self, curs: root::HCURSOR) { - match self.pointers.SWELL_SetCursor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_SetCursor) - ), - Some(f) => f(curs), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_EnableRightClickEmulate(&self, enable: root::BOOL) { - match self.pointers.SWELL_EnableRightClickEmulate { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_EnableRightClickEmulate) - ), - Some(f) => f(enable), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_GetCursor(&self) -> root::HCURSOR { - match self.pointers.SWELL_GetCursor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetCursor) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_GetLastSetCursor(&self) -> root::HCURSOR { - match self.pointers.SWELL_GetLastSetCursor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetLastSetCursor) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_IsCursorVisible(&self) -> bool { - match self.pointers.SWELL_IsCursorVisible { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_IsCursorVisible) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_ShowCursor(&self, bShow: root::BOOL) -> ::std::os::raw::c_int { - match self.pointers.SWELL_ShowCursor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_ShowCursor) - ), - Some(f) => f(bShow), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_SetCursorPos( - &self, - X: ::std::os::raw::c_int, - Y: ::std::os::raw::c_int, - ) -> root::BOOL { - match self.pointers.SWELL_SetCursorPos { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_SetCursorPos) - ), - Some(f) => f(X, Y), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GetViewPort( - &self, - r: *mut root::RECT, - sourcerect: *const root::RECT, - wantWork: bool, - ) { - match self.pointers.SWELL_GetViewPort { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetViewPort) - ), - Some(f) => f(r, sourcerect, wantWork), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn OpenClipboard(&self, hwndDlg: root::HWND) -> bool { - match self.pointers.OpenClipboard { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(OpenClipboard) - ), - Some(f) => f(hwndDlg), - } - } - #[cfg(target_family = "unix")] - pub fn CloseClipboard(&self) { - match self.pointers.CloseClipboard { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CloseClipboard) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetClipboardData(&self, type_: root::UINT) -> root::HANDLE { - match self.pointers.GetClipboardData { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetClipboardData) - ), - Some(f) => f(type_), - } - } - #[cfg(target_family = "unix")] - pub fn EmptyClipboard(&self) { - match self.pointers.EmptyClipboard { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EmptyClipboard) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetClipboardData(&self, type_: root::UINT, h: root::HANDLE) { - match self.pointers.SetClipboardData { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetClipboardData) - ), - Some(f) => f(type_, h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn RegisterClipboardFormat( - &self, - desc: *const ::std::os::raw::c_char, - ) -> root::UINT { - match self.pointers.RegisterClipboardFormat { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(RegisterClipboardFormat) - ), - Some(f) => f(desc), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumClipboardFormats(&self, lastfmt: root::UINT) -> root::UINT { - match self.pointers.EnumClipboardFormats { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumClipboardFormats) - ), - Some(f) => f(lastfmt), - } - } - #[cfg(target_family = "unix")] - pub fn GlobalAlloc( - &self, - flags: ::std::os::raw::c_int, - sz: ::std::os::raw::c_int, - ) -> root::HANDLE { - match self.pointers.GlobalAlloc { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GlobalAlloc) - ), - Some(f) => f(flags, sz), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GlobalLock(&self, h: root::HANDLE) -> *mut ::std::os::raw::c_void { - match self.pointers.GlobalLock { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GlobalLock) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GlobalSize(&self, h: root::HANDLE) -> ::std::os::raw::c_int { - match self.pointers.GlobalSize { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GlobalSize) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GlobalUnlock(&self, h: root::HANDLE) { - match self.pointers.GlobalUnlock { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GlobalUnlock) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GlobalFree(&self, h: root::HANDLE) { - match self.pointers.GlobalFree { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GlobalFree) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CreateThread( - &self, - TA: *mut ::std::os::raw::c_void, - stackSize: root::DWORD, - ThreadProc: ::std::option::Option root::DWORD>, - parm: root::LPVOID, - cf: root::DWORD, - tidOut: *mut root::DWORD, - ) -> root::HANDLE { - match self.pointers.CreateThread { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateThread) - ), - Some(f) => f(TA, stackSize, ThreadProc, parm, cf, tidOut), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CreateEvent( - &self, - SA: *mut ::std::os::raw::c_void, - manualReset: root::BOOL, - initialSig: root::BOOL, - ignored: *const ::std::os::raw::c_char, - ) -> root::HANDLE { - match self.pointers.CreateEvent { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateEvent) - ), - Some(f) => f(SA, manualReset, initialSig, ignored), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CreateEventAsSocket( - &self, - SA: *mut ::std::os::raw::c_void, - manualReset: root::BOOL, - initialSig: root::BOOL, - ignored: *const ::std::os::raw::c_char, - ) -> root::HANDLE { - match self.pointers.CreateEventAsSocket { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateEventAsSocket) - ), - Some(f) => f(SA, manualReset, initialSig, ignored), - } - } - #[cfg(target_family = "unix")] - pub fn GetCurrentThreadId(&self) -> root::DWORD { - match self.pointers.GetCurrentThreadId { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetCurrentThreadId) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn WaitForSingleObject(&self, hand: root::HANDLE, msTO: root::DWORD) -> root::DWORD { - match self.pointers.WaitForSingleObject { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(WaitForSingleObject) - ), - Some(f) => f(hand, msTO), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn WaitForAnySocketObject( - &self, - numObjs: ::std::os::raw::c_int, - objs: *mut root::HANDLE, - msTO: root::DWORD, - ) -> root::DWORD { - match self.pointers.WaitForAnySocketObject { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(WaitForAnySocketObject) - ), - Some(f) => f(numObjs, objs, msTO), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CloseHandle(&self, hand: root::HANDLE) -> root::BOOL { - match self.pointers.CloseHandle { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CloseHandle) - ), - Some(f) => f(hand), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetThreadPriority( - &self, - evt: root::HANDLE, - prio: ::std::os::raw::c_int, - ) -> root::BOOL { - match self.pointers.SetThreadPriority { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetThreadPriority) - ), - Some(f) => f(evt, prio), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetEvent(&self, evt: root::HANDLE) -> root::BOOL { - match self.pointers.SetEvent { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetEvent) - ), - Some(f) => f(evt), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ResetEvent(&self, evt: root::HANDLE) -> root::BOOL { - match self.pointers.ResetEvent { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ResetEvent) - ), - Some(f) => f(evt), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_CreateProcessFromPID(&self, pid: ::std::os::raw::c_int) -> root::HANDLE { - match self.pointers.SWELL_CreateProcessFromPID { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_CreateProcessFromPID) - ), - Some(f) => f(pid), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_CreateProcess( - &self, - exe: *const ::std::os::raw::c_char, - nparams: ::std::os::raw::c_int, - params: *mut *const ::std::os::raw::c_char, - ) -> root::HANDLE { - match self.pointers.SWELL_CreateProcess { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_CreateProcess) - ), - Some(f) => f(exe, nparams, params), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GetProcessExitCode(&self, hand: root::HANDLE) -> ::std::os::raw::c_int { - match self.pointers.SWELL_GetProcessExitCode { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetProcessExitCode) - ), - Some(f) => f(hand), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LoadLibraryGlobals( - &self, - fileName: *const ::std::os::raw::c_char, - symbolsAsGlobals: bool, - ) -> root::HINSTANCE { - match self.pointers.LoadLibraryGlobals { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LoadLibraryGlobals) - ), - Some(f) => f(fileName, symbolsAsGlobals), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LoadLibrary(&self, fileName: *const ::std::os::raw::c_char) -> root::HINSTANCE { - match self.pointers.LoadLibrary { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LoadLibrary) - ), - Some(f) => f(fileName), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetProcAddress( - &self, - hInst: root::HINSTANCE, - procName: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.GetProcAddress { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetProcAddress) - ), - Some(f) => f(hInst, procName), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn FreeLibrary(&self, hInst: root::HINSTANCE) -> root::BOOL { - match self.pointers.FreeLibrary { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(FreeLibrary) - ), - Some(f) => f(hInst), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GetBundle(&self, hInst: root::HINSTANCE) -> *mut ::std::os::raw::c_void { - match self.pointers.SWELL_GetBundle { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetBundle) - ), - Some(f) => f(hInst), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_CreateMemContext( - &self, - hdc: root::HDC, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - ) -> root::HDC { - match self.pointers.SWELL_CreateMemContext { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_CreateMemContext) - ), - Some(f) => f(hdc, w, h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_DeleteGfxContext(&self, arg1: root::HDC) { - match self.pointers.SWELL_DeleteGfxContext { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_DeleteGfxContext) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GetCtxGC(&self, ctx: root::HDC) -> *mut ::std::os::raw::c_void { - match self.pointers.SWELL_GetCtxGC { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetCtxGC) - ), - Some(f) => f(ctx), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GetCtxFrameBuffer(&self, ctx: root::HDC) -> *mut ::std::os::raw::c_void { - match self.pointers.SWELL_GetCtxFrameBuffer { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetCtxFrameBuffer) - ), - Some(f) => f(ctx), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_PushClipRegion(&self, ctx: root::HDC) { - match self.pointers.SWELL_PushClipRegion { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_PushClipRegion) - ), - Some(f) => f(ctx), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_SetClipRegion(&self, ctx: root::HDC, r: *const root::RECT) { - match self.pointers.SWELL_SetClipRegion { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_SetClipRegion) - ), - Some(f) => f(ctx, r), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_PopClipRegion(&self, ctx: root::HDC) { - match self.pointers.SWELL_PopClipRegion { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_PopClipRegion) - ), - Some(f) => f(ctx), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CreateFontIndirect(&self, arg1: *mut root::LOGFONT) -> root::HFONT { - match self.pointers.CreateFontIndirect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateFontIndirect) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CreateFont( - &self, - lfHeight: ::std::os::raw::c_int, - lfWidth: ::std::os::raw::c_int, - lfEscapement: ::std::os::raw::c_int, - lfOrientation: ::std::os::raw::c_int, - lfWeight: ::std::os::raw::c_int, - lfItalic: ::std::os::raw::c_char, - lfUnderline: ::std::os::raw::c_char, - lfStrikeOut: ::std::os::raw::c_char, - lfCharSet: ::std::os::raw::c_char, - lfOutPrecision: ::std::os::raw::c_char, - lfClipPrecision: ::std::os::raw::c_char, - lfQuality: ::std::os::raw::c_char, - lfPitchAndFamily: ::std::os::raw::c_char, - lfFaceName: *const ::std::os::raw::c_char, - ) -> root::HFONT { - match self.pointers.CreateFont { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateFont) - ), - Some(f) => f( - lfHeight, - lfWidth, - lfEscapement, - lfOrientation, - lfWeight, - lfItalic, - lfUnderline, - lfStrikeOut, - lfCharSet, - lfOutPrecision, - lfClipPrecision, - lfQuality, - lfPitchAndFamily, - lfFaceName, - ), - } - } - #[cfg(target_family = "unix")] - pub fn CreatePen( - &self, - attr: ::std::os::raw::c_int, - wid: ::std::os::raw::c_int, - col: ::std::os::raw::c_int, - ) -> root::HPEN { - match self.pointers.CreatePen { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreatePen) - ), - Some(f) => f(attr, wid, col), - } - } - #[cfg(target_family = "unix")] - pub fn CreateSolidBrush(&self, col: ::std::os::raw::c_int) -> root::HBRUSH { - match self.pointers.CreateSolidBrush { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateSolidBrush) - ), - Some(f) => f(col), - } - } - #[cfg(target_family = "unix")] - pub fn CreatePenAlpha( - &self, - attr: ::std::os::raw::c_int, - wid: ::std::os::raw::c_int, - col: ::std::os::raw::c_int, - alpha: f32, - ) -> root::HPEN { - match self.pointers.CreatePenAlpha { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreatePenAlpha) - ), - Some(f) => f(attr, wid, col, alpha), - } - } - #[cfg(target_family = "unix")] - pub fn CreateSolidBrushAlpha(&self, col: ::std::os::raw::c_int, alpha: f32) -> root::HBRUSH { - match self.pointers.CreateSolidBrushAlpha { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateSolidBrushAlpha) - ), - Some(f) => f(col, alpha), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SelectObject(&self, ctx: root::HDC, pen: root::HGDIOBJ) -> root::HGDIOBJ { - match self.pointers.SelectObject { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SelectObject) - ), - Some(f) => f(ctx, pen), - } - } - #[cfg(target_family = "unix")] - pub fn GetStockObject(&self, wh: ::std::os::raw::c_int) -> root::HGDIOBJ { - match self.pointers.GetStockObject { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetStockObject) - ), - Some(f) => f(wh), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteObject(&self, arg1: root::HGDIOBJ) { - match self.pointers.DeleteObject { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DeleteObject) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_FillRect(&self, ctx: root::HDC, r: *const root::RECT, br: root::HBRUSH) { - match self.pointers.SWELL_FillRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_FillRect) - ), - Some(f) => f(ctx, r, br), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Rectangle( - &self, - ctx: root::HDC, - l: ::std::os::raw::c_int, - t: ::std::os::raw::c_int, - r: ::std::os::raw::c_int, - b: ::std::os::raw::c_int, - ) { - match self.pointers.Rectangle { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Rectangle) - ), - Some(f) => f(ctx, l, t, r, b), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn Ellipse( - &self, - ctx: root::HDC, - l: ::std::os::raw::c_int, - t: ::std::os::raw::c_int, - r: ::std::os::raw::c_int, - b: ::std::os::raw::c_int, - ) { - match self.pointers.Ellipse { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(Ellipse) - ), - Some(f) => f(ctx, l, t, r, b), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_Polygon( - &self, - ctx: root::HDC, - pts: *mut root::POINT, - npts: ::std::os::raw::c_int, - ) { - match self.pointers.SWELL_Polygon { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_Polygon) - ), - Some(f) => f(ctx, pts, npts), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn MoveToEx( - &self, - ctx: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - op: *mut root::POINT, - ) { - match self.pointers.MoveToEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(MoveToEx) - ), - Some(f) => f(ctx, x, y, op), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_LineTo( - &self, - ctx: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - ) { - match self.pointers.SWELL_LineTo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_LineTo) - ), - Some(f) => f(ctx, x, y), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_SetPixel( - &self, - ctx: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - c: ::std::os::raw::c_int, - ) { - match self.pointers.SWELL_SetPixel { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_SetPixel) - ), - Some(f) => f(ctx, x, y, c), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PolyBezierTo( - &self, - ctx: root::HDC, - pts: *mut root::POINT, - np: ::std::os::raw::c_int, - ) { - match self.pointers.PolyBezierTo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PolyBezierTo) - ), - Some(f) => f(ctx, pts, np), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_DrawText( - &self, - ctx: root::HDC, - buf: *const ::std::os::raw::c_char, - len: ::std::os::raw::c_int, - r: *mut root::RECT, - align: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.SWELL_DrawText { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_DrawText) - ), - Some(f) => f(ctx, buf, len, r, align), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTextColor(&self, ctx: root::HDC, col: ::std::os::raw::c_int) { - match self.pointers.SetTextColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetTextColor) - ), - Some(f) => f(ctx, col), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTextColor(&self, ctx: root::HDC) -> ::std::os::raw::c_int { - match self.pointers.GetTextColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTextColor) - ), - Some(f) => f(ctx), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetBkColor(&self, ctx: root::HDC, col: ::std::os::raw::c_int) { - match self.pointers.SetBkColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetBkColor) - ), - Some(f) => f(ctx, col), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetBkMode(&self, ctx: root::HDC, col: ::std::os::raw::c_int) { - match self.pointers.SetBkMode { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetBkMode) - ), - Some(f) => f(ctx, col), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetGlyphIndicesW( - &self, - ctx: root::HDC, - buf: *mut u32, - len: ::std::os::raw::c_int, - indices: *mut ::std::os::raw::c_ushort, - flags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetGlyphIndicesW { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetGlyphIndicesW) - ), - Some(f) => f(ctx, buf, len, indices, flags), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn RoundRect( - &self, - ctx: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - x2: ::std::os::raw::c_int, - y2: ::std::os::raw::c_int, - xrnd: ::std::os::raw::c_int, - yrnd: ::std::os::raw::c_int, - ) { - match self.pointers.RoundRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(RoundRect) - ), - Some(f) => f(ctx, x, y, x2, y2, xrnd, yrnd), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn PolyPolyline( - &self, - ctx: root::HDC, - pts: *mut root::POINT, - cnts: *mut root::DWORD, - nseg: ::std::os::raw::c_int, - ) { - match self.pointers.PolyPolyline { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(PolyPolyline) - ), - Some(f) => f(ctx, pts, cnts, nseg), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTextMetrics(&self, ctx: root::HDC, tm: *mut root::TEXTMETRIC) -> root::BOOL { - match self.pointers.GetTextMetrics { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTextMetrics) - ), - Some(f) => f(ctx, tm), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTextFace( - &self, - ctx: root::HDC, - nCount: ::std::os::raw::c_int, - lpFaceName: root::LPTSTR, - ) -> ::std::os::raw::c_int { - match self.pointers.GetTextFace { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTextFace) - ), - Some(f) => f(ctx, nCount, lpFaceName), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetObject( - &self, - icon: root::HICON, - bmsz: ::std::os::raw::c_int, - _bm: *mut ::std::os::raw::c_void, - ) -> root::BOOL { - match self.pointers.GetObject { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetObject) - ), - Some(f) => f(icon, bmsz, _bm), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CreateIconIndirect(&self, iconinfo: *mut root::ICONINFO) -> root::HICON { - match self.pointers.CreateIconIndirect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateIconIndirect) - ), - Some(f) => f(iconinfo), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn LoadNamedImage( - &self, - name: *const ::std::os::raw::c_char, - alphaFromMask: bool, - ) -> root::HICON { - match self.pointers.LoadNamedImage { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(LoadNamedImage) - ), - Some(f) => f(name, alphaFromMask), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DrawImageInRect(&self, ctx: root::HDC, img: root::HICON, r: *const root::RECT) { - match self.pointers.DrawImageInRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DrawImageInRect) - ), - Some(f) => f(ctx, img, r), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn BitBlt( - &self, - hdcOut: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - hdcIn: root::HDC, - xin: ::std::os::raw::c_int, - yin: ::std::os::raw::c_int, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.BitBlt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(BitBlt) - ), - Some(f) => f(hdcOut, x, y, w, h, hdcIn, xin, yin, mode), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn StretchBlt( - &self, - hdcOut: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - hdcIn: root::HDC, - xin: ::std::os::raw::c_int, - yin: ::std::os::raw::c_int, - srcw: ::std::os::raw::c_int, - srch: ::std::os::raw::c_int, - mode: ::std::os::raw::c_int, - ) { - match self.pointers.StretchBlt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(StretchBlt) - ), - Some(f) => f(hdcOut, x, y, w, h, hdcIn, xin, yin, srcw, srch, mode), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn StretchBltFromMem( - &self, - hdcOut: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - bits: *const ::std::os::raw::c_void, - srcw: ::std::os::raw::c_int, - srch: ::std::os::raw::c_int, - srcspan: ::std::os::raw::c_int, - ) { - match self.pointers.StretchBltFromMem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(StretchBltFromMem) - ), - Some(f) => f(hdcOut, x, y, w, h, bits, srcw, srch, srcspan), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_GetScaling256(&self) -> ::std::os::raw::c_int { - match self.pointers.SWELL_GetScaling256 { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetScaling256) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_ExtendedAPI( - &self, - key: *const ::std::os::raw::c_char, - v: *mut ::std::os::raw::c_void, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.SWELL_ExtendedAPI { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_ExtendedAPI) - ), - Some(f) => f(key, v), - } - } - #[cfg(target_family = "unix")] - pub fn GetSysColor(&self, idx: ::std::os::raw::c_int) -> ::std::os::raw::c_int { - match self.pointers.GetSysColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSysColor) - ), - Some(f) => f(idx), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CreateBitmap( - &self, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - numplanes: ::std::os::raw::c_int, - bitsperpixel: ::std::os::raw::c_int, - bits: *mut ::std::os::raw::c_uchar, - ) -> root::HBITMAP { - match self.pointers.CreateBitmap { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(CreateBitmap) - ), - Some(f) => f(width, height, numplanes, bitsperpixel, bits), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetOpaque(&self, h: root::HWND, isopaque: bool) { - match self.pointers.SetOpaque { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetOpaque) - ), - Some(f) => f(h, isopaque), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetAllowNoMiddleManRendering(&self, h: root::HWND, allow: bool) { - match self.pointers.SetAllowNoMiddleManRendering { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SetAllowNoMiddleManRendering) - ), - Some(f) => f(h, allow), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_SetViewGL(&self, h: root::HWND, wantGL: ::std::os::raw::c_char) { - match self.pointers.SWELL_SetViewGL { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_SetViewGL) - ), - Some(f) => f(h, wantGL), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GetViewGL(&self, h: root::HWND) -> bool { - match self.pointers.SWELL_GetViewGL { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetViewGL) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_SetGLContextToView(&self, h: root::HWND) -> bool { - match self.pointers.SWELL_SetGLContextToView { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_SetGLContextToView) - ), - Some(f) => f(h), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn BeginPaint(&self, arg1: root::HWND, arg2: *mut root::PAINTSTRUCT) -> root::HDC { - match self.pointers.BeginPaint { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(BeginPaint) - ), - Some(f) => f(arg1, arg2), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EndPaint(&self, arg1: root::HWND, arg2: *mut root::PAINTSTRUCT) -> root::BOOL { - match self.pointers.EndPaint { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EndPaint) - ), - Some(f) => f(arg1, arg2), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetDC(&self, arg1: root::HWND) -> root::HDC { - match self.pointers.GetDC { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetDC) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetWindowDC(&self, arg1: root::HWND) -> root::HDC { - match self.pointers.GetWindowDC { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetWindowDC) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ReleaseDC(&self, arg1: root::HWND, arg2: root::HDC) { - match self.pointers.ReleaseDC { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(ReleaseDC) - ), - Some(f) => f(arg1, arg2), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_FillDialogBackground( - &self, - hdc: root::HDC, - r: *const root::RECT, - level: ::std::os::raw::c_int, - ) { - match self.pointers.SWELL_FillDialogBackground { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_FillDialogBackground) - ), - Some(f) => f(hdc, r, level), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_CloneGDIObject(&self, a: root::HGDIOBJ) -> root::HGDIOBJ { - match self.pointers.SWELL_CloneGDIObject { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_CloneGDIObject) - ), - Some(f) => f(a), - } - } - #[cfg(target_family = "unix")] - pub fn GetSystemMetrics(&self, arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int { - match self.pointers.GetSystemMetrics { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetSystemMetrics) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DragQueryPoint(&self, arg1: root::HDROP, arg2: root::LPPOINT) -> root::BOOL { - match self.pointers.DragQueryPoint { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DragQueryPoint) - ), - Some(f) => f(arg1, arg2), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DragFinish(&self, arg1: root::HDROP) { - match self.pointers.DragFinish { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DragFinish) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DragQueryFile( - &self, - arg1: root::HDROP, - arg2: root::UINT, - arg3: *mut ::std::os::raw::c_char, - arg4: root::UINT, - ) -> root::UINT { - match self.pointers.DragQueryFile { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(DragQueryFile) - ), - Some(f) => f(arg1, arg2, arg3, arg4), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_InitiateDragDrop( - &self, - arg1: root::HWND, - srcrect: *mut root::RECT, - srcfn: *const ::std::os::raw::c_char, - callback: ::std::option::Option< - unsafe extern "C" fn(droppath: *const ::std::os::raw::c_char), - >, - ) { - match self.pointers.SWELL_InitiateDragDrop { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_InitiateDragDrop) - ), - Some(f) => f(arg1, srcrect, srcfn, callback), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_InitiateDragDropOfFileList( - &self, - arg1: root::HWND, - srcrect: *mut root::RECT, - srclist: *mut *const ::std::os::raw::c_char, - srccount: ::std::os::raw::c_int, - icon: root::HICON, - ) { - match self.pointers.SWELL_InitiateDragDropOfFileList { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_InitiateDragDropOfFileList) - ), - Some(f) => f(arg1, srcrect, srclist, srccount, icon), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_FinishDragDrop(&self) { - match self.pointers.SWELL_FinishDragDrop { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_FinishDragDrop) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_DrawFocusRect( - &self, - hwndPar: root::HWND, - rct: *mut root::RECT, - handle: *mut *mut ::std::os::raw::c_void, - ) { - match self.pointers.SWELL_DrawFocusRect { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_DrawFocusRect) - ), - Some(f) => f(hwndPar, rct, handle), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_MakeSetCurParms( - &self, - xscale: f32, - yscale: f32, - xtrans: f32, - ytrans: f32, - parent: root::HWND, - doauto: bool, - dosizetofit: bool, - ) { - match self.pointers.SWELL_MakeSetCurParms { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_MakeSetCurParms) - ), - Some(f) => f(xscale, yscale, xtrans, ytrans, parent, doauto, dosizetofit), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_MakeButton( - &self, - def: ::std::os::raw::c_int, - label: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> root::HWND { - match self.pointers.SWELL_MakeButton { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_MakeButton) - ), - Some(f) => f(def, label, idx, x, y, w, h, flags), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_MakeEditField( - &self, - idx: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> root::HWND { - match self.pointers.SWELL_MakeEditField { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_MakeEditField) - ), - Some(f) => f(idx, x, y, w, h, flags), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_MakeLabel( - &self, - align: ::std::os::raw::c_int, - label: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> root::HWND { - match self.pointers.SWELL_MakeLabel { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_MakeLabel) - ), - Some(f) => f(align, label, idx, x, y, w, h, flags), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_MakeControl( - &self, - cname: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - classname: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - exstyle: ::std::os::raw::c_int, - ) -> root::HWND { - match self.pointers.SWELL_MakeControl { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_MakeControl) - ), - Some(f) => f(cname, idx, classname, style, x, y, w, h, exstyle), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_MakeCombo( - &self, - idx: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> root::HWND { - match self.pointers.SWELL_MakeCombo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_MakeCombo) - ), - Some(f) => f(idx, x, y, w, h, flags), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_MakeGroupBox( - &self, - name: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - ) -> root::HWND { - match self.pointers.SWELL_MakeGroupBox { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_MakeGroupBox) - ), - Some(f) => f(name, idx, x, y, w, h, style), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_MakeCheckBox( - &self, - name: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> root::HWND { - match self.pointers.SWELL_MakeCheckBox { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_MakeCheckBox) - ), - Some(f) => f(name, idx, x, y, w, h, flags), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_MakeListBox( - &self, - idx: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - styles: ::std::os::raw::c_int, - ) -> root::HWND { - match self.pointers.SWELL_MakeListBox { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_MakeListBox) - ), - Some(f) => f(idx, x, y, w, h, styles), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_Menu_AddMenuItem( - &self, - hMenu: root::HMENU, - name: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - flags: ::std::os::raw::c_uint, - ) { - match self.pointers.SWELL_Menu_AddMenuItem { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_Menu_AddMenuItem) - ), - Some(f) => f(hMenu, name, idx, flags), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GenerateMenuFromList( - &self, - hMenu: root::HMENU, - list: *const ::std::os::raw::c_void, - listsz: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.SWELL_GenerateMenuFromList { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GenerateMenuFromList) - ), - Some(f) => f(hMenu, list, listsz), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GenerateDialogFromList( - &self, - list: *const ::std::os::raw::c_void, - listsz: ::std::os::raw::c_int, - ) { - match self.pointers.SWELL_GenerateDialogFromList { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GenerateDialogFromList) - ), - Some(f) => f(list, listsz), - } - } - #[cfg(target_family = "unix")] - pub fn _controlfp( - &self, - flag: ::std::os::raw::c_uint, - mask: ::std::os::raw::c_uint, - ) -> ::std::os::raw::c_uint { - match self.pointers._controlfp { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(_controlfp) - ), - Some(f) => f(flag, mask), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_Internal_PostMessage_Init(&self) { - match self.pointers.SWELL_Internal_PostMessage_Init { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_Internal_PostMessage_Init) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_LoadCursorFromFile( - &self, - fn_: *const ::std::os::raw::c_char, - ) -> root::HCURSOR { - match self.pointers.SWELL_LoadCursorFromFile { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_LoadCursorFromFile) - ), - Some(f) => f(fn_), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_SetWindowWantRaiseAmt(&self, h: root::HWND, amt: ::std::os::raw::c_int) { - match self.pointers.SWELL_SetWindowWantRaiseAmt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_SetWindowWantRaiseAmt) - ), - Some(f) => f(h, amt), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GetWindowWantRaiseAmt(&self, arg1: root::HWND) -> ::std::os::raw::c_int { - match self.pointers.SWELL_GetWindowWantRaiseAmt { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetWindowWantRaiseAmt) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_SetListViewFastClickMask( - &self, - hList: root::HWND, - mask: ::std::os::raw::c_int, - ) { - match self.pointers.SWELL_SetListViewFastClickMask { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_SetListViewFastClickMask) - ), - Some(f) => f(hList, mask), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetTempPath(&self, sz: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_char) { - match self.pointers.GetTempPath { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetTempPath) - ), - Some(f) => f(sz, buf), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_initargs( - &self, - argc: *mut ::std::os::raw::c_int, - argv: *mut *mut *mut ::std::os::raw::c_char, - ) { - match self.pointers.SWELL_initargs { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_initargs) - ), - Some(f) => f(argc, argv), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_RunMessageLoop(&self) { - match self.pointers.SWELL_RunMessageLoop { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_RunMessageLoop) - ), - Some(f) => f(), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_CreateXBridgeWindow( - &self, - viewpar: root::HWND, - wref: *mut *mut ::std::os::raw::c_void, - arg1: *const root::RECT, - ) -> root::HWND { - match self.pointers.SWELL_CreateXBridgeWindow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_CreateXBridgeWindow) - ), - Some(f) => f(viewpar, wref, arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GetOSWindow( - &self, - hwnd: root::HWND, - type_: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.SWELL_GetOSWindow { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetOSWindow) - ), - Some(f) => f(hwnd, type_), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GetOSEvent( - &self, - type_: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_void { - match self.pointers.SWELL_GetOSEvent { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetOSEvent) - ), - Some(f) => f(type_), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GenerateGUID(&self, g: *mut ::std::os::raw::c_void) -> bool { - match self.pointers.SWELL_GenerateGUID { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GenerateGUID) - ), - Some(f) => f(g), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumChildWindows( - &self, - hwnd: root::HWND, - cwEnumFunc: ::std::option::Option< - unsafe extern "C" fn(arg1: root::HWND, arg2: root::LPARAM) -> root::BOOL, - >, - lParam: root::LPARAM, - ) -> root::BOOL { - match self.pointers.EnumChildWindows { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumChildWindows) - ), - Some(f) => f(hwnd, cwEnumFunc, lParam), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_IsGroupBox(&self, arg1: root::HWND) -> root::BOOL { - match self.pointers.SWELL_IsGroupBox { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_IsGroupBox) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_IsButton(&self, arg1: root::HWND) -> root::BOOL { - match self.pointers.SWELL_IsButton { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_IsButton) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_IsStaticText(&self, arg1: root::HWND) -> root::BOOL { - match self.pointers.SWELL_IsStaticText { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_IsStaticText) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_GetDesiredControlSize(&self, hwnd: root::HWND, r: *mut root::RECT) { - match self.pointers.SWELL_GetDesiredControlSize { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_GetDesiredControlSize) - ), - Some(f) => f(hwnd, r), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn AddFontResourceEx( - &self, - str: root::LPCTSTR, - fl: root::DWORD, - pdv: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int { - match self.pointers.AddFontResourceEx { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(AddFontResourceEx) - ), - Some(f) => f(str, fl, pdv), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_Register_Cursor_Resource( - &self, - idx: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - hotspot_x: ::std::os::raw::c_int, - hotspot_y: ::std::os::raw::c_int, - ) { - match self.pointers.SWELL_Register_Cursor_Resource { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_Register_Cursor_Resource) - ), - Some(f) => f(idx, name, hotspot_x, hotspot_y), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_ChooseColor( - &self, - arg1: root::HWND, - arg2: *mut root::COLORREF, - ncustom: ::std::os::raw::c_int, - custom: *mut root::COLORREF, - ) -> bool { - match self.pointers.SWELL_ChooseColor { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_ChooseColor) - ), - Some(f) => f(arg1, arg2, ncustom, custom), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_ChooseFont(&self, arg1: root::HWND, arg2: *mut root::LOGFONT) -> bool { - match self.pointers.SWELL_ChooseFont { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_ChooseFont) - ), - Some(f) => f(arg1, arg2), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsWindowEnabled(&self, arg1: root::HWND) -> bool { - match self.pointers.IsWindowEnabled { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(IsWindowEnabled) - ), - Some(f) => f(arg1), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetClassName( - &self, - arg1: root::HWND, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - match self.pointers.GetClassName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetClassName) - ), - Some(f) => f(arg1, arg2, arg3), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_SetClassName(&self, arg1: root::HWND, arg2: *const ::std::os::raw::c_char) { - match self.pointers.SWELL_SetClassName { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_SetClassName) - ), - Some(f) => f(arg1, arg2), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SWELL_DisableContextMenu(&self, arg1: root::HWND, arg2: bool) { - match self.pointers.SWELL_DisableContextMenu { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_DisableContextMenu) - ), - Some(f) => f(arg1, arg2), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumDisplayMonitors( - &self, - arg1: root::HDC, - arg2: root::LPRECT, - arg3: root::MONITORENUMPROC, - arg4: root::LPARAM, - ) -> root::BOOL { - match self.pointers.EnumDisplayMonitors { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(EnumDisplayMonitors) - ), - Some(f) => f(arg1, arg2, arg3, arg4), - } - } - #[cfg(target_family = "unix")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMonitorInfo( - &self, - arg1: root::HMONITOR, - arg2: *mut ::std::os::raw::c_void, - ) -> root::BOOL { - match self.pointers.GetMonitorInfo { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(GetMonitorInfo) - ), - Some(f) => f(arg1, arg2), - } - } - #[cfg(target_family = "unix")] - pub fn SWELL_osx_is_dark_mode(&self, mode: ::std::os::raw::c_int) -> bool { - match self.pointers.SWELL_osx_is_dark_mode { - None => panic!( - "Attempt to use a function that has not been loaded: {}", - stringify!(SWELL_osx_is_dark_mode) - ), - Some(f) => f(mode), - } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetDlgItem(&self, arg1: root::HWND, arg2: ::std::os::raw::c_int) -> root::HWND { - unsafe { windows::GetDlgItem(arg1, arg2) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ShowWindow(&self, arg1: root::HWND, arg2: ::std::os::raw::c_int) { - unsafe { windows::ShowWindow(arg1, arg2) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DestroyWindow(&self, hwnd: root::HWND) { - unsafe { windows::DestroyWindow(hwnd) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetDlgItemInt( - &self, - arg1: root::HWND, - idx: ::std::os::raw::c_int, - val: ::std::os::raw::c_int, - issigned: ::std::os::raw::c_int, - ) -> root::BOOL { - unsafe { windows::SetDlgItemInt(arg1, idx, val, issigned) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetDlgItemInt( - &self, - arg1: root::HWND, - idx: ::std::os::raw::c_int, - translated: *mut root::BOOL, - issigned: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - unsafe { windows::GetDlgItemInt(arg1, idx, translated, issigned) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CheckDlgButton( - &self, - hwnd: root::HWND, - idx: ::std::os::raw::c_int, - check: ::std::os::raw::c_int, - ) { - unsafe { windows::CheckDlgButton(hwnd, idx, check) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsDlgButtonChecked( - &self, - hwnd: root::HWND, - idx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - unsafe { windows::IsDlgButtonChecked(hwnd, idx) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnableWindow(&self, hwnd: root::HWND, enable: ::std::os::raw::c_int) { - unsafe { windows::EnableWindow(hwnd, enable) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetFocus(&self, hwnd: root::HWND) { - unsafe { windows::SetFocus(hwnd) } - } - #[cfg(target_family = "windows")] - pub fn GetFocus(&self) -> root::HWND { - unsafe { windows::GetFocus() } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetForegroundWindow(&self, hwnd: root::HWND) { - unsafe { windows::SetForegroundWindow(hwnd) } - } - #[cfg(target_family = "windows")] - pub fn GetForegroundWindow(&self) -> root::HWND { - unsafe { windows::GetForegroundWindow() } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetCapture(&self, hwnd: root::HWND) -> root::HWND { - unsafe { windows::SetCapture(hwnd) } - } - #[cfg(target_family = "windows")] - pub fn GetCapture(&self) -> root::HWND { - unsafe { windows::GetCapture() } - } - #[cfg(target_family = "windows")] - pub fn ReleaseCapture(&self) { - unsafe { windows::ReleaseCapture() } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsChild( - &self, - hwndParent: root::HWND, - hwndChild: root::HWND, - ) -> ::std::os::raw::c_int { - unsafe { windows::IsChild(hwndParent, hwndChild) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetParent(&self, hwnd: root::HWND) -> root::HWND { - unsafe { windows::GetParent(hwnd) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetParent(&self, hwnd: root::HWND, newPar: root::HWND) -> root::HWND { - unsafe { windows::SetParent(hwnd, newPar) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetWindow(&self, hwnd: root::HWND, what: ::std::os::raw::c_int) -> root::HWND { - unsafe { windows::GetWindow(hwnd, what) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumWindows( - &self, - proc_: ::std::option::Option< - unsafe extern "C" fn(arg1: root::HWND, arg2: root::LPARAM) -> root::BOOL, - >, - lp: root::LPARAM, - ) -> root::BOOL { - unsafe { windows::EnumWindows(proc_, lp) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ClientToScreen(&self, hwnd: root::HWND, p: *mut root::POINT) { - unsafe { windows::ClientToScreen(hwnd, p) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ScreenToClient(&self, hwnd: root::HWND, p: *mut root::POINT) { - unsafe { windows::ScreenToClient(hwnd, p) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetWindowRect(&self, hwnd: root::HWND, r: *mut root::RECT) -> bool { - unsafe { windows::GetWindowRect(hwnd, r) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetClientRect(&self, hwnd: root::HWND, r: *mut root::RECT) { - unsafe { windows::GetClientRect(hwnd, r) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn WindowFromPoint(&self, p: root::POINT) -> root::HWND { - unsafe { windows::WindowFromPoint(p) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetWindowPos( - &self, - hwnd: root::HWND, - unused: root::HWND, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - cx: ::std::os::raw::c_int, - cy: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) { - unsafe { windows::SetWindowPos(hwnd, unused, x, y, cx, cy, flags) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn InvalidateRect( - &self, - hwnd: root::HWND, - r: *const root::RECT, - eraseBk: ::std::os::raw::c_int, - ) -> root::BOOL { - unsafe { windows::InvalidateRect(hwnd, r, eraseBk) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ScrollWindow( - &self, - hwnd: root::HWND, - xamt: ::std::os::raw::c_int, - yamt: ::std::os::raw::c_int, - lpRect: *const root::RECT, - lpClipRect: *const root::RECT, - ) -> root::BOOL { - unsafe { windows::ScrollWindow(hwnd, xamt, yamt, lpRect, lpClipRect) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsWindowVisible(&self, hwnd: root::HWND) -> bool { - unsafe { windows::IsWindowVisible(hwnd) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsWindow(&self, hwnd: root::HWND) -> bool { - unsafe { windows::IsWindow(hwnd) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTimer( - &self, - hwnd: root::HWND, - timerid: root::UINT_PTR, - rate: root::UINT, - tProc: root::TIMERPROC, - ) -> root::UINT_PTR { - unsafe { windows::SetTimer(hwnd, timerid, rate, tProc) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn KillTimer(&self, hwnd: root::HWND, timerid: root::UINT_PTR) -> root::BOOL { - unsafe { windows::KillTimer(hwnd, timerid) } - } - #[cfg(target_family = "windows")] - pub fn CreatePopupMenu(&self) -> root::HMENU { - unsafe { windows::CreatePopupMenu() } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DestroyMenu(&self, hMenu: root::HMENU) { - unsafe { windows::DestroyMenu(hMenu) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetSubMenu(&self, hMenu: root::HMENU, pos: ::std::os::raw::c_int) -> root::HMENU { - unsafe { windows::GetSubMenu(hMenu, pos) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMenuItemCount(&self, hMenu: root::HMENU) -> ::std::os::raw::c_int { - unsafe { windows::GetMenuItemCount(hMenu) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMenuItemID( - &self, - hMenu: root::HMENU, - pos: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int { - unsafe { windows::GetMenuItemID(hMenu, pos) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnableMenuItem( - &self, - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - en: ::std::os::raw::c_int, - ) -> bool { - unsafe { windows::EnableMenuItem(hMenu, idx, en) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteMenu( - &self, - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - flag: ::std::os::raw::c_int, - ) -> bool { - unsafe { windows::DeleteMenu(hMenu, idx, flag) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CheckMenuItem( - &self, - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - chk: ::std::os::raw::c_int, - ) -> bool { - unsafe { windows::CheckMenuItem(hMenu, idx, chk) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DrawMenuBar(&self, arg1: root::HWND) { - unsafe { windows::DrawMenuBar(arg1) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn TrackPopupMenu( - &self, - hMenu: root::HMENU, - flags: ::std::os::raw::c_int, - xpos: ::std::os::raw::c_int, - ypos: ::std::os::raw::c_int, - resvd: ::std::os::raw::c_int, - hwnd: root::HWND, - r: *const root::RECT, - ) -> ::std::os::raw::c_int { - unsafe { windows::TrackPopupMenu(hMenu, flags, xpos, ypos, resvd, hwnd, r) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetMenu(&self, hwnd: root::HWND, menu: root::HMENU) -> root::BOOL { - unsafe { windows::SetMenu(hwnd, menu) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetMenu(&self, hwnd: root::HWND) -> root::HMENU { - unsafe { windows::GetMenu(hwnd) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EndDialog(&self, arg1: root::HWND, arg2: ::std::os::raw::c_int) { - unsafe { windows::EndDialog(arg1, arg2) } - } - #[cfg(target_family = "windows")] - pub fn GetAsyncKeyState(&self, key: ::std::os::raw::c_int) -> root::WORD { - unsafe { windows::GetAsyncKeyState(key) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetCursorPos(&self, pt: *mut root::POINT) { - unsafe { windows::GetCursorPos(pt) } - } - #[cfg(target_family = "windows")] - pub fn GetMessagePos(&self) -> root::DWORD { - unsafe { windows::GetMessagePos() } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn OpenClipboard(&self, hwndDlg: root::HWND) -> bool { - unsafe { windows::OpenClipboard(hwndDlg) } - } - #[cfg(target_family = "windows")] - pub fn CloseClipboard(&self) { - unsafe { windows::CloseClipboard() } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetClipboardData(&self, type_: root::UINT) -> root::HANDLE { - unsafe { windows::GetClipboardData(type_) } - } - #[cfg(target_family = "windows")] - pub fn EmptyClipboard(&self) { - unsafe { windows::EmptyClipboard() } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetClipboardData(&self, type_: root::UINT, h: root::HANDLE) { - unsafe { windows::SetClipboardData(type_, h) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumClipboardFormats(&self, lastfmt: root::UINT) -> root::UINT { - unsafe { windows::EnumClipboardFormats(lastfmt) } - } - #[cfg(target_family = "windows")] - pub fn GlobalAlloc( - &self, - flags: ::std::os::raw::c_int, - sz: ::std::os::raw::c_int, - ) -> root::HANDLE { - unsafe { windows::GlobalAlloc(flags, sz) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GlobalLock(&self, h: root::HANDLE) -> *mut ::std::os::raw::c_void { - unsafe { windows::GlobalLock(h) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GlobalUnlock(&self, h: root::HANDLE) { - unsafe { windows::GlobalUnlock(h) } - } - #[cfg(target_family = "windows")] - pub fn GetCurrentThreadId(&self) -> root::DWORD { - unsafe { windows::GetCurrentThreadId() } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetThreadPriority( - &self, - evt: root::HANDLE, - prio: ::std::os::raw::c_int, - ) -> root::BOOL { - unsafe { windows::SetThreadPriority(evt, prio) } - } - #[cfg(target_family = "windows")] - pub fn CreateSolidBrush(&self, col: ::std::os::raw::c_int) -> root::HBRUSH { - unsafe { windows::CreateSolidBrush(col) } - } - #[cfg(target_family = "windows")] - pub fn GetStockObject(&self, wh: ::std::os::raw::c_int) -> root::HGDIOBJ { - unsafe { windows::GetStockObject(wh) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn DeleteObject(&self, arg1: root::HGDIOBJ) { - unsafe { windows::DeleteObject(arg1) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetTextColor(&self, ctx: root::HDC, col: ::std::os::raw::c_int) { - unsafe { windows::SetTextColor(ctx, col) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetBkColor(&self, ctx: root::HDC, col: ::std::os::raw::c_int) { - unsafe { windows::SetBkColor(ctx, col) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn SetBkMode(&self, ctx: root::HDC, col: ::std::os::raw::c_int) { - unsafe { windows::SetBkMode(ctx, col) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn CreateIconIndirect(&self, iconinfo: *mut root::ICONINFO) -> root::HICON { - unsafe { windows::CreateIconIndirect(iconinfo) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn BitBlt( - &self, - hdcOut: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - hdcIn: root::HDC, - xin: ::std::os::raw::c_int, - yin: ::std::os::raw::c_int, - mode: ::std::os::raw::c_int, - ) { - unsafe { windows::BitBlt(hdcOut, x, y, w, h, hdcIn, xin, yin, mode) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn StretchBlt( - &self, - hdcOut: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - hdcIn: root::HDC, - xin: ::std::os::raw::c_int, - yin: ::std::os::raw::c_int, - srcw: ::std::os::raw::c_int, - srch: ::std::os::raw::c_int, - mode: ::std::os::raw::c_int, - ) { - unsafe { windows::StretchBlt(hdcOut, x, y, w, h, hdcIn, xin, yin, srcw, srch, mode) } - } - #[cfg(target_family = "windows")] - pub fn GetSysColor(&self, idx: ::std::os::raw::c_int) -> ::std::os::raw::c_int { - unsafe { windows::GetSysColor(idx) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn BeginPaint(&self, arg1: root::HWND, arg2: *mut root::PAINTSTRUCT) -> root::HDC { - unsafe { windows::BeginPaint(arg1, arg2) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EndPaint(&self, arg1: root::HWND, arg2: *mut root::PAINTSTRUCT) -> root::BOOL { - unsafe { windows::EndPaint(arg1, arg2) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetDC(&self, arg1: root::HWND) -> root::HDC { - unsafe { windows::GetDC(arg1) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn GetWindowDC(&self, arg1: root::HWND) -> root::HDC { - unsafe { windows::GetWindowDC(arg1) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn ReleaseDC(&self, arg1: root::HWND, arg2: root::HDC) { - unsafe { windows::ReleaseDC(arg1, arg2) } - } - #[cfg(target_family = "windows")] - pub fn GetSystemMetrics(&self, arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int { - unsafe { windows::GetSystemMetrics(arg1) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn EnumChildWindows( - &self, - hwnd: root::HWND, - cwEnumFunc: ::std::option::Option< - unsafe extern "C" fn(arg1: root::HWND, arg2: root::LPARAM) -> root::BOOL, - >, - lParam: root::LPARAM, - ) -> root::BOOL { - unsafe { windows::EnumChildWindows(hwnd, cwEnumFunc, lParam) } - } - #[cfg(target_family = "windows")] - #[doc = r" # Safety"] - #[doc = r""] - #[doc = r" REAPER can crash if you pass an invalid pointer."] - pub unsafe fn IsWindowEnabled(&self, arg1: root::HWND) -> bool { - unsafe { windows::IsWindowEnabled(arg1) } - } -} -#[doc = r" Container for the SWELL function pointers."] -#[derive(Copy, Clone, Default)] -pub struct SwellFunctionPointers { - pub(crate) loaded_count: u32, - pub lstrcpyn: Option< - unsafe extern "C" fn( - dest: *mut ::std::os::raw::c_char, - src: *const ::std::os::raw::c_char, - l: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char, - >, - pub MulDiv: Option< - extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub Sleep: Option, - pub GetTickCount: Option root::DWORD>, - pub GetFileTime: Option< - unsafe extern "C" fn( - filedes: ::std::os::raw::c_int, - lpCreationTime: *mut root::FILETIME, - lpLastAccessTime: *mut root::FILETIME, - lpLastWriteTime: *mut root::FILETIME, - ) -> root::BOOL, - >, - pub WritePrivateProfileString: Option< - unsafe extern "C" fn( - appname: *const ::std::os::raw::c_char, - keyname: *const ::std::os::raw::c_char, - val: *const ::std::os::raw::c_char, - fn_: *const ::std::os::raw::c_char, - ) -> root::BOOL, - >, - pub GetPrivateProfileString: Option< - unsafe extern "C" fn( - appname: *const ::std::os::raw::c_char, - keyname: *const ::std::os::raw::c_char, - def: *const ::std::os::raw::c_char, - ret: *mut ::std::os::raw::c_char, - retsize: ::std::os::raw::c_int, - fn_: *const ::std::os::raw::c_char, - ) -> root::DWORD, - >, - pub GetPrivateProfileInt: Option< - unsafe extern "C" fn( - appname: *const ::std::os::raw::c_char, - keyname: *const ::std::os::raw::c_char, - def: ::std::os::raw::c_int, - fn_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int, - >, - pub GetPrivateProfileStruct: Option< - unsafe extern "C" fn( - appname: *const ::std::os::raw::c_char, - keyname: *const ::std::os::raw::c_char, - buf: *mut ::std::os::raw::c_void, - bufsz: ::std::os::raw::c_int, - fn_: *const ::std::os::raw::c_char, - ) -> root::BOOL, - >, - pub WritePrivateProfileStruct: Option< - unsafe extern "C" fn( - appname: *const ::std::os::raw::c_char, - keyname: *const ::std::os::raw::c_char, - buf: *const ::std::os::raw::c_void, - bufsz: ::std::os::raw::c_int, - fn_: *const ::std::os::raw::c_char, - ) -> root::BOOL, - >, - pub WritePrivateProfileSection: Option< - unsafe extern "C" fn( - appname: *const ::std::os::raw::c_char, - strings: *const ::std::os::raw::c_char, - fn_: *const ::std::os::raw::c_char, - ) -> root::BOOL, - >, - pub GetPrivateProfileSection: Option< - unsafe extern "C" fn( - appname: *const ::std::os::raw::c_char, - strout: *mut ::std::os::raw::c_char, - strout_len: root::DWORD, - fn_: *const ::std::os::raw::c_char, - ) -> root::DWORD, - >, - pub GetModuleFileName: Option< - unsafe extern "C" fn( - hInst: root::HINSTANCE, - fn_: *mut ::std::os::raw::c_char, - nSize: root::DWORD, - ) -> root::DWORD, - >, - pub SWELL_PtInRect: - Option root::BOOL>, - pub ShellExecute: Option< - unsafe extern "C" fn( - hwndDlg: root::HWND, - action: *const ::std::os::raw::c_char, - content1: *const ::std::os::raw::c_char, - content2: *const ::std::os::raw::c_char, - content3: *const ::std::os::raw::c_char, - blah: ::std::os::raw::c_int, - ) -> root::BOOL, - >, - pub MessageBox: Option< - unsafe extern "C" fn( - hwndParent: root::HWND, - text: *const ::std::os::raw::c_char, - caption: *const ::std::os::raw::c_char, - type_: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub BrowseForFiles: Option< - unsafe extern "C" fn( - text: *const ::std::os::raw::c_char, - initialdir: *const ::std::os::raw::c_char, - initialfile: *const ::std::os::raw::c_char, - allowmul: bool, - extlist: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char, - >, - pub BrowseForSaveFile: Option< - unsafe extern "C" fn( - text: *const ::std::os::raw::c_char, - initialdir: *const ::std::os::raw::c_char, - initialfile: *const ::std::os::raw::c_char, - extlist: *const ::std::os::raw::c_char, - fn_: *mut ::std::os::raw::c_char, - fnsize: ::std::os::raw::c_int, - ) -> bool, - >, - pub BrowseForDirectory: Option< - unsafe extern "C" fn( - text: *const ::std::os::raw::c_char, - initialdir: *const ::std::os::raw::c_char, - fn_: *mut ::std::os::raw::c_char, - fnsize: ::std::os::raw::c_int, - ) -> bool, - >, - pub BrowseFile_SetTemplate: Option< - unsafe extern "C" fn( - dlgid: *const ::std::os::raw::c_char, - dlgProc: root::DLGPROC, - reshead: *mut root::SWELL_DialogResourceIndex, - ), - >, - pub GetDlgItem: - Option root::HWND>, - pub ShowWindow: Option, - pub DestroyWindow: Option, - pub SWELL_GetGestureInfo: Option< - unsafe extern "C" fn(lParam: root::LPARAM, gi: *mut root::GESTUREINFO) -> root::BOOL, - >, - pub SWELL_HideApp: Option, - pub SetDlgItemText: Option< - unsafe extern "C" fn( - arg1: root::HWND, - idx: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> root::BOOL, - >, - pub SetDlgItemInt: Option< - unsafe extern "C" fn( - arg1: root::HWND, - idx: ::std::os::raw::c_int, - val: ::std::os::raw::c_int, - issigned: ::std::os::raw::c_int, - ) -> root::BOOL, - >, - pub GetDlgItemInt: Option< - unsafe extern "C" fn( - arg1: root::HWND, - idx: ::std::os::raw::c_int, - translated: *mut root::BOOL, - issigned: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetDlgItemText: Option< - unsafe extern "C" fn( - arg1: root::HWND, - idx: ::std::os::raw::c_int, - text: *mut ::std::os::raw::c_char, - textlen: ::std::os::raw::c_int, - ) -> root::BOOL, - >, - pub GetWindowTextLength: - Option ::std::os::raw::c_int>, - pub CheckDlgButton: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - idx: ::std::os::raw::c_int, - check: ::std::os::raw::c_int, - ), - >, - pub IsDlgButtonChecked: Option< - unsafe extern "C" fn(hwnd: root::HWND, idx: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - pub EnableWindow: Option, - pub SetFocus: Option, - pub GetFocus: Option root::HWND>, - pub SetForegroundWindow: Option, - pub GetForegroundWindow: Option root::HWND>, - pub SetCapture: Option root::HWND>, - pub GetCapture: Option root::HWND>, - pub ReleaseCapture: Option, - pub IsChild: Option< - unsafe extern "C" fn( - hwndParent: root::HWND, - hwndChild: root::HWND, - ) -> ::std::os::raw::c_int, - >, - pub GetParent: Option root::HWND>, - pub SetParent: Option root::HWND>, - pub GetWindow: - Option root::HWND>, - pub EnumWindows: Option< - unsafe extern "C" fn( - proc_: ::std::option::Option< - unsafe extern "C" fn(arg1: root::HWND, arg2: root::LPARAM) -> root::BOOL, - >, - lp: root::LPARAM, - ) -> root::BOOL, - >, - pub FindWindowEx: Option< - unsafe extern "C" fn( - par: root::HWND, - lastw: root::HWND, - classname: *const ::std::os::raw::c_char, - title: *const ::std::os::raw::c_char, - ) -> root::HWND, - >, - pub ClientToScreen: Option, - pub ScreenToClient: Option, - pub GetWindowRect: Option bool>, - pub GetWindowContentViewRect: - Option, - pub GetClientRect: Option, - pub WindowFromPoint: Option root::HWND>, - pub WinOffsetRect: Option< - unsafe extern "C" fn( - lprc: root::LPRECT, - dx: ::std::os::raw::c_int, - dy: ::std::os::raw::c_int, - ) -> root::BOOL, - >, - pub WinSetRect: Option< - unsafe extern "C" fn( - lprc: root::LPRECT, - xLeft: ::std::os::raw::c_int, - yTop: ::std::os::raw::c_int, - xRight: ::std::os::raw::c_int, - yBottom: ::std::os::raw::c_int, - ) -> root::BOOL, - >, - pub WinUnionRect: Option< - unsafe extern "C" fn(out: *mut root::RECT, in1: *const root::RECT, in2: *const root::RECT), - >, - pub WinIntersectRect: Option< - unsafe extern "C" fn( - out: *mut root::RECT, - in1: *const root::RECT, - in2: *const root::RECT, - ) -> ::std::os::raw::c_int, - >, - pub SetWindowPos: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - unused: root::HWND, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - cx: ::std::os::raw::c_int, - cy: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ), - >, - pub SWELL_SetWindowLevel: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - newlevel: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub InvalidateRect: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - r: *const root::RECT, - eraseBk: ::std::os::raw::c_int, - ) -> root::BOOL, - >, - pub UpdateWindow: Option, - pub GetWindowLong: Option< - unsafe extern "C" fn(hwnd: root::HWND, idx: ::std::os::raw::c_int) -> root::LONG_PTR, - >, - pub SetWindowLong: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - idx: ::std::os::raw::c_int, - val: root::LONG_PTR, - ) -> root::LONG_PTR, - >, - pub ScrollWindow: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - xamt: ::std::os::raw::c_int, - yamt: ::std::os::raw::c_int, - lpRect: *const root::RECT, - lpClipRect: *const root::RECT, - ) -> root::BOOL, - >, - pub EnumPropsEx: Option< - unsafe extern "C" fn( - arg1: root::HWND, - arg2: root::PROPENUMPROCEX, - arg3: root::LPARAM, - ) -> ::std::os::raw::c_int, - >, - pub GetProp: Option< - unsafe extern "C" fn(arg1: root::HWND, arg2: *const ::std::os::raw::c_char) -> root::HANDLE, - >, - pub SetProp: Option< - unsafe extern "C" fn( - arg1: root::HWND, - arg2: *const ::std::os::raw::c_char, - arg3: root::HANDLE, - ) -> root::BOOL, - >, - pub RemoveProp: Option< - unsafe extern "C" fn(arg1: root::HWND, arg2: *const ::std::os::raw::c_char) -> root::HANDLE, - >, - pub IsWindowVisible: Option bool>, - pub IsWindow: Option bool>, - pub SetTimer: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - timerid: root::UINT_PTR, - rate: root::UINT, - tProc: root::TIMERPROC, - ) -> root::UINT_PTR, - >, - pub KillTimer: - Option root::BOOL>, - pub ListView_SetExtendedListViewStyleEx: Option< - unsafe extern "C" fn( - h: root::HWND, - mask: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - ), - >, - pub ListView_InsertColumn: Option< - unsafe extern "C" fn(h: root::HWND, pos: ::std::os::raw::c_int, lvc: *const root::LVCOLUMN), - >, - pub ListView_DeleteColumn: - Option bool>, - pub ListView_SetColumn: Option< - unsafe extern "C" fn(h: root::HWND, pos: ::std::os::raw::c_int, lvc: *const root::LVCOLUMN), - >, - pub ListView_GetColumnWidth: Option< - unsafe extern "C" fn(h: root::HWND, pos: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - pub ListView_InsertItem: Option< - unsafe extern "C" fn(h: root::HWND, item: *const root::LVITEM) -> ::std::os::raw::c_int, - >, - pub ListView_SetItemText: Option< - unsafe extern "C" fn( - h: root::HWND, - ipos: ::std::os::raw::c_int, - cpos: ::std::os::raw::c_int, - txt: *const ::std::os::raw::c_char, - ), - >, - pub ListView_SetItem: - Option bool>, - pub ListView_GetNextItem: Option< - unsafe extern "C" fn( - h: root::HWND, - istart: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub ListView_GetItem: - Option bool>, - pub ListView_GetItemState: Option< - unsafe extern "C" fn( - h: root::HWND, - ipos: ::std::os::raw::c_int, - mask: root::UINT, - ) -> ::std::os::raw::c_int, - >, - pub ListView_DeleteItem: - Option, - pub ListView_DeleteAllItems: Option, - pub ListView_GetSelectedCount: - Option ::std::os::raw::c_int>, - pub ListView_GetItemCount: Option ::std::os::raw::c_int>, - pub ListView_GetSelectionMark: - Option ::std::os::raw::c_int>, - pub ListView_SetColumnWidth: Option< - unsafe extern "C" fn( - h: root::HWND, - colpos: ::std::os::raw::c_int, - wid: ::std::os::raw::c_int, - ), - >, - pub ListView_SetItemState: Option< - unsafe extern "C" fn( - h: root::HWND, - item: ::std::os::raw::c_int, - state: root::UINT, - statemask: root::UINT, - ) -> bool, - >, - pub ListView_RedrawItems: Option< - unsafe extern "C" fn( - h: root::HWND, - startitem: ::std::os::raw::c_int, - enditem: ::std::os::raw::c_int, - ), - >, - pub ListView_SetItemCount: - Option, - pub ListView_EnsureVisible: - Option, - pub ListView_SetImageList: Option< - unsafe extern "C" fn( - h: root::HWND, - imagelist: root::HIMAGELIST, - which: ::std::os::raw::c_int, - ), - >, - pub ListView_SubItemHitTest: Option< - unsafe extern "C" fn( - h: root::HWND, - pinf: *mut root::LVHITTESTINFO, - ) -> ::std::os::raw::c_int, - >, - pub ListView_GetItemText: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - item: ::std::os::raw::c_int, - subitem: ::std::os::raw::c_int, - text: *mut ::std::os::raw::c_char, - textmax: ::std::os::raw::c_int, - ), - >, - pub ListView_SortItems: Option< - unsafe extern "C" fn(hwnd: root::HWND, compf: root::PFNLVCOMPARE, parm: root::LPARAM), - >, - pub ListView_Scroll: Option< - unsafe extern "C" fn( - h: root::HWND, - xscroll: ::std::os::raw::c_int, - yscroll: ::std::os::raw::c_int, - ) -> bool, - >, - pub ListView_GetTopIndex: Option ::std::os::raw::c_int>, - pub ListView_GetCountPerPage: - Option ::std::os::raw::c_int>, - pub ListView_SetColumnOrderArray: Option< - unsafe extern "C" fn( - h: root::HWND, - cnt: ::std::os::raw::c_int, - arr: *mut ::std::os::raw::c_int, - ) -> root::BOOL, - >, - pub ListView_GetColumnOrderArray: Option< - unsafe extern "C" fn( - h: root::HWND, - cnt: ::std::os::raw::c_int, - arr: *mut ::std::os::raw::c_int, - ) -> root::BOOL, - >, - pub ListView_GetHeader: Option root::HWND>, - pub Header_GetItemCount: Option ::std::os::raw::c_int>, - pub Header_GetItem: Option< - unsafe extern "C" fn( - h: root::HWND, - col: ::std::os::raw::c_int, - hi: *mut root::HDITEM, - ) -> root::BOOL, - >, - pub Header_SetItem: Option< - unsafe extern "C" fn( - h: root::HWND, - col: ::std::os::raw::c_int, - hi: *mut root::HDITEM, - ) -> root::BOOL, - >, - pub ListView_GetItemRect: Option< - unsafe extern "C" fn( - h: root::HWND, - item: ::std::os::raw::c_int, - r: *mut root::RECT, - code: ::std::os::raw::c_int, - ) -> bool, - >, - pub ListView_GetSubItemRect: Option< - unsafe extern "C" fn( - h: root::HWND, - item: ::std::os::raw::c_int, - subitem: ::std::os::raw::c_int, - code: ::std::os::raw::c_int, - r: *mut root::RECT, - ) -> bool, - >, - pub ListView_HitTest: Option< - unsafe extern "C" fn( - h: root::HWND, - pinf: *mut root::LVHITTESTINFO, - ) -> ::std::os::raw::c_int, - >, - pub SWELL_GetListViewHeaderHeight: - Option ::std::os::raw::c_int>, - pub ImageList_CreateEx: Option root::HIMAGELIST>, - pub ImageList_Remove: Option< - unsafe extern "C" fn(list: root::HIMAGELIST, idx: ::std::os::raw::c_int) -> root::BOOL, - >, - pub ImageList_ReplaceIcon: Option< - unsafe extern "C" fn( - list: root::HIMAGELIST, - offset: ::std::os::raw::c_int, - image: root::HICON, - ) -> ::std::os::raw::c_int, - >, - pub ImageList_Add: Option< - unsafe extern "C" fn( - list: root::HIMAGELIST, - image: root::HBITMAP, - mask: root::HBITMAP, - ) -> ::std::os::raw::c_int, - >, - pub ImageList_Destroy: Option, - pub TabCtrl_GetItemCount: - Option ::std::os::raw::c_int>, - pub TabCtrl_DeleteItem: - Option root::BOOL>, - pub TabCtrl_InsertItem: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - idx: ::std::os::raw::c_int, - item: *mut root::TCITEM, - ) -> ::std::os::raw::c_int, - >, - pub TabCtrl_SetCurSel: Option< - unsafe extern "C" fn(hwnd: root::HWND, idx: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - pub TabCtrl_GetCurSel: Option ::std::os::raw::c_int>, - pub TabCtrl_AdjustRect: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - fLarger: root::BOOL, - r: *mut root::RECT, - ) -> root::BOOL, - >, - pub TreeView_InsertItem: Option< - unsafe extern "C" fn(hwnd: root::HWND, ins: *mut root::TV_INSERTSTRUCT) -> root::HTREEITEM, - >, - pub TreeView_Expand: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - item: root::HTREEITEM, - flag: root::UINT, - ) -> root::BOOL, - >, - pub TreeView_GetSelection: Option root::HTREEITEM>, - pub TreeView_DeleteItem: Option, - pub TreeView_DeleteAllItems: Option, - pub TreeView_SelectItem: Option, - pub TreeView_EnsureVisible: - Option, - pub TreeView_GetItem: - Option root::BOOL>, - pub TreeView_SetItem: - Option root::BOOL>, - pub TreeView_HitTest: Option< - unsafe extern "C" fn(hwnd: root::HWND, hti: *mut root::TVHITTESTINFO) -> root::HTREEITEM, - >, - pub TreeView_SetIndent: - Option root::BOOL>, - pub TreeView_GetParent: - Option root::HTREEITEM>, - pub TreeView_GetChild: - Option root::HTREEITEM>, - pub TreeView_GetNextSibling: - Option root::HTREEITEM>, - pub TreeView_GetRoot: Option root::HTREEITEM>, - pub TreeView_SetBkColor: - Option, - pub TreeView_SetTextColor: - Option, - pub ListView_SetBkColor: - Option, - pub ListView_SetTextBkColor: - Option, - pub ListView_SetTextColor: - Option, - pub ListView_SetGridColor: - Option, - pub ListView_SetSelColors: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - colors: *mut ::std::os::raw::c_int, - ncolors: ::std::os::raw::c_int, - ), - >, - pub SWELL_ModalWindowStart: - Option *mut ::std::os::raw::c_void>, - pub SWELL_ModalWindowRun: Option< - unsafe extern "C" fn( - ctx: *mut ::std::os::raw::c_void, - ret: *mut ::std::os::raw::c_int, - ) -> bool, - >, - pub SWELL_ModalWindowEnd: Option, - pub SWELL_CloseWindow: Option, - pub CreatePopupMenu: Option root::HMENU>, - pub CreatePopupMenuEx: - Option root::HMENU>, - pub DestroyMenu: Option, - pub AddMenuItem: Option< - unsafe extern "C" fn( - hMenu: root::HMENU, - pos: ::std::os::raw::c_int, - name: *const ::std::os::raw::c_char, - tagid: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetSubMenu: - Option root::HMENU>, - pub GetMenuItemCount: Option ::std::os::raw::c_int>, - pub GetMenuItemID: Option< - unsafe extern "C" fn( - hMenu: root::HMENU, - pos: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub SetMenuItemModifier: Option< - unsafe extern "C" fn( - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - flag: ::std::os::raw::c_int, - code: ::std::os::raw::c_int, - mask: ::std::os::raw::c_uint, - ) -> bool, - >, - pub SetMenuItemText: Option< - unsafe extern "C" fn( - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - flag: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> bool, - >, - pub EnableMenuItem: Option< - unsafe extern "C" fn( - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - en: ::std::os::raw::c_int, - ) -> bool, - >, - pub DeleteMenu: Option< - unsafe extern "C" fn( - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - flag: ::std::os::raw::c_int, - ) -> bool, - >, - pub CheckMenuItem: Option< - unsafe extern "C" fn( - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - chk: ::std::os::raw::c_int, - ) -> bool, - >, - pub InsertMenuItem: Option< - unsafe extern "C" fn( - hMenu: root::HMENU, - pos: ::std::os::raw::c_int, - byPos: root::BOOL, - mi: *mut root::MENUITEMINFO, - ), - >, - pub SWELL_InsertMenu: Option< - unsafe extern "C" fn( - menu: root::HMENU, - pos: ::std::os::raw::c_int, - flag: ::std::os::raw::c_uint, - idx: root::UINT_PTR, - str: *const ::std::os::raw::c_char, - ), - >, - pub GetMenuItemInfo: Option< - unsafe extern "C" fn( - hMenu: root::HMENU, - pos: ::std::os::raw::c_int, - byPos: root::BOOL, - mi: *mut root::MENUITEMINFO, - ) -> root::BOOL, - >, - pub SetMenuItemInfo: Option< - unsafe extern "C" fn( - hMenu: root::HMENU, - pos: ::std::os::raw::c_int, - byPos: root::BOOL, - mi: *mut root::MENUITEMINFO, - ) -> root::BOOL, - >, - pub DrawMenuBar: Option, - pub SWELL_LoadMenu: Option< - unsafe extern "C" fn( - head: *mut root::SWELL_MenuResourceIndex, - resid: *const ::std::os::raw::c_char, - ) -> root::HMENU, - >, - pub TrackPopupMenu: Option< - unsafe extern "C" fn( - hMenu: root::HMENU, - flags: ::std::os::raw::c_int, - xpos: ::std::os::raw::c_int, - ypos: ::std::os::raw::c_int, - resvd: ::std::os::raw::c_int, - hwnd: root::HWND, - r: *const root::RECT, - ) -> ::std::os::raw::c_int, - >, - pub SWELL_SetMenuDestination: Option, - pub SWELL_DuplicateMenu: Option root::HMENU>, - pub SetMenu: Option root::BOOL>, - pub GetMenu: Option root::HMENU>, - pub SWELL_GetDefaultWindowMenu: Option root::HMENU>, - pub SWELL_SetDefaultWindowMenu: Option, - pub SWELL_GetDefaultModalWindowMenu: Option root::HMENU>, - pub SWELL_SetDefaultModalWindowMenu: Option, - pub SWELL_GetCurrentMenu: Option root::HMENU>, - pub SWELL_SetCurrentMenu: Option, - pub SWELL_DialogBox: Option< - unsafe extern "C" fn( - reshead: *mut root::SWELL_DialogResourceIndex, - resid: *const ::std::os::raw::c_char, - parent: root::HWND, - dlgproc: root::DLGPROC, - param: root::LPARAM, - ) -> ::std::os::raw::c_int, - >, - pub SWELL_CreateDialog: Option< - unsafe extern "C" fn( - reshead: *mut root::SWELL_DialogResourceIndex, - resid: *const ::std::os::raw::c_char, - parent: root::HWND, - dlgproc: root::DLGPROC, - param: root::LPARAM, - ) -> root::HWND, - >, - pub SWELL_RegisterCustomControlCreator: - Option, - pub SWELL_UnregisterCustomControlCreator: - Option, - pub DefWindowProc: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - msg: root::UINT, - wParam: root::WPARAM, - lParam: root::LPARAM, - ) -> root::LRESULT, - >, - pub EndDialog: Option, - pub SWELL_GetDefaultButtonID: Option< - unsafe extern "C" fn(hwndDlg: root::HWND, onlyIfEnabled: bool) -> ::std::os::raw::c_int, - >, - pub SendMessage: Option< - unsafe extern "C" fn( - arg1: root::HWND, - arg2: root::UINT, - arg3: root::WPARAM, - arg4: root::LPARAM, - ) -> root::LRESULT, - >, - pub SWELL_BroadcastMessage: - Option, - pub PostMessage: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - msg: root::UINT, - wParam: root::WPARAM, - lParam: root::LPARAM, - ) -> root::BOOL, - >, - pub SWELL_MessageQueue_Flush: Option, - pub SWELL_MessageQueue_Clear: Option, - pub SWELL_KeyToASCII: Option< - unsafe extern "C" fn( - wParam: ::std::os::raw::c_int, - lParam: ::std::os::raw::c_int, - newflags: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub GetAsyncKeyState: Option root::WORD>, - pub GetCursorPos: Option, - pub GetMessagePos: Option root::DWORD>, - pub SWELL_LoadCursor: - Option root::HCURSOR>, - pub SWELL_SetCursor: Option, - pub SWELL_EnableRightClickEmulate: Option, - pub SWELL_GetCursor: Option root::HCURSOR>, - pub SWELL_GetLastSetCursor: Option root::HCURSOR>, - pub SWELL_IsCursorVisible: Option bool>, - pub SWELL_ShowCursor: Option ::std::os::raw::c_int>, - pub SWELL_SetCursorPos: - Option root::BOOL>, - pub SWELL_GetViewPort: Option< - unsafe extern "C" fn(r: *mut root::RECT, sourcerect: *const root::RECT, wantWork: bool), - >, - pub OpenClipboard: Option bool>, - pub CloseClipboard: Option, - pub GetClipboardData: Option root::HANDLE>, - pub EmptyClipboard: Option, - pub SetClipboardData: Option, - pub RegisterClipboardFormat: - Option root::UINT>, - pub EnumClipboardFormats: Option root::UINT>, - pub GlobalAlloc: Option< - extern "C" fn(flags: ::std::os::raw::c_int, sz: ::std::os::raw::c_int) -> root::HANDLE, - >, - pub GlobalLock: Option *mut ::std::os::raw::c_void>, - pub GlobalSize: Option ::std::os::raw::c_int>, - pub GlobalUnlock: Option, - pub GlobalFree: Option, - pub CreateThread: Option< - unsafe extern "C" fn( - TA: *mut ::std::os::raw::c_void, - stackSize: root::DWORD, - ThreadProc: ::std::option::Option< - unsafe extern "C" fn(arg1: root::LPVOID) -> root::DWORD, - >, - parm: root::LPVOID, - cf: root::DWORD, - tidOut: *mut root::DWORD, - ) -> root::HANDLE, - >, - pub CreateEvent: Option< - unsafe extern "C" fn( - SA: *mut ::std::os::raw::c_void, - manualReset: root::BOOL, - initialSig: root::BOOL, - ignored: *const ::std::os::raw::c_char, - ) -> root::HANDLE, - >, - pub CreateEventAsSocket: Option< - unsafe extern "C" fn( - SA: *mut ::std::os::raw::c_void, - manualReset: root::BOOL, - initialSig: root::BOOL, - ignored: *const ::std::os::raw::c_char, - ) -> root::HANDLE, - >, - pub GetCurrentThreadId: Option root::DWORD>, - pub WaitForSingleObject: - Option root::DWORD>, - pub WaitForAnySocketObject: Option< - unsafe extern "C" fn( - numObjs: ::std::os::raw::c_int, - objs: *mut root::HANDLE, - msTO: root::DWORD, - ) -> root::DWORD, - >, - pub CloseHandle: Option root::BOOL>, - pub SetThreadPriority: - Option root::BOOL>, - pub SetEvent: Option root::BOOL>, - pub ResetEvent: Option root::BOOL>, - pub SWELL_CreateProcessFromPID: - Option root::HANDLE>, - pub SWELL_CreateProcess: Option< - unsafe extern "C" fn( - exe: *const ::std::os::raw::c_char, - nparams: ::std::os::raw::c_int, - params: *mut *const ::std::os::raw::c_char, - ) -> root::HANDLE, - >, - pub SWELL_GetProcessExitCode: - Option ::std::os::raw::c_int>, - pub LoadLibraryGlobals: Option< - unsafe extern "C" fn( - fileName: *const ::std::os::raw::c_char, - symbolsAsGlobals: bool, - ) -> root::HINSTANCE, - >, - pub LoadLibrary: - Option root::HINSTANCE>, - pub GetProcAddress: Option< - unsafe extern "C" fn( - hInst: root::HINSTANCE, - procName: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_void, - >, - pub FreeLibrary: Option root::BOOL>, - pub SWELL_GetBundle: - Option *mut ::std::os::raw::c_void>, - pub SWELL_CreateMemContext: Option< - unsafe extern "C" fn( - hdc: root::HDC, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - ) -> root::HDC, - >, - pub SWELL_DeleteGfxContext: Option, - pub SWELL_GetCtxGC: Option *mut ::std::os::raw::c_void>, - pub SWELL_GetCtxFrameBuffer: - Option *mut ::std::os::raw::c_void>, - pub SWELL_PushClipRegion: Option, - pub SWELL_SetClipRegion: Option, - pub SWELL_PopClipRegion: Option, - pub CreateFontIndirect: Option root::HFONT>, - pub CreateFont: Option< - unsafe extern "C" fn( - lfHeight: ::std::os::raw::c_int, - lfWidth: ::std::os::raw::c_int, - lfEscapement: ::std::os::raw::c_int, - lfOrientation: ::std::os::raw::c_int, - lfWeight: ::std::os::raw::c_int, - lfItalic: ::std::os::raw::c_char, - lfUnderline: ::std::os::raw::c_char, - lfStrikeOut: ::std::os::raw::c_char, - lfCharSet: ::std::os::raw::c_char, - lfOutPrecision: ::std::os::raw::c_char, - lfClipPrecision: ::std::os::raw::c_char, - lfQuality: ::std::os::raw::c_char, - lfPitchAndFamily: ::std::os::raw::c_char, - lfFaceName: *const ::std::os::raw::c_char, - ) -> root::HFONT, - >, - pub CreatePen: Option< - extern "C" fn( - attr: ::std::os::raw::c_int, - wid: ::std::os::raw::c_int, - col: ::std::os::raw::c_int, - ) -> root::HPEN, - >, - pub CreateSolidBrush: Option root::HBRUSH>, - pub CreatePenAlpha: Option< - extern "C" fn( - attr: ::std::os::raw::c_int, - wid: ::std::os::raw::c_int, - col: ::std::os::raw::c_int, - alpha: f32, - ) -> root::HPEN, - >, - pub CreateSolidBrushAlpha: - Option root::HBRUSH>, - pub SelectObject: - Option root::HGDIOBJ>, - pub GetStockObject: Option root::HGDIOBJ>, - pub DeleteObject: Option, - pub SWELL_FillRect: - Option, - pub Rectangle: Option< - unsafe extern "C" fn( - ctx: root::HDC, - l: ::std::os::raw::c_int, - t: ::std::os::raw::c_int, - r: ::std::os::raw::c_int, - b: ::std::os::raw::c_int, - ), - >, - pub Ellipse: Option< - unsafe extern "C" fn( - ctx: root::HDC, - l: ::std::os::raw::c_int, - t: ::std::os::raw::c_int, - r: ::std::os::raw::c_int, - b: ::std::os::raw::c_int, - ), - >, - pub SWELL_Polygon: Option< - unsafe extern "C" fn(ctx: root::HDC, pts: *mut root::POINT, npts: ::std::os::raw::c_int), - >, - pub MoveToEx: Option< - unsafe extern "C" fn( - ctx: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - op: *mut root::POINT, - ), - >, - pub SWELL_LineTo: Option< - unsafe extern "C" fn(ctx: root::HDC, x: ::std::os::raw::c_int, y: ::std::os::raw::c_int), - >, - pub SWELL_SetPixel: Option< - unsafe extern "C" fn( - ctx: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - c: ::std::os::raw::c_int, - ), - >, - pub PolyBezierTo: Option< - unsafe extern "C" fn(ctx: root::HDC, pts: *mut root::POINT, np: ::std::os::raw::c_int), - >, - pub SWELL_DrawText: Option< - unsafe extern "C" fn( - ctx: root::HDC, - buf: *const ::std::os::raw::c_char, - len: ::std::os::raw::c_int, - r: *mut root::RECT, - align: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub SetTextColor: Option, - pub GetTextColor: Option ::std::os::raw::c_int>, - pub SetBkColor: Option, - pub SetBkMode: Option, - pub GetGlyphIndicesW: Option< - unsafe extern "C" fn( - ctx: root::HDC, - buf: *mut u32, - len: ::std::os::raw::c_int, - indices: *mut ::std::os::raw::c_ushort, - flags: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub RoundRect: Option< - unsafe extern "C" fn( - ctx: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - x2: ::std::os::raw::c_int, - y2: ::std::os::raw::c_int, - xrnd: ::std::os::raw::c_int, - yrnd: ::std::os::raw::c_int, - ), - >, - pub PolyPolyline: Option< - unsafe extern "C" fn( - ctx: root::HDC, - pts: *mut root::POINT, - cnts: *mut root::DWORD, - nseg: ::std::os::raw::c_int, - ), - >, - pub GetTextMetrics: - Option root::BOOL>, - pub GetTextFace: Option< - unsafe extern "C" fn( - ctx: root::HDC, - nCount: ::std::os::raw::c_int, - lpFaceName: root::LPTSTR, - ) -> ::std::os::raw::c_int, - >, - pub GetObject: Option< - unsafe extern "C" fn( - icon: root::HICON, - bmsz: ::std::os::raw::c_int, - _bm: *mut ::std::os::raw::c_void, - ) -> root::BOOL, - >, - pub CreateIconIndirect: - Option root::HICON>, - pub LoadNamedImage: Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - alphaFromMask: bool, - ) -> root::HICON, - >, - pub DrawImageInRect: - Option, - pub BitBlt: Option< - unsafe extern "C" fn( - hdcOut: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - hdcIn: root::HDC, - xin: ::std::os::raw::c_int, - yin: ::std::os::raw::c_int, - mode: ::std::os::raw::c_int, - ), - >, - pub StretchBlt: Option< - unsafe extern "C" fn( - hdcOut: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - hdcIn: root::HDC, - xin: ::std::os::raw::c_int, - yin: ::std::os::raw::c_int, - srcw: ::std::os::raw::c_int, - srch: ::std::os::raw::c_int, - mode: ::std::os::raw::c_int, - ), - >, - pub StretchBltFromMem: Option< - unsafe extern "C" fn( - hdcOut: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - bits: *const ::std::os::raw::c_void, - srcw: ::std::os::raw::c_int, - srch: ::std::os::raw::c_int, - srcspan: ::std::os::raw::c_int, - ), - >, - pub SWELL_GetScaling256: Option ::std::os::raw::c_int>, - pub SWELL_ExtendedAPI: Option< - unsafe extern "C" fn( - key: *const ::std::os::raw::c_char, - v: *mut ::std::os::raw::c_void, - ) -> *mut ::std::os::raw::c_void, - >, - pub GetSysColor: Option ::std::os::raw::c_int>, - pub CreateBitmap: Option< - unsafe extern "C" fn( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - numplanes: ::std::os::raw::c_int, - bitsperpixel: ::std::os::raw::c_int, - bits: *mut ::std::os::raw::c_uchar, - ) -> root::HBITMAP, - >, - pub SetOpaque: Option, - pub SetAllowNoMiddleManRendering: Option, - pub SWELL_SetViewGL: - Option, - pub SWELL_GetViewGL: Option bool>, - pub SWELL_SetGLContextToView: Option bool>, - pub BeginPaint: - Option root::HDC>, - pub EndPaint: - Option root::BOOL>, - pub GetDC: Option root::HDC>, - pub GetWindowDC: Option root::HDC>, - pub ReleaseDC: Option, - pub SWELL_FillDialogBackground: Option< - unsafe extern "C" fn(hdc: root::HDC, r: *const root::RECT, level: ::std::os::raw::c_int), - >, - pub SWELL_CloneGDIObject: Option root::HGDIOBJ>, - pub GetSystemMetrics: - Option ::std::os::raw::c_int>, - pub DragQueryPoint: - Option root::BOOL>, - pub DragFinish: Option, - pub DragQueryFile: Option< - unsafe extern "C" fn( - arg1: root::HDROP, - arg2: root::UINT, - arg3: *mut ::std::os::raw::c_char, - arg4: root::UINT, - ) -> root::UINT, - >, - pub SWELL_InitiateDragDrop: Option< - unsafe extern "C" fn( - arg1: root::HWND, - srcrect: *mut root::RECT, - srcfn: *const ::std::os::raw::c_char, - callback: ::std::option::Option< - unsafe extern "C" fn(droppath: *const ::std::os::raw::c_char), - >, - ), - >, - pub SWELL_InitiateDragDropOfFileList: Option< - unsafe extern "C" fn( - arg1: root::HWND, - srcrect: *mut root::RECT, - srclist: *mut *const ::std::os::raw::c_char, - srccount: ::std::os::raw::c_int, - icon: root::HICON, - ), - >, - pub SWELL_FinishDragDrop: Option, - pub SWELL_DrawFocusRect: Option< - unsafe extern "C" fn( - hwndPar: root::HWND, - rct: *mut root::RECT, - handle: *mut *mut ::std::os::raw::c_void, - ), - >, - pub SWELL_MakeSetCurParms: Option< - unsafe extern "C" fn( - xscale: f32, - yscale: f32, - xtrans: f32, - ytrans: f32, - parent: root::HWND, - doauto: bool, - dosizetofit: bool, - ), - >, - pub SWELL_MakeButton: Option< - unsafe extern "C" fn( - def: ::std::os::raw::c_int, - label: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> root::HWND, - >, - pub SWELL_MakeEditField: Option< - extern "C" fn( - idx: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> root::HWND, - >, - pub SWELL_MakeLabel: Option< - unsafe extern "C" fn( - align: ::std::os::raw::c_int, - label: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> root::HWND, - >, - pub SWELL_MakeControl: Option< - unsafe extern "C" fn( - cname: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - classname: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - exstyle: ::std::os::raw::c_int, - ) -> root::HWND, - >, - pub SWELL_MakeCombo: Option< - extern "C" fn( - idx: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> root::HWND, - >, - pub SWELL_MakeGroupBox: Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - ) -> root::HWND, - >, - pub SWELL_MakeCheckBox: Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ) -> root::HWND, - >, - pub SWELL_MakeListBox: Option< - extern "C" fn( - idx: ::std::os::raw::c_int, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - styles: ::std::os::raw::c_int, - ) -> root::HWND, - >, - pub SWELL_Menu_AddMenuItem: Option< - unsafe extern "C" fn( - hMenu: root::HMENU, - name: *const ::std::os::raw::c_char, - idx: ::std::os::raw::c_int, - flags: ::std::os::raw::c_uint, - ), - >, - pub SWELL_GenerateMenuFromList: Option< - unsafe extern "C" fn( - hMenu: root::HMENU, - list: *const ::std::os::raw::c_void, - listsz: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub SWELL_GenerateDialogFromList: Option< - unsafe extern "C" fn(list: *const ::std::os::raw::c_void, listsz: ::std::os::raw::c_int), - >, - pub _controlfp: Option< - extern "C" fn( - flag: ::std::os::raw::c_uint, - mask: ::std::os::raw::c_uint, - ) -> ::std::os::raw::c_uint, - >, - pub SWELL_Internal_PostMessage_Init: Option, - pub SWELL_LoadCursorFromFile: - Option root::HCURSOR>, - pub SWELL_SetWindowWantRaiseAmt: - Option, - pub SWELL_GetWindowWantRaiseAmt: - Option ::std::os::raw::c_int>, - pub SWELL_SetListViewFastClickMask: - Option, - pub GetTempPath: - Option, - pub SWELL_initargs: Option< - unsafe extern "C" fn( - argc: *mut ::std::os::raw::c_int, - argv: *mut *mut *mut ::std::os::raw::c_char, - ), - >, - pub SWELL_RunMessageLoop: Option, - pub SWELL_CreateXBridgeWindow: Option< - unsafe extern "C" fn( - viewpar: root::HWND, - wref: *mut *mut ::std::os::raw::c_void, - arg1: *const root::RECT, - ) -> root::HWND, - >, - pub SWELL_GetOSWindow: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - type_: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_void, - >, - pub SWELL_GetOSEvent: Option< - unsafe extern "C" fn(type_: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_void, - >, - pub SWELL_GenerateGUID: Option bool>, - pub EnumChildWindows: Option< - unsafe extern "C" fn( - hwnd: root::HWND, - cwEnumFunc: ::std::option::Option< - unsafe extern "C" fn(arg1: root::HWND, arg2: root::LPARAM) -> root::BOOL, - >, - lParam: root::LPARAM, - ) -> root::BOOL, - >, - pub SWELL_IsGroupBox: Option root::BOOL>, - pub SWELL_IsButton: Option root::BOOL>, - pub SWELL_IsStaticText: Option root::BOOL>, - pub SWELL_GetDesiredControlSize: - Option, - pub AddFontResourceEx: Option< - unsafe extern "C" fn( - str: root::LPCTSTR, - fl: root::DWORD, - pdv: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int, - >, - pub SWELL_Register_Cursor_Resource: Option< - unsafe extern "C" fn( - idx: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - hotspot_x: ::std::os::raw::c_int, - hotspot_y: ::std::os::raw::c_int, - ), - >, - pub SWELL_ChooseColor: Option< - unsafe extern "C" fn( - arg1: root::HWND, - arg2: *mut root::COLORREF, - ncustom: ::std::os::raw::c_int, - custom: *mut root::COLORREF, - ) -> bool, - >, - pub SWELL_ChooseFont: - Option bool>, - pub IsWindowEnabled: Option bool>, - pub GetClassName: Option< - unsafe extern "C" fn( - arg1: root::HWND, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub SWELL_SetClassName: - Option, - pub SWELL_DisableContextMenu: Option, - pub EnumDisplayMonitors: Option< - unsafe extern "C" fn( - arg1: root::HDC, - arg2: root::LPRECT, - arg3: root::MONITORENUMPROC, - arg4: root::LPARAM, - ) -> root::BOOL, - >, - pub GetMonitorInfo: Option< - unsafe extern "C" fn(arg1: root::HMONITOR, arg2: *mut ::std::os::raw::c_void) -> root::BOOL, - >, - pub SWELL_osx_is_dark_mode: Option bool>, -} -impl SwellFunctionPointers { - pub(crate) const TOTAL_COUNT: u32 = 336u32; -} -#[cfg(target_family = "windows")] -mod windows { - use crate::bindings::root; - extern "system" { - pub fn GetDlgItem(arg1: root::HWND, arg2: ::std::os::raw::c_int) -> root::HWND; - } - extern "system" { - pub fn ShowWindow(arg1: root::HWND, arg2: ::std::os::raw::c_int); - } - extern "system" { - pub fn DestroyWindow(hwnd: root::HWND); - } - extern "system" { - pub fn SetDlgItemInt( - arg1: root::HWND, - idx: ::std::os::raw::c_int, - val: ::std::os::raw::c_int, - issigned: ::std::os::raw::c_int, - ) -> root::BOOL; - } - extern "system" { - pub fn GetDlgItemInt( - arg1: root::HWND, - idx: ::std::os::raw::c_int, - translated: *mut root::BOOL, - issigned: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - } - extern "system" { - pub fn CheckDlgButton( - hwnd: root::HWND, - idx: ::std::os::raw::c_int, - check: ::std::os::raw::c_int, - ); - } - extern "system" { - pub fn IsDlgButtonChecked( - hwnd: root::HWND, - idx: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - } - extern "system" { - pub fn EnableWindow(hwnd: root::HWND, enable: ::std::os::raw::c_int); - } - extern "system" { - pub fn SetFocus(hwnd: root::HWND); - } - extern "system" { - pub fn GetFocus() -> root::HWND; - } - extern "system" { - pub fn SetForegroundWindow(hwnd: root::HWND); - } - extern "system" { - pub fn GetForegroundWindow() -> root::HWND; - } - extern "system" { - pub fn SetCapture(hwnd: root::HWND) -> root::HWND; - } - extern "system" { - pub fn GetCapture() -> root::HWND; - } - extern "system" { - pub fn ReleaseCapture(); - } - extern "system" { - pub fn IsChild(hwndParent: root::HWND, hwndChild: root::HWND) -> ::std::os::raw::c_int; - } - extern "system" { - pub fn GetParent(hwnd: root::HWND) -> root::HWND; - } - extern "system" { - pub fn SetParent(hwnd: root::HWND, newPar: root::HWND) -> root::HWND; - } - extern "system" { - pub fn GetWindow(hwnd: root::HWND, what: ::std::os::raw::c_int) -> root::HWND; - } - extern "system" { - pub fn EnumWindows( - proc_: ::std::option::Option< - unsafe extern "C" fn(arg1: root::HWND, arg2: root::LPARAM) -> root::BOOL, - >, - lp: root::LPARAM, - ) -> root::BOOL; - } - extern "system" { - pub fn ClientToScreen(hwnd: root::HWND, p: *mut root::POINT); - } - extern "system" { - pub fn ScreenToClient(hwnd: root::HWND, p: *mut root::POINT); - } - extern "system" { - pub fn GetWindowRect(hwnd: root::HWND, r: *mut root::RECT) -> bool; - } - extern "system" { - pub fn GetClientRect(hwnd: root::HWND, r: *mut root::RECT); - } - extern "system" { - pub fn WindowFromPoint(p: root::POINT) -> root::HWND; - } - extern "system" { - pub fn SetWindowPos( - hwnd: root::HWND, - unused: root::HWND, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - cx: ::std::os::raw::c_int, - cy: ::std::os::raw::c_int, - flags: ::std::os::raw::c_int, - ); - } - extern "system" { - pub fn InvalidateRect( - hwnd: root::HWND, - r: *const root::RECT, - eraseBk: ::std::os::raw::c_int, - ) -> root::BOOL; - } - extern "system" { - pub fn ScrollWindow( - hwnd: root::HWND, - xamt: ::std::os::raw::c_int, - yamt: ::std::os::raw::c_int, - lpRect: *const root::RECT, - lpClipRect: *const root::RECT, - ) -> root::BOOL; - } - extern "system" { - pub fn IsWindowVisible(hwnd: root::HWND) -> bool; - } - extern "system" { - pub fn IsWindow(hwnd: root::HWND) -> bool; - } - extern "system" { - pub fn SetTimer( - hwnd: root::HWND, - timerid: root::UINT_PTR, - rate: root::UINT, - tProc: root::TIMERPROC, - ) -> root::UINT_PTR; - } - extern "system" { - pub fn KillTimer(hwnd: root::HWND, timerid: root::UINT_PTR) -> root::BOOL; - } - extern "system" { - pub fn CreatePopupMenu() -> root::HMENU; - } - extern "system" { - pub fn DestroyMenu(hMenu: root::HMENU); - } - extern "system" { - pub fn GetSubMenu(hMenu: root::HMENU, pos: ::std::os::raw::c_int) -> root::HMENU; - } - extern "system" { - pub fn GetMenuItemCount(hMenu: root::HMENU) -> ::std::os::raw::c_int; - } - extern "system" { - pub fn GetMenuItemID( - hMenu: root::HMENU, - pos: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - } - extern "system" { - pub fn EnableMenuItem( - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - en: ::std::os::raw::c_int, - ) -> bool; - } - extern "system" { - pub fn DeleteMenu( - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - flag: ::std::os::raw::c_int, - ) -> bool; - } - extern "system" { - pub fn CheckMenuItem( - hMenu: root::HMENU, - idx: ::std::os::raw::c_int, - chk: ::std::os::raw::c_int, - ) -> bool; - } - extern "system" { - pub fn DrawMenuBar(arg1: root::HWND); - } - extern "system" { - pub fn TrackPopupMenu( - hMenu: root::HMENU, - flags: ::std::os::raw::c_int, - xpos: ::std::os::raw::c_int, - ypos: ::std::os::raw::c_int, - resvd: ::std::os::raw::c_int, - hwnd: root::HWND, - r: *const root::RECT, - ) -> ::std::os::raw::c_int; - } - extern "system" { - pub fn SetMenu(hwnd: root::HWND, menu: root::HMENU) -> root::BOOL; - } - extern "system" { - pub fn GetMenu(hwnd: root::HWND) -> root::HMENU; - } - extern "system" { - pub fn EndDialog(arg1: root::HWND, arg2: ::std::os::raw::c_int); - } - extern "system" { - pub fn GetAsyncKeyState(key: ::std::os::raw::c_int) -> root::WORD; - } - extern "system" { - pub fn GetCursorPos(pt: *mut root::POINT); - } - extern "system" { - pub fn GetMessagePos() -> root::DWORD; - } - extern "system" { - pub fn OpenClipboard(hwndDlg: root::HWND) -> bool; - } - extern "system" { - pub fn CloseClipboard(); - } - extern "system" { - pub fn GetClipboardData(type_: root::UINT) -> root::HANDLE; - } - extern "system" { - pub fn EmptyClipboard(); - } - extern "system" { - pub fn SetClipboardData(type_: root::UINT, h: root::HANDLE); - } - extern "system" { - pub fn EnumClipboardFormats(lastfmt: root::UINT) -> root::UINT; - } - extern "system" { - pub fn GlobalAlloc(flags: ::std::os::raw::c_int, sz: ::std::os::raw::c_int) - -> root::HANDLE; - } - extern "system" { - pub fn GlobalLock(h: root::HANDLE) -> *mut ::std::os::raw::c_void; - } - extern "system" { - pub fn GlobalUnlock(h: root::HANDLE); - } - extern "system" { - pub fn GetCurrentThreadId() -> root::DWORD; - } - extern "system" { - pub fn SetThreadPriority(evt: root::HANDLE, prio: ::std::os::raw::c_int) -> root::BOOL; - } - extern "system" { - pub fn CreateSolidBrush(col: ::std::os::raw::c_int) -> root::HBRUSH; - } - extern "system" { - pub fn GetStockObject(wh: ::std::os::raw::c_int) -> root::HGDIOBJ; - } - extern "system" { - pub fn DeleteObject(arg1: root::HGDIOBJ); - } - extern "system" { - pub fn SetTextColor(ctx: root::HDC, col: ::std::os::raw::c_int); - } - extern "system" { - pub fn SetBkColor(ctx: root::HDC, col: ::std::os::raw::c_int); - } - extern "system" { - pub fn SetBkMode(ctx: root::HDC, col: ::std::os::raw::c_int); - } - extern "system" { - pub fn CreateIconIndirect(iconinfo: *mut root::ICONINFO) -> root::HICON; - } - extern "system" { - pub fn BitBlt( - hdcOut: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - hdcIn: root::HDC, - xin: ::std::os::raw::c_int, - yin: ::std::os::raw::c_int, - mode: ::std::os::raw::c_int, - ); - } - extern "system" { - pub fn StretchBlt( - hdcOut: root::HDC, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - hdcIn: root::HDC, - xin: ::std::os::raw::c_int, - yin: ::std::os::raw::c_int, - srcw: ::std::os::raw::c_int, - srch: ::std::os::raw::c_int, - mode: ::std::os::raw::c_int, - ); - } - extern "system" { - pub fn GetSysColor(idx: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - } - extern "system" { - pub fn BeginPaint(arg1: root::HWND, arg2: *mut root::PAINTSTRUCT) -> root::HDC; - } - extern "system" { - pub fn EndPaint(arg1: root::HWND, arg2: *mut root::PAINTSTRUCT) -> root::BOOL; - } - extern "system" { - pub fn GetDC(arg1: root::HWND) -> root::HDC; - } - extern "system" { - pub fn GetWindowDC(arg1: root::HWND) -> root::HDC; - } - extern "system" { - pub fn ReleaseDC(arg1: root::HWND, arg2: root::HDC); - } - extern "system" { - pub fn GetSystemMetrics(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - } - extern "system" { - pub fn EnumChildWindows( - hwnd: root::HWND, - cwEnumFunc: ::std::option::Option< - unsafe extern "C" fn(arg1: root::HWND, arg2: root::LPARAM) -> root::BOOL, - >, - lParam: root::LPARAM, - ) -> root::BOOL; - } - extern "system" { - pub fn IsWindowEnabled(arg1: root::HWND) -> bool; - } -} +# ! [doc = r" This file is automatically generated by executing `cargo build --features generate`."] # ! [doc = r""] # ! [doc = r" **Make adjustments in `build.rs`, not in this file!**"] # ! [allow (clippy :: many_single_char_names)] # ! [allow (clippy :: too_many_arguments)] # ! [allow (clippy :: type_complexity)] # ! [allow (clippy :: missing_transmute_annotations)] # ! [allow (non_upper_case_globals)] # ! [allow (non_camel_case_types)] # ! [allow (non_snake_case)] # ! [allow (unused_unsafe)] use crate :: { bindings :: root , PluginContext } ; # [doc = r" This is the low-level API access point to all SWELL functions."] # [doc = r""] # [doc = r" SWELL is the Simple Windows Emulation Layer and is exposed by REAPER for Linux"] # [doc = r" and Mac OS X."] # [doc = r""] # [doc = r" See [`Reaper`] for details how to use this struct (it's very similar)."] # [doc = r""] # [doc = r" [`Reaper`]: struct.Reaper.html"] # [derive (Copy , Clone , Debug , Default)] pub struct Swell { pub (crate) pointers : SwellFunctionPointers , pub (crate) plugin_context : Option < PluginContext > , } impl Swell { # [doc = r" Loads all available SWELL functions from the given plug-in context."] # [doc = r""] # [doc = r" Returns a `Swell` instance which allows you to call these functions."] # [doc = r""] # [doc = r" On Windows, this function will not load any function pointers because"] # [doc = r" the methods in this struct delegate to the corresponding Windows functions."] # [doc = r""] # [doc = r" # Panics"] # [doc = r""] # [doc = r" If this is Linux and the SWELL function provider is not available, this"] # [doc = r" function panics."] pub fn load (plugin_context : PluginContext) -> Swell { # [cfg (target_family = "windows")] { Swell { pointers : Default :: default () , plugin_context : Some (plugin_context) } } # [cfg (target_family = "unix")] { let mut loaded_count = 0 ; let get_func = plugin_context . swell_function_provider () . expect ("SWELL function provider not available") ; let mut pointers = unsafe { SwellFunctionPointers { loaded_count : 0 , lstrcpyn : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (lstrcpyn)) . as_ptr ())) , MulDiv : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (MulDiv)) . as_ptr ())) , Sleep : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (Sleep)) . as_ptr ())) , GetTickCount : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetTickCount)) . as_ptr ())) , GetFileTime : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetFileTime)) . as_ptr ())) , WritePrivateProfileString : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (WritePrivateProfileString)) . as_ptr ())) , GetPrivateProfileString : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetPrivateProfileString)) . as_ptr ())) , GetPrivateProfileInt : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetPrivateProfileInt)) . as_ptr ())) , GetPrivateProfileStruct : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetPrivateProfileStruct)) . as_ptr ())) , WritePrivateProfileStruct : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (WritePrivateProfileStruct)) . as_ptr ())) , WritePrivateProfileSection : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (WritePrivateProfileSection)) . as_ptr ())) , GetPrivateProfileSection : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetPrivateProfileSection)) . as_ptr ())) , GetModuleFileName : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetModuleFileName)) . as_ptr ())) , SWELL_PtInRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_PtInRect)) . as_ptr ())) , ShellExecute : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ShellExecute)) . as_ptr ())) , MessageBox : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (MessageBox)) . as_ptr ())) , BrowseForFiles : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (BrowseForFiles)) . as_ptr ())) , BrowseForSaveFile : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (BrowseForSaveFile)) . as_ptr ())) , BrowseForDirectory : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (BrowseForDirectory)) . as_ptr ())) , BrowseFile_SetTemplate : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (BrowseFile_SetTemplate)) . as_ptr ())) , GetDlgItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetDlgItem)) . as_ptr ())) , ShowWindow : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ShowWindow)) . as_ptr ())) , DestroyWindow : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (DestroyWindow)) . as_ptr ())) , SWELL_GetGestureInfo : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetGestureInfo)) . as_ptr ())) , SWELL_HideApp : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_HideApp)) . as_ptr ())) , SetDlgItemText : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetDlgItemText)) . as_ptr ())) , SetDlgItemInt : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetDlgItemInt)) . as_ptr ())) , GetDlgItemInt : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetDlgItemInt)) . as_ptr ())) , GetDlgItemText : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetDlgItemText)) . as_ptr ())) , GetWindowTextLength : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetWindowTextLength)) . as_ptr ())) , CheckDlgButton : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CheckDlgButton)) . as_ptr ())) , IsDlgButtonChecked : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (IsDlgButtonChecked)) . as_ptr ())) , EnableWindow : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (EnableWindow)) . as_ptr ())) , SetFocus : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetFocus)) . as_ptr ())) , GetFocus : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetFocus)) . as_ptr ())) , SetForegroundWindow : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetForegroundWindow)) . as_ptr ())) , GetForegroundWindow : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetForegroundWindow)) . as_ptr ())) , SetCapture : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetCapture)) . as_ptr ())) , GetCapture : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetCapture)) . as_ptr ())) , ReleaseCapture : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ReleaseCapture)) . as_ptr ())) , IsChild : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (IsChild)) . as_ptr ())) , GetParent : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetParent)) . as_ptr ())) , SetParent : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetParent)) . as_ptr ())) , GetWindow : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetWindow)) . as_ptr ())) , EnumWindows : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (EnumWindows)) . as_ptr ())) , FindWindowEx : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (FindWindowEx)) . as_ptr ())) , ClientToScreen : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ClientToScreen)) . as_ptr ())) , ScreenToClient : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ScreenToClient)) . as_ptr ())) , GetWindowRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetWindowRect)) . as_ptr ())) , GetWindowContentViewRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetWindowContentViewRect)) . as_ptr ())) , GetClientRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetClientRect)) . as_ptr ())) , WindowFromPoint : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (WindowFromPoint)) . as_ptr ())) , WinOffsetRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (WinOffsetRect)) . as_ptr ())) , WinSetRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (WinSetRect)) . as_ptr ())) , WinUnionRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (WinUnionRect)) . as_ptr ())) , WinIntersectRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (WinIntersectRect)) . as_ptr ())) , SetWindowPos : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetWindowPos)) . as_ptr ())) , SWELL_SetWindowLevel : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_SetWindowLevel)) . as_ptr ())) , InvalidateRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (InvalidateRect)) . as_ptr ())) , UpdateWindow : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (UpdateWindow)) . as_ptr ())) , GetWindowLong : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetWindowLong)) . as_ptr ())) , SetWindowLong : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetWindowLong)) . as_ptr ())) , ScrollWindow : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ScrollWindow)) . as_ptr ())) , EnumPropsEx : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (EnumPropsEx)) . as_ptr ())) , GetProp : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetProp)) . as_ptr ())) , SetProp : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetProp)) . as_ptr ())) , RemoveProp : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (RemoveProp)) . as_ptr ())) , IsWindowVisible : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (IsWindowVisible)) . as_ptr ())) , IsWindow : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (IsWindow)) . as_ptr ())) , SetTimer : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetTimer)) . as_ptr ())) , KillTimer : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (KillTimer)) . as_ptr ())) , ListView_SetExtendedListViewStyleEx : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SetExtendedListViewStyleEx)) . as_ptr ())) , ListView_InsertColumn : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_InsertColumn)) . as_ptr ())) , ListView_DeleteColumn : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_DeleteColumn)) . as_ptr ())) , ListView_SetColumn : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SetColumn)) . as_ptr ())) , ListView_GetColumnWidth : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_GetColumnWidth)) . as_ptr ())) , ListView_InsertItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_InsertItem)) . as_ptr ())) , ListView_SetItemText : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SetItemText)) . as_ptr ())) , ListView_SetItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SetItem)) . as_ptr ())) , ListView_GetNextItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_GetNextItem)) . as_ptr ())) , ListView_GetItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_GetItem)) . as_ptr ())) , ListView_GetItemState : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_GetItemState)) . as_ptr ())) , ListView_DeleteItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_DeleteItem)) . as_ptr ())) , ListView_DeleteAllItems : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_DeleteAllItems)) . as_ptr ())) , ListView_GetSelectedCount : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_GetSelectedCount)) . as_ptr ())) , ListView_GetItemCount : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_GetItemCount)) . as_ptr ())) , ListView_GetSelectionMark : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_GetSelectionMark)) . as_ptr ())) , ListView_SetColumnWidth : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SetColumnWidth)) . as_ptr ())) , ListView_SetItemState : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SetItemState)) . as_ptr ())) , ListView_RedrawItems : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_RedrawItems)) . as_ptr ())) , ListView_SetItemCount : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SetItemCount)) . as_ptr ())) , ListView_EnsureVisible : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_EnsureVisible)) . as_ptr ())) , ListView_SetImageList : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SetImageList)) . as_ptr ())) , ListView_SubItemHitTest : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SubItemHitTest)) . as_ptr ())) , ListView_GetItemText : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_GetItemText)) . as_ptr ())) , ListView_SortItems : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SortItems)) . as_ptr ())) , ListView_Scroll : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_Scroll)) . as_ptr ())) , ListView_GetTopIndex : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_GetTopIndex)) . as_ptr ())) , ListView_GetCountPerPage : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_GetCountPerPage)) . as_ptr ())) , ListView_SetColumnOrderArray : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SetColumnOrderArray)) . as_ptr ())) , ListView_GetColumnOrderArray : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_GetColumnOrderArray)) . as_ptr ())) , ListView_GetHeader : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_GetHeader)) . as_ptr ())) , Header_GetItemCount : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (Header_GetItemCount)) . as_ptr ())) , Header_GetItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (Header_GetItem)) . as_ptr ())) , Header_SetItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (Header_SetItem)) . as_ptr ())) , ListView_GetItemRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_GetItemRect)) . as_ptr ())) , ListView_GetSubItemRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_GetSubItemRect)) . as_ptr ())) , ListView_HitTest : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_HitTest)) . as_ptr ())) , SWELL_GetListViewHeaderHeight : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetListViewHeaderHeight)) . as_ptr ())) , ImageList_CreateEx : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ImageList_CreateEx)) . as_ptr ())) , ImageList_Remove : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ImageList_Remove)) . as_ptr ())) , ImageList_ReplaceIcon : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ImageList_ReplaceIcon)) . as_ptr ())) , ImageList_Add : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ImageList_Add)) . as_ptr ())) , ImageList_Destroy : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ImageList_Destroy)) . as_ptr ())) , TabCtrl_GetItemCount : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TabCtrl_GetItemCount)) . as_ptr ())) , TabCtrl_DeleteItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TabCtrl_DeleteItem)) . as_ptr ())) , TabCtrl_InsertItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TabCtrl_InsertItem)) . as_ptr ())) , TabCtrl_SetCurSel : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TabCtrl_SetCurSel)) . as_ptr ())) , TabCtrl_GetCurSel : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TabCtrl_GetCurSel)) . as_ptr ())) , TabCtrl_AdjustRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TabCtrl_AdjustRect)) . as_ptr ())) , TreeView_InsertItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_InsertItem)) . as_ptr ())) , TreeView_Expand : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_Expand)) . as_ptr ())) , TreeView_GetSelection : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_GetSelection)) . as_ptr ())) , TreeView_DeleteItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_DeleteItem)) . as_ptr ())) , TreeView_DeleteAllItems : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_DeleteAllItems)) . as_ptr ())) , TreeView_SelectItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_SelectItem)) . as_ptr ())) , TreeView_EnsureVisible : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_EnsureVisible)) . as_ptr ())) , TreeView_GetItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_GetItem)) . as_ptr ())) , TreeView_SetItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_SetItem)) . as_ptr ())) , TreeView_HitTest : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_HitTest)) . as_ptr ())) , TreeView_SetIndent : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_SetIndent)) . as_ptr ())) , TreeView_GetParent : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_GetParent)) . as_ptr ())) , TreeView_GetChild : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_GetChild)) . as_ptr ())) , TreeView_GetNextSibling : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_GetNextSibling)) . as_ptr ())) , TreeView_GetRoot : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_GetRoot)) . as_ptr ())) , TreeView_SetBkColor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_SetBkColor)) . as_ptr ())) , TreeView_SetTextColor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TreeView_SetTextColor)) . as_ptr ())) , ListView_SetBkColor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SetBkColor)) . as_ptr ())) , ListView_SetTextBkColor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SetTextBkColor)) . as_ptr ())) , ListView_SetTextColor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SetTextColor)) . as_ptr ())) , ListView_SetGridColor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SetGridColor)) . as_ptr ())) , ListView_SetSelColors : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ListView_SetSelColors)) . as_ptr ())) , SWELL_ModalWindowStart : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_ModalWindowStart)) . as_ptr ())) , SWELL_ModalWindowRun : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_ModalWindowRun)) . as_ptr ())) , SWELL_ModalWindowEnd : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_ModalWindowEnd)) . as_ptr ())) , SWELL_CloseWindow : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_CloseWindow)) . as_ptr ())) , CreatePopupMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CreatePopupMenu)) . as_ptr ())) , CreatePopupMenuEx : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CreatePopupMenuEx)) . as_ptr ())) , DestroyMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (DestroyMenu)) . as_ptr ())) , AddMenuItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (AddMenuItem)) . as_ptr ())) , GetSubMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetSubMenu)) . as_ptr ())) , GetMenuItemCount : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetMenuItemCount)) . as_ptr ())) , GetMenuItemID : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetMenuItemID)) . as_ptr ())) , SetMenuItemModifier : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetMenuItemModifier)) . as_ptr ())) , SetMenuItemText : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetMenuItemText)) . as_ptr ())) , EnableMenuItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (EnableMenuItem)) . as_ptr ())) , DeleteMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (DeleteMenu)) . as_ptr ())) , CheckMenuItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CheckMenuItem)) . as_ptr ())) , InsertMenuItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (InsertMenuItem)) . as_ptr ())) , SWELL_InsertMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_InsertMenu)) . as_ptr ())) , GetMenuItemInfo : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetMenuItemInfo)) . as_ptr ())) , SetMenuItemInfo : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetMenuItemInfo)) . as_ptr ())) , DrawMenuBar : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (DrawMenuBar)) . as_ptr ())) , SWELL_LoadMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_LoadMenu)) . as_ptr ())) , TrackPopupMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (TrackPopupMenu)) . as_ptr ())) , SWELL_SetMenuDestination : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_SetMenuDestination)) . as_ptr ())) , SWELL_DuplicateMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_DuplicateMenu)) . as_ptr ())) , SetMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetMenu)) . as_ptr ())) , GetMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetMenu)) . as_ptr ())) , SWELL_GetDefaultWindowMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetDefaultWindowMenu)) . as_ptr ())) , SWELL_SetDefaultWindowMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_SetDefaultWindowMenu)) . as_ptr ())) , SWELL_GetDefaultModalWindowMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetDefaultModalWindowMenu)) . as_ptr ())) , SWELL_SetDefaultModalWindowMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_SetDefaultModalWindowMenu)) . as_ptr ())) , SWELL_GetCurrentMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetCurrentMenu)) . as_ptr ())) , SWELL_SetCurrentMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_SetCurrentMenu)) . as_ptr ())) , SWELL_DialogBox : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_DialogBox)) . as_ptr ())) , SWELL_CreateDialog : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_CreateDialog)) . as_ptr ())) , SWELL_RegisterCustomControlCreator : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_RegisterCustomControlCreator)) . as_ptr ())) , SWELL_UnregisterCustomControlCreator : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_UnregisterCustomControlCreator)) . as_ptr ())) , DefWindowProc : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (DefWindowProc)) . as_ptr ())) , EndDialog : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (EndDialog)) . as_ptr ())) , SWELL_GetDefaultButtonID : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetDefaultButtonID)) . as_ptr ())) , SendMessage : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SendMessage)) . as_ptr ())) , SWELL_BroadcastMessage : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_BroadcastMessage)) . as_ptr ())) , PostMessage : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (PostMessage)) . as_ptr ())) , SWELL_MessageQueue_Flush : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_MessageQueue_Flush)) . as_ptr ())) , SWELL_MessageQueue_Clear : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_MessageQueue_Clear)) . as_ptr ())) , SWELL_KeyToASCII : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_KeyToASCII)) . as_ptr ())) , GetAsyncKeyState : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetAsyncKeyState)) . as_ptr ())) , GetCursorPos : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetCursorPos)) . as_ptr ())) , GetMessagePos : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetMessagePos)) . as_ptr ())) , SWELL_LoadCursor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_LoadCursor)) . as_ptr ())) , SWELL_SetCursor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_SetCursor)) . as_ptr ())) , SWELL_EnableRightClickEmulate : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_EnableRightClickEmulate)) . as_ptr ())) , SWELL_GetCursor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetCursor)) . as_ptr ())) , SWELL_GetLastSetCursor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetLastSetCursor)) . as_ptr ())) , SWELL_IsCursorVisible : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_IsCursorVisible)) . as_ptr ())) , SWELL_ShowCursor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_ShowCursor)) . as_ptr ())) , SWELL_SetCursorPos : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_SetCursorPos)) . as_ptr ())) , SWELL_GetViewPort : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetViewPort)) . as_ptr ())) , OpenClipboard : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (OpenClipboard)) . as_ptr ())) , CloseClipboard : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CloseClipboard)) . as_ptr ())) , GetClipboardData : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetClipboardData)) . as_ptr ())) , EmptyClipboard : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (EmptyClipboard)) . as_ptr ())) , SetClipboardData : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetClipboardData)) . as_ptr ())) , RegisterClipboardFormat : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (RegisterClipboardFormat)) . as_ptr ())) , EnumClipboardFormats : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (EnumClipboardFormats)) . as_ptr ())) , GlobalAlloc : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GlobalAlloc)) . as_ptr ())) , GlobalLock : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GlobalLock)) . as_ptr ())) , GlobalSize : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GlobalSize)) . as_ptr ())) , GlobalUnlock : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GlobalUnlock)) . as_ptr ())) , GlobalFree : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GlobalFree)) . as_ptr ())) , CreateThread : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CreateThread)) . as_ptr ())) , CreateEvent : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CreateEvent)) . as_ptr ())) , CreateEventAsSocket : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CreateEventAsSocket)) . as_ptr ())) , GetCurrentThreadId : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetCurrentThreadId)) . as_ptr ())) , WaitForSingleObject : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (WaitForSingleObject)) . as_ptr ())) , WaitForAnySocketObject : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (WaitForAnySocketObject)) . as_ptr ())) , CloseHandle : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CloseHandle)) . as_ptr ())) , SetThreadPriority : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetThreadPriority)) . as_ptr ())) , SetEvent : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetEvent)) . as_ptr ())) , ResetEvent : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ResetEvent)) . as_ptr ())) , SWELL_CreateProcessFromPID : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_CreateProcessFromPID)) . as_ptr ())) , SWELL_CreateProcess : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_CreateProcess)) . as_ptr ())) , SWELL_GetProcessExitCode : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetProcessExitCode)) . as_ptr ())) , LoadLibraryGlobals : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (LoadLibraryGlobals)) . as_ptr ())) , LoadLibrary : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (LoadLibrary)) . as_ptr ())) , GetProcAddress : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetProcAddress)) . as_ptr ())) , FreeLibrary : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (FreeLibrary)) . as_ptr ())) , SWELL_GetBundle : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetBundle)) . as_ptr ())) , SWELL_CreateMemContext : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_CreateMemContext)) . as_ptr ())) , SWELL_DeleteGfxContext : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_DeleteGfxContext)) . as_ptr ())) , SWELL_GetCtxGC : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetCtxGC)) . as_ptr ())) , SWELL_GetCtxFrameBuffer : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetCtxFrameBuffer)) . as_ptr ())) , SWELL_PushClipRegion : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_PushClipRegion)) . as_ptr ())) , SWELL_SetClipRegion : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_SetClipRegion)) . as_ptr ())) , SWELL_PopClipRegion : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_PopClipRegion)) . as_ptr ())) , CreateFontIndirect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CreateFontIndirect)) . as_ptr ())) , CreateFont : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CreateFont)) . as_ptr ())) , CreatePen : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CreatePen)) . as_ptr ())) , CreateSolidBrush : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CreateSolidBrush)) . as_ptr ())) , CreatePenAlpha : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CreatePenAlpha)) . as_ptr ())) , CreateSolidBrushAlpha : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CreateSolidBrushAlpha)) . as_ptr ())) , SelectObject : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SelectObject)) . as_ptr ())) , GetStockObject : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetStockObject)) . as_ptr ())) , DeleteObject : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (DeleteObject)) . as_ptr ())) , SWELL_FillRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_FillRect)) . as_ptr ())) , Rectangle : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (Rectangle)) . as_ptr ())) , Ellipse : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (Ellipse)) . as_ptr ())) , SWELL_Polygon : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_Polygon)) . as_ptr ())) , MoveToEx : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (MoveToEx)) . as_ptr ())) , SWELL_LineTo : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_LineTo)) . as_ptr ())) , SWELL_SetPixel : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_SetPixel)) . as_ptr ())) , PolyBezierTo : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (PolyBezierTo)) . as_ptr ())) , SWELL_DrawText : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_DrawText)) . as_ptr ())) , SetTextColor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetTextColor)) . as_ptr ())) , GetTextColor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetTextColor)) . as_ptr ())) , SetBkColor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetBkColor)) . as_ptr ())) , SetBkMode : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetBkMode)) . as_ptr ())) , GetGlyphIndicesW : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetGlyphIndicesW)) . as_ptr ())) , RoundRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (RoundRect)) . as_ptr ())) , PolyPolyline : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (PolyPolyline)) . as_ptr ())) , GetTextMetrics : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetTextMetrics)) . as_ptr ())) , GetTextFace : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetTextFace)) . as_ptr ())) , GetObject : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetObject)) . as_ptr ())) , CreateIconIndirect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CreateIconIndirect)) . as_ptr ())) , LoadNamedImage : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (LoadNamedImage)) . as_ptr ())) , DrawImageInRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (DrawImageInRect)) . as_ptr ())) , BitBlt : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (BitBlt)) . as_ptr ())) , StretchBlt : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (StretchBlt)) . as_ptr ())) , StretchBltFromMem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (StretchBltFromMem)) . as_ptr ())) , SWELL_GetScaling256 : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetScaling256)) . as_ptr ())) , SWELL_ExtendedAPI : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_ExtendedAPI)) . as_ptr ())) , GetSysColor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetSysColor)) . as_ptr ())) , CreateBitmap : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (CreateBitmap)) . as_ptr ())) , SetOpaque : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetOpaque)) . as_ptr ())) , SetAllowNoMiddleManRendering : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SetAllowNoMiddleManRendering)) . as_ptr ())) , SWELL_SetViewGL : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_SetViewGL)) . as_ptr ())) , SWELL_GetViewGL : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetViewGL)) . as_ptr ())) , SWELL_SetGLContextToView : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_SetGLContextToView)) . as_ptr ())) , BeginPaint : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (BeginPaint)) . as_ptr ())) , EndPaint : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (EndPaint)) . as_ptr ())) , GetDC : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetDC)) . as_ptr ())) , GetWindowDC : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetWindowDC)) . as_ptr ())) , ReleaseDC : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (ReleaseDC)) . as_ptr ())) , SWELL_FillDialogBackground : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_FillDialogBackground)) . as_ptr ())) , SWELL_CloneGDIObject : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_CloneGDIObject)) . as_ptr ())) , GetSystemMetrics : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetSystemMetrics)) . as_ptr ())) , DragQueryPoint : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (DragQueryPoint)) . as_ptr ())) , DragFinish : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (DragFinish)) . as_ptr ())) , DragQueryFile : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (DragQueryFile)) . as_ptr ())) , SWELL_InitiateDragDrop : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_InitiateDragDrop)) . as_ptr ())) , SWELL_InitiateDragDropOfFileList : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_InitiateDragDropOfFileList)) . as_ptr ())) , SWELL_FinishDragDrop : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_FinishDragDrop)) . as_ptr ())) , SWELL_DrawFocusRect : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_DrawFocusRect)) . as_ptr ())) , SWELL_MakeSetCurParms : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_MakeSetCurParms)) . as_ptr ())) , SWELL_MakeButton : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_MakeButton)) . as_ptr ())) , SWELL_MakeEditField : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_MakeEditField)) . as_ptr ())) , SWELL_MakeLabel : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_MakeLabel)) . as_ptr ())) , SWELL_MakeControl : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_MakeControl)) . as_ptr ())) , SWELL_MakeCombo : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_MakeCombo)) . as_ptr ())) , SWELL_MakeGroupBox : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_MakeGroupBox)) . as_ptr ())) , SWELL_MakeCheckBox : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_MakeCheckBox)) . as_ptr ())) , SWELL_MakeListBox : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_MakeListBox)) . as_ptr ())) , SWELL_Menu_AddMenuItem : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_Menu_AddMenuItem)) . as_ptr ())) , SWELL_GenerateMenuFromList : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GenerateMenuFromList)) . as_ptr ())) , SWELL_GenerateDialogFromList : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GenerateDialogFromList)) . as_ptr ())) , _controlfp : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (_controlfp)) . as_ptr ())) , SWELL_Internal_PostMessage_Init : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_Internal_PostMessage_Init)) . as_ptr ())) , SWELL_LoadCursorFromFile : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_LoadCursorFromFile)) . as_ptr ())) , SWELL_SetWindowWantRaiseAmt : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_SetWindowWantRaiseAmt)) . as_ptr ())) , SWELL_GetWindowWantRaiseAmt : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetWindowWantRaiseAmt)) . as_ptr ())) , SWELL_SetListViewFastClickMask : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_SetListViewFastClickMask)) . as_ptr ())) , GetTempPath : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetTempPath)) . as_ptr ())) , SWELL_initargs : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_initargs)) . as_ptr ())) , SWELL_RunMessageLoop : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_RunMessageLoop)) . as_ptr ())) , SWELL_CreateXBridgeWindow : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_CreateXBridgeWindow)) . as_ptr ())) , SWELL_GetOSWindow : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetOSWindow)) . as_ptr ())) , SWELL_GetOSEvent : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetOSEvent)) . as_ptr ())) , SWELL_GenerateGUID : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GenerateGUID)) . as_ptr ())) , EnumChildWindows : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (EnumChildWindows)) . as_ptr ())) , SWELL_IsGroupBox : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_IsGroupBox)) . as_ptr ())) , SWELL_IsButton : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_IsButton)) . as_ptr ())) , SWELL_IsStaticText : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_IsStaticText)) . as_ptr ())) , SWELL_GetDesiredControlSize : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_GetDesiredControlSize)) . as_ptr ())) , AddFontResourceEx : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (AddFontResourceEx)) . as_ptr ())) , SWELL_Register_Cursor_Resource : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_Register_Cursor_Resource)) . as_ptr ())) , SWELL_ChooseColor : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_ChooseColor)) . as_ptr ())) , SWELL_ChooseFont : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_ChooseFont)) . as_ptr ())) , IsWindowEnabled : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (IsWindowEnabled)) . as_ptr ())) , GetClassName : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetClassName)) . as_ptr ())) , SWELL_SetClassName : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_SetClassName)) . as_ptr ())) , SWELL_DisableContextMenu : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_DisableContextMenu)) . as_ptr ())) , EnumDisplayMonitors : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (EnumDisplayMonitors)) . as_ptr ())) , GetMonitorInfo : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (GetMonitorInfo)) . as_ptr ())) , SWELL_osx_is_dark_mode : std :: mem :: transmute (get_func (c_str_macro :: c_str ! (stringify ! (SWELL_osx_is_dark_mode)) . as_ptr ())) , } } ; if pointers . lstrcpyn . is_some () { loaded_count += 1 ; } if pointers . MulDiv . is_some () { loaded_count += 1 ; } if pointers . Sleep . is_some () { loaded_count += 1 ; } if pointers . GetTickCount . is_some () { loaded_count += 1 ; } if pointers . GetFileTime . is_some () { loaded_count += 1 ; } if pointers . WritePrivateProfileString . is_some () { loaded_count += 1 ; } if pointers . GetPrivateProfileString . is_some () { loaded_count += 1 ; } if pointers . GetPrivateProfileInt . is_some () { loaded_count += 1 ; } if pointers . GetPrivateProfileStruct . is_some () { loaded_count += 1 ; } if pointers . WritePrivateProfileStruct . is_some () { loaded_count += 1 ; } if pointers . WritePrivateProfileSection . is_some () { loaded_count += 1 ; } if pointers . GetPrivateProfileSection . is_some () { loaded_count += 1 ; } if pointers . GetModuleFileName . is_some () { loaded_count += 1 ; } if pointers . SWELL_PtInRect . is_some () { loaded_count += 1 ; } if pointers . ShellExecute . is_some () { loaded_count += 1 ; } if pointers . MessageBox . is_some () { loaded_count += 1 ; } if pointers . BrowseForFiles . is_some () { loaded_count += 1 ; } if pointers . BrowseForSaveFile . is_some () { loaded_count += 1 ; } if pointers . BrowseForDirectory . is_some () { loaded_count += 1 ; } if pointers . BrowseFile_SetTemplate . is_some () { loaded_count += 1 ; } if pointers . GetDlgItem . is_some () { loaded_count += 1 ; } if pointers . ShowWindow . is_some () { loaded_count += 1 ; } if pointers . DestroyWindow . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetGestureInfo . is_some () { loaded_count += 1 ; } if pointers . SWELL_HideApp . is_some () { loaded_count += 1 ; } if pointers . SetDlgItemText . is_some () { loaded_count += 1 ; } if pointers . SetDlgItemInt . is_some () { loaded_count += 1 ; } if pointers . GetDlgItemInt . is_some () { loaded_count += 1 ; } if pointers . GetDlgItemText . is_some () { loaded_count += 1 ; } if pointers . GetWindowTextLength . is_some () { loaded_count += 1 ; } if pointers . CheckDlgButton . is_some () { loaded_count += 1 ; } if pointers . IsDlgButtonChecked . is_some () { loaded_count += 1 ; } if pointers . EnableWindow . is_some () { loaded_count += 1 ; } if pointers . SetFocus . is_some () { loaded_count += 1 ; } if pointers . GetFocus . is_some () { loaded_count += 1 ; } if pointers . SetForegroundWindow . is_some () { loaded_count += 1 ; } if pointers . GetForegroundWindow . is_some () { loaded_count += 1 ; } if pointers . SetCapture . is_some () { loaded_count += 1 ; } if pointers . GetCapture . is_some () { loaded_count += 1 ; } if pointers . ReleaseCapture . is_some () { loaded_count += 1 ; } if pointers . IsChild . is_some () { loaded_count += 1 ; } if pointers . GetParent . is_some () { loaded_count += 1 ; } if pointers . SetParent . is_some () { loaded_count += 1 ; } if pointers . GetWindow . is_some () { loaded_count += 1 ; } if pointers . EnumWindows . is_some () { loaded_count += 1 ; } if pointers . FindWindowEx . is_some () { loaded_count += 1 ; } if pointers . ClientToScreen . is_some () { loaded_count += 1 ; } if pointers . ScreenToClient . is_some () { loaded_count += 1 ; } if pointers . GetWindowRect . is_some () { loaded_count += 1 ; } if pointers . GetWindowContentViewRect . is_some () { loaded_count += 1 ; } if pointers . GetClientRect . is_some () { loaded_count += 1 ; } if pointers . WindowFromPoint . is_some () { loaded_count += 1 ; } if pointers . WinOffsetRect . is_some () { loaded_count += 1 ; } if pointers . WinSetRect . is_some () { loaded_count += 1 ; } if pointers . WinUnionRect . is_some () { loaded_count += 1 ; } if pointers . WinIntersectRect . is_some () { loaded_count += 1 ; } if pointers . SetWindowPos . is_some () { loaded_count += 1 ; } if pointers . SWELL_SetWindowLevel . is_some () { loaded_count += 1 ; } if pointers . InvalidateRect . is_some () { loaded_count += 1 ; } if pointers . UpdateWindow . is_some () { loaded_count += 1 ; } if pointers . GetWindowLong . is_some () { loaded_count += 1 ; } if pointers . SetWindowLong . is_some () { loaded_count += 1 ; } if pointers . ScrollWindow . is_some () { loaded_count += 1 ; } if pointers . EnumPropsEx . is_some () { loaded_count += 1 ; } if pointers . GetProp . is_some () { loaded_count += 1 ; } if pointers . SetProp . is_some () { loaded_count += 1 ; } if pointers . RemoveProp . is_some () { loaded_count += 1 ; } if pointers . IsWindowVisible . is_some () { loaded_count += 1 ; } if pointers . IsWindow . is_some () { loaded_count += 1 ; } if pointers . SetTimer . is_some () { loaded_count += 1 ; } if pointers . KillTimer . is_some () { loaded_count += 1 ; } if pointers . ListView_SetExtendedListViewStyleEx . is_some () { loaded_count += 1 ; } if pointers . ListView_InsertColumn . is_some () { loaded_count += 1 ; } if pointers . ListView_DeleteColumn . is_some () { loaded_count += 1 ; } if pointers . ListView_SetColumn . is_some () { loaded_count += 1 ; } if pointers . ListView_GetColumnWidth . is_some () { loaded_count += 1 ; } if pointers . ListView_InsertItem . is_some () { loaded_count += 1 ; } if pointers . ListView_SetItemText . is_some () { loaded_count += 1 ; } if pointers . ListView_SetItem . is_some () { loaded_count += 1 ; } if pointers . ListView_GetNextItem . is_some () { loaded_count += 1 ; } if pointers . ListView_GetItem . is_some () { loaded_count += 1 ; } if pointers . ListView_GetItemState . is_some () { loaded_count += 1 ; } if pointers . ListView_DeleteItem . is_some () { loaded_count += 1 ; } if pointers . ListView_DeleteAllItems . is_some () { loaded_count += 1 ; } if pointers . ListView_GetSelectedCount . is_some () { loaded_count += 1 ; } if pointers . ListView_GetItemCount . is_some () { loaded_count += 1 ; } if pointers . ListView_GetSelectionMark . is_some () { loaded_count += 1 ; } if pointers . ListView_SetColumnWidth . is_some () { loaded_count += 1 ; } if pointers . ListView_SetItemState . is_some () { loaded_count += 1 ; } if pointers . ListView_RedrawItems . is_some () { loaded_count += 1 ; } if pointers . ListView_SetItemCount . is_some () { loaded_count += 1 ; } if pointers . ListView_EnsureVisible . is_some () { loaded_count += 1 ; } if pointers . ListView_SetImageList . is_some () { loaded_count += 1 ; } if pointers . ListView_SubItemHitTest . is_some () { loaded_count += 1 ; } if pointers . ListView_GetItemText . is_some () { loaded_count += 1 ; } if pointers . ListView_SortItems . is_some () { loaded_count += 1 ; } if pointers . ListView_Scroll . is_some () { loaded_count += 1 ; } if pointers . ListView_GetTopIndex . is_some () { loaded_count += 1 ; } if pointers . ListView_GetCountPerPage . is_some () { loaded_count += 1 ; } if pointers . ListView_SetColumnOrderArray . is_some () { loaded_count += 1 ; } if pointers . ListView_GetColumnOrderArray . is_some () { loaded_count += 1 ; } if pointers . ListView_GetHeader . is_some () { loaded_count += 1 ; } if pointers . Header_GetItemCount . is_some () { loaded_count += 1 ; } if pointers . Header_GetItem . is_some () { loaded_count += 1 ; } if pointers . Header_SetItem . is_some () { loaded_count += 1 ; } if pointers . ListView_GetItemRect . is_some () { loaded_count += 1 ; } if pointers . ListView_GetSubItemRect . is_some () { loaded_count += 1 ; } if pointers . ListView_HitTest . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetListViewHeaderHeight . is_some () { loaded_count += 1 ; } if pointers . ImageList_CreateEx . is_some () { loaded_count += 1 ; } if pointers . ImageList_Remove . is_some () { loaded_count += 1 ; } if pointers . ImageList_ReplaceIcon . is_some () { loaded_count += 1 ; } if pointers . ImageList_Add . is_some () { loaded_count += 1 ; } if pointers . ImageList_Destroy . is_some () { loaded_count += 1 ; } if pointers . TabCtrl_GetItemCount . is_some () { loaded_count += 1 ; } if pointers . TabCtrl_DeleteItem . is_some () { loaded_count += 1 ; } if pointers . TabCtrl_InsertItem . is_some () { loaded_count += 1 ; } if pointers . TabCtrl_SetCurSel . is_some () { loaded_count += 1 ; } if pointers . TabCtrl_GetCurSel . is_some () { loaded_count += 1 ; } if pointers . TabCtrl_AdjustRect . is_some () { loaded_count += 1 ; } if pointers . TreeView_InsertItem . is_some () { loaded_count += 1 ; } if pointers . TreeView_Expand . is_some () { loaded_count += 1 ; } if pointers . TreeView_GetSelection . is_some () { loaded_count += 1 ; } if pointers . TreeView_DeleteItem . is_some () { loaded_count += 1 ; } if pointers . TreeView_DeleteAllItems . is_some () { loaded_count += 1 ; } if pointers . TreeView_SelectItem . is_some () { loaded_count += 1 ; } if pointers . TreeView_EnsureVisible . is_some () { loaded_count += 1 ; } if pointers . TreeView_GetItem . is_some () { loaded_count += 1 ; } if pointers . TreeView_SetItem . is_some () { loaded_count += 1 ; } if pointers . TreeView_HitTest . is_some () { loaded_count += 1 ; } if pointers . TreeView_SetIndent . is_some () { loaded_count += 1 ; } if pointers . TreeView_GetParent . is_some () { loaded_count += 1 ; } if pointers . TreeView_GetChild . is_some () { loaded_count += 1 ; } if pointers . TreeView_GetNextSibling . is_some () { loaded_count += 1 ; } if pointers . TreeView_GetRoot . is_some () { loaded_count += 1 ; } if pointers . TreeView_SetBkColor . is_some () { loaded_count += 1 ; } if pointers . TreeView_SetTextColor . is_some () { loaded_count += 1 ; } if pointers . ListView_SetBkColor . is_some () { loaded_count += 1 ; } if pointers . ListView_SetTextBkColor . is_some () { loaded_count += 1 ; } if pointers . ListView_SetTextColor . is_some () { loaded_count += 1 ; } if pointers . ListView_SetGridColor . is_some () { loaded_count += 1 ; } if pointers . ListView_SetSelColors . is_some () { loaded_count += 1 ; } if pointers . SWELL_ModalWindowStart . is_some () { loaded_count += 1 ; } if pointers . SWELL_ModalWindowRun . is_some () { loaded_count += 1 ; } if pointers . SWELL_ModalWindowEnd . is_some () { loaded_count += 1 ; } if pointers . SWELL_CloseWindow . is_some () { loaded_count += 1 ; } if pointers . CreatePopupMenu . is_some () { loaded_count += 1 ; } if pointers . CreatePopupMenuEx . is_some () { loaded_count += 1 ; } if pointers . DestroyMenu . is_some () { loaded_count += 1 ; } if pointers . AddMenuItem . is_some () { loaded_count += 1 ; } if pointers . GetSubMenu . is_some () { loaded_count += 1 ; } if pointers . GetMenuItemCount . is_some () { loaded_count += 1 ; } if pointers . GetMenuItemID . is_some () { loaded_count += 1 ; } if pointers . SetMenuItemModifier . is_some () { loaded_count += 1 ; } if pointers . SetMenuItemText . is_some () { loaded_count += 1 ; } if pointers . EnableMenuItem . is_some () { loaded_count += 1 ; } if pointers . DeleteMenu . is_some () { loaded_count += 1 ; } if pointers . CheckMenuItem . is_some () { loaded_count += 1 ; } if pointers . InsertMenuItem . is_some () { loaded_count += 1 ; } if pointers . SWELL_InsertMenu . is_some () { loaded_count += 1 ; } if pointers . GetMenuItemInfo . is_some () { loaded_count += 1 ; } if pointers . SetMenuItemInfo . is_some () { loaded_count += 1 ; } if pointers . DrawMenuBar . is_some () { loaded_count += 1 ; } if pointers . SWELL_LoadMenu . is_some () { loaded_count += 1 ; } if pointers . TrackPopupMenu . is_some () { loaded_count += 1 ; } if pointers . SWELL_SetMenuDestination . is_some () { loaded_count += 1 ; } if pointers . SWELL_DuplicateMenu . is_some () { loaded_count += 1 ; } if pointers . SetMenu . is_some () { loaded_count += 1 ; } if pointers . GetMenu . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetDefaultWindowMenu . is_some () { loaded_count += 1 ; } if pointers . SWELL_SetDefaultWindowMenu . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetDefaultModalWindowMenu . is_some () { loaded_count += 1 ; } if pointers . SWELL_SetDefaultModalWindowMenu . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetCurrentMenu . is_some () { loaded_count += 1 ; } if pointers . SWELL_SetCurrentMenu . is_some () { loaded_count += 1 ; } if pointers . SWELL_DialogBox . is_some () { loaded_count += 1 ; } if pointers . SWELL_CreateDialog . is_some () { loaded_count += 1 ; } if pointers . SWELL_RegisterCustomControlCreator . is_some () { loaded_count += 1 ; } if pointers . SWELL_UnregisterCustomControlCreator . is_some () { loaded_count += 1 ; } if pointers . DefWindowProc . is_some () { loaded_count += 1 ; } if pointers . EndDialog . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetDefaultButtonID . is_some () { loaded_count += 1 ; } if pointers . SendMessage . is_some () { loaded_count += 1 ; } if pointers . SWELL_BroadcastMessage . is_some () { loaded_count += 1 ; } if pointers . PostMessage . is_some () { loaded_count += 1 ; } if pointers . SWELL_MessageQueue_Flush . is_some () { loaded_count += 1 ; } if pointers . SWELL_MessageQueue_Clear . is_some () { loaded_count += 1 ; } if pointers . SWELL_KeyToASCII . is_some () { loaded_count += 1 ; } if pointers . GetAsyncKeyState . is_some () { loaded_count += 1 ; } if pointers . GetCursorPos . is_some () { loaded_count += 1 ; } if pointers . GetMessagePos . is_some () { loaded_count += 1 ; } if pointers . SWELL_LoadCursor . is_some () { loaded_count += 1 ; } if pointers . SWELL_SetCursor . is_some () { loaded_count += 1 ; } if pointers . SWELL_EnableRightClickEmulate . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetCursor . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetLastSetCursor . is_some () { loaded_count += 1 ; } if pointers . SWELL_IsCursorVisible . is_some () { loaded_count += 1 ; } if pointers . SWELL_ShowCursor . is_some () { loaded_count += 1 ; } if pointers . SWELL_SetCursorPos . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetViewPort . is_some () { loaded_count += 1 ; } if pointers . OpenClipboard . is_some () { loaded_count += 1 ; } if pointers . CloseClipboard . is_some () { loaded_count += 1 ; } if pointers . GetClipboardData . is_some () { loaded_count += 1 ; } if pointers . EmptyClipboard . is_some () { loaded_count += 1 ; } if pointers . SetClipboardData . is_some () { loaded_count += 1 ; } if pointers . RegisterClipboardFormat . is_some () { loaded_count += 1 ; } if pointers . EnumClipboardFormats . is_some () { loaded_count += 1 ; } if pointers . GlobalAlloc . is_some () { loaded_count += 1 ; } if pointers . GlobalLock . is_some () { loaded_count += 1 ; } if pointers . GlobalSize . is_some () { loaded_count += 1 ; } if pointers . GlobalUnlock . is_some () { loaded_count += 1 ; } if pointers . GlobalFree . is_some () { loaded_count += 1 ; } if pointers . CreateThread . is_some () { loaded_count += 1 ; } if pointers . CreateEvent . is_some () { loaded_count += 1 ; } if pointers . CreateEventAsSocket . is_some () { loaded_count += 1 ; } if pointers . GetCurrentThreadId . is_some () { loaded_count += 1 ; } if pointers . WaitForSingleObject . is_some () { loaded_count += 1 ; } if pointers . WaitForAnySocketObject . is_some () { loaded_count += 1 ; } if pointers . CloseHandle . is_some () { loaded_count += 1 ; } if pointers . SetThreadPriority . is_some () { loaded_count += 1 ; } if pointers . SetEvent . is_some () { loaded_count += 1 ; } if pointers . ResetEvent . is_some () { loaded_count += 1 ; } if pointers . SWELL_CreateProcessFromPID . is_some () { loaded_count += 1 ; } if pointers . SWELL_CreateProcess . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetProcessExitCode . is_some () { loaded_count += 1 ; } if pointers . LoadLibraryGlobals . is_some () { loaded_count += 1 ; } if pointers . LoadLibrary . is_some () { loaded_count += 1 ; } if pointers . GetProcAddress . is_some () { loaded_count += 1 ; } if pointers . FreeLibrary . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetBundle . is_some () { loaded_count += 1 ; } if pointers . SWELL_CreateMemContext . is_some () { loaded_count += 1 ; } if pointers . SWELL_DeleteGfxContext . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetCtxGC . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetCtxFrameBuffer . is_some () { loaded_count += 1 ; } if pointers . SWELL_PushClipRegion . is_some () { loaded_count += 1 ; } if pointers . SWELL_SetClipRegion . is_some () { loaded_count += 1 ; } if pointers . SWELL_PopClipRegion . is_some () { loaded_count += 1 ; } if pointers . CreateFontIndirect . is_some () { loaded_count += 1 ; } if pointers . CreateFont . is_some () { loaded_count += 1 ; } if pointers . CreatePen . is_some () { loaded_count += 1 ; } if pointers . CreateSolidBrush . is_some () { loaded_count += 1 ; } if pointers . CreatePenAlpha . is_some () { loaded_count += 1 ; } if pointers . CreateSolidBrushAlpha . is_some () { loaded_count += 1 ; } if pointers . SelectObject . is_some () { loaded_count += 1 ; } if pointers . GetStockObject . is_some () { loaded_count += 1 ; } if pointers . DeleteObject . is_some () { loaded_count += 1 ; } if pointers . SWELL_FillRect . is_some () { loaded_count += 1 ; } if pointers . Rectangle . is_some () { loaded_count += 1 ; } if pointers . Ellipse . is_some () { loaded_count += 1 ; } if pointers . SWELL_Polygon . is_some () { loaded_count += 1 ; } if pointers . MoveToEx . is_some () { loaded_count += 1 ; } if pointers . SWELL_LineTo . is_some () { loaded_count += 1 ; } if pointers . SWELL_SetPixel . is_some () { loaded_count += 1 ; } if pointers . PolyBezierTo . is_some () { loaded_count += 1 ; } if pointers . SWELL_DrawText . is_some () { loaded_count += 1 ; } if pointers . SetTextColor . is_some () { loaded_count += 1 ; } if pointers . GetTextColor . is_some () { loaded_count += 1 ; } if pointers . SetBkColor . is_some () { loaded_count += 1 ; } if pointers . SetBkMode . is_some () { loaded_count += 1 ; } if pointers . GetGlyphIndicesW . is_some () { loaded_count += 1 ; } if pointers . RoundRect . is_some () { loaded_count += 1 ; } if pointers . PolyPolyline . is_some () { loaded_count += 1 ; } if pointers . GetTextMetrics . is_some () { loaded_count += 1 ; } if pointers . GetTextFace . is_some () { loaded_count += 1 ; } if pointers . GetObject . is_some () { loaded_count += 1 ; } if pointers . CreateIconIndirect . is_some () { loaded_count += 1 ; } if pointers . LoadNamedImage . is_some () { loaded_count += 1 ; } if pointers . DrawImageInRect . is_some () { loaded_count += 1 ; } if pointers . BitBlt . is_some () { loaded_count += 1 ; } if pointers . StretchBlt . is_some () { loaded_count += 1 ; } if pointers . StretchBltFromMem . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetScaling256 . is_some () { loaded_count += 1 ; } if pointers . SWELL_ExtendedAPI . is_some () { loaded_count += 1 ; } if pointers . GetSysColor . is_some () { loaded_count += 1 ; } if pointers . CreateBitmap . is_some () { loaded_count += 1 ; } if pointers . SetOpaque . is_some () { loaded_count += 1 ; } if pointers . SetAllowNoMiddleManRendering . is_some () { loaded_count += 1 ; } if pointers . SWELL_SetViewGL . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetViewGL . is_some () { loaded_count += 1 ; } if pointers . SWELL_SetGLContextToView . is_some () { loaded_count += 1 ; } if pointers . BeginPaint . is_some () { loaded_count += 1 ; } if pointers . EndPaint . is_some () { loaded_count += 1 ; } if pointers . GetDC . is_some () { loaded_count += 1 ; } if pointers . GetWindowDC . is_some () { loaded_count += 1 ; } if pointers . ReleaseDC . is_some () { loaded_count += 1 ; } if pointers . SWELL_FillDialogBackground . is_some () { loaded_count += 1 ; } if pointers . SWELL_CloneGDIObject . is_some () { loaded_count += 1 ; } if pointers . GetSystemMetrics . is_some () { loaded_count += 1 ; } if pointers . DragQueryPoint . is_some () { loaded_count += 1 ; } if pointers . DragFinish . is_some () { loaded_count += 1 ; } if pointers . DragQueryFile . is_some () { loaded_count += 1 ; } if pointers . SWELL_InitiateDragDrop . is_some () { loaded_count += 1 ; } if pointers . SWELL_InitiateDragDropOfFileList . is_some () { loaded_count += 1 ; } if pointers . SWELL_FinishDragDrop . is_some () { loaded_count += 1 ; } if pointers . SWELL_DrawFocusRect . is_some () { loaded_count += 1 ; } if pointers . SWELL_MakeSetCurParms . is_some () { loaded_count += 1 ; } if pointers . SWELL_MakeButton . is_some () { loaded_count += 1 ; } if pointers . SWELL_MakeEditField . is_some () { loaded_count += 1 ; } if pointers . SWELL_MakeLabel . is_some () { loaded_count += 1 ; } if pointers . SWELL_MakeControl . is_some () { loaded_count += 1 ; } if pointers . SWELL_MakeCombo . is_some () { loaded_count += 1 ; } if pointers . SWELL_MakeGroupBox . is_some () { loaded_count += 1 ; } if pointers . SWELL_MakeCheckBox . is_some () { loaded_count += 1 ; } if pointers . SWELL_MakeListBox . is_some () { loaded_count += 1 ; } if pointers . SWELL_Menu_AddMenuItem . is_some () { loaded_count += 1 ; } if pointers . SWELL_GenerateMenuFromList . is_some () { loaded_count += 1 ; } if pointers . SWELL_GenerateDialogFromList . is_some () { loaded_count += 1 ; } if pointers . _controlfp . is_some () { loaded_count += 1 ; } if pointers . SWELL_Internal_PostMessage_Init . is_some () { loaded_count += 1 ; } if pointers . SWELL_LoadCursorFromFile . is_some () { loaded_count += 1 ; } if pointers . SWELL_SetWindowWantRaiseAmt . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetWindowWantRaiseAmt . is_some () { loaded_count += 1 ; } if pointers . SWELL_SetListViewFastClickMask . is_some () { loaded_count += 1 ; } if pointers . GetTempPath . is_some () { loaded_count += 1 ; } if pointers . SWELL_initargs . is_some () { loaded_count += 1 ; } if pointers . SWELL_RunMessageLoop . is_some () { loaded_count += 1 ; } if pointers . SWELL_CreateXBridgeWindow . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetOSWindow . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetOSEvent . is_some () { loaded_count += 1 ; } if pointers . SWELL_GenerateGUID . is_some () { loaded_count += 1 ; } if pointers . EnumChildWindows . is_some () { loaded_count += 1 ; } if pointers . SWELL_IsGroupBox . is_some () { loaded_count += 1 ; } if pointers . SWELL_IsButton . is_some () { loaded_count += 1 ; } if pointers . SWELL_IsStaticText . is_some () { loaded_count += 1 ; } if pointers . SWELL_GetDesiredControlSize . is_some () { loaded_count += 1 ; } if pointers . AddFontResourceEx . is_some () { loaded_count += 1 ; } if pointers . SWELL_Register_Cursor_Resource . is_some () { loaded_count += 1 ; } if pointers . SWELL_ChooseColor . is_some () { loaded_count += 1 ; } if pointers . SWELL_ChooseFont . is_some () { loaded_count += 1 ; } if pointers . IsWindowEnabled . is_some () { loaded_count += 1 ; } if pointers . GetClassName . is_some () { loaded_count += 1 ; } if pointers . SWELL_SetClassName . is_some () { loaded_count += 1 ; } if pointers . SWELL_DisableContextMenu . is_some () { loaded_count += 1 ; } if pointers . EnumDisplayMonitors . is_some () { loaded_count += 1 ; } if pointers . GetMonitorInfo . is_some () { loaded_count += 1 ; } if pointers . SWELL_osx_is_dark_mode . is_some () { loaded_count += 1 ; } pointers . loaded_count = loaded_count ; Swell { pointers , plugin_context : Some (plugin_context) } } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn lstrcpyn (& self , dest : * mut :: std :: os :: raw :: c_char , src : * const :: std :: os :: raw :: c_char , l : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char { match self . pointers . lstrcpyn { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (lstrcpyn)) , Some (f) => f (dest , src , l) , } } # [cfg (target_family = "unix")] pub fn MulDiv (& self , arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . MulDiv { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MulDiv)) , Some (f) => f (arg1 , arg2 , arg3) , } } # [cfg (target_family = "unix")] pub fn Sleep (& self , ms : :: std :: os :: raw :: c_int) { match self . pointers . Sleep { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Sleep)) , Some (f) => f (ms) , } } # [cfg (target_family = "unix")] pub fn GetTickCount (& self) -> root :: DWORD { match self . pointers . GetTickCount { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTickCount)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetFileTime (& self , filedes : :: std :: os :: raw :: c_int , lpCreationTime : * mut root :: FILETIME , lpLastAccessTime : * mut root :: FILETIME , lpLastWriteTime : * mut root :: FILETIME) -> root :: BOOL { match self . pointers . GetFileTime { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetFileTime)) , Some (f) => f (filedes , lpCreationTime , lpLastAccessTime , lpLastWriteTime) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn WritePrivateProfileString (& self , appname : * const :: std :: os :: raw :: c_char , keyname : * const :: std :: os :: raw :: c_char , val : * const :: std :: os :: raw :: c_char , fn_ : * const :: std :: os :: raw :: c_char) -> root :: BOOL { match self . pointers . WritePrivateProfileString { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (WritePrivateProfileString)) , Some (f) => f (appname , keyname , val , fn_) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetPrivateProfileString (& self , appname : * const :: std :: os :: raw :: c_char , keyname : * const :: std :: os :: raw :: c_char , def : * const :: std :: os :: raw :: c_char , ret : * mut :: std :: os :: raw :: c_char , retsize : :: std :: os :: raw :: c_int , fn_ : * const :: std :: os :: raw :: c_char) -> root :: DWORD { match self . pointers . GetPrivateProfileString { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPrivateProfileString)) , Some (f) => f (appname , keyname , def , ret , retsize , fn_) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetPrivateProfileInt (& self , appname : * const :: std :: os :: raw :: c_char , keyname : * const :: std :: os :: raw :: c_char , def : :: std :: os :: raw :: c_int , fn_ : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { match self . pointers . GetPrivateProfileInt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPrivateProfileInt)) , Some (f) => f (appname , keyname , def , fn_) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetPrivateProfileStruct (& self , appname : * const :: std :: os :: raw :: c_char , keyname : * const :: std :: os :: raw :: c_char , buf : * mut :: std :: os :: raw :: c_void , bufsz : :: std :: os :: raw :: c_int , fn_ : * const :: std :: os :: raw :: c_char) -> root :: BOOL { match self . pointers . GetPrivateProfileStruct { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPrivateProfileStruct)) , Some (f) => f (appname , keyname , buf , bufsz , fn_) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn WritePrivateProfileStruct (& self , appname : * const :: std :: os :: raw :: c_char , keyname : * const :: std :: os :: raw :: c_char , buf : * const :: std :: os :: raw :: c_void , bufsz : :: std :: os :: raw :: c_int , fn_ : * const :: std :: os :: raw :: c_char) -> root :: BOOL { match self . pointers . WritePrivateProfileStruct { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (WritePrivateProfileStruct)) , Some (f) => f (appname , keyname , buf , bufsz , fn_) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn WritePrivateProfileSection (& self , appname : * const :: std :: os :: raw :: c_char , strings : * const :: std :: os :: raw :: c_char , fn_ : * const :: std :: os :: raw :: c_char) -> root :: BOOL { match self . pointers . WritePrivateProfileSection { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (WritePrivateProfileSection)) , Some (f) => f (appname , strings , fn_) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetPrivateProfileSection (& self , appname : * const :: std :: os :: raw :: c_char , strout : * mut :: std :: os :: raw :: c_char , strout_len : root :: DWORD , fn_ : * const :: std :: os :: raw :: c_char) -> root :: DWORD { match self . pointers . GetPrivateProfileSection { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetPrivateProfileSection)) , Some (f) => f (appname , strout , strout_len , fn_) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetModuleFileName (& self , hInst : root :: HINSTANCE , fn_ : * mut :: std :: os :: raw :: c_char , nSize : root :: DWORD) -> root :: DWORD { match self . pointers . GetModuleFileName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetModuleFileName)) , Some (f) => f (hInst , fn_ , nSize) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_PtInRect (& self , r : * const root :: RECT , p : root :: POINT) -> root :: BOOL { match self . pointers . SWELL_PtInRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_PtInRect)) , Some (f) => f (r , p) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ShellExecute (& self , hwndDlg : root :: HWND , action : * const :: std :: os :: raw :: c_char , content1 : * const :: std :: os :: raw :: c_char , content2 : * const :: std :: os :: raw :: c_char , content3 : * const :: std :: os :: raw :: c_char , blah : :: std :: os :: raw :: c_int) -> root :: BOOL { match self . pointers . ShellExecute { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ShellExecute)) , Some (f) => f (hwndDlg , action , content1 , content2 , content3 , blah) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MessageBox (& self , hwndParent : root :: HWND , text : * const :: std :: os :: raw :: c_char , caption : * const :: std :: os :: raw :: c_char , type_ : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . MessageBox { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MessageBox)) , Some (f) => f (hwndParent , text , caption , type_) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn BrowseForFiles (& self , text : * const :: std :: os :: raw :: c_char , initialdir : * const :: std :: os :: raw :: c_char , initialfile : * const :: std :: os :: raw :: c_char , allowmul : bool , extlist : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_char { match self . pointers . BrowseForFiles { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (BrowseForFiles)) , Some (f) => f (text , initialdir , initialfile , allowmul , extlist) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn BrowseForSaveFile (& self , text : * const :: std :: os :: raw :: c_char , initialdir : * const :: std :: os :: raw :: c_char , initialfile : * const :: std :: os :: raw :: c_char , extlist : * const :: std :: os :: raw :: c_char , fn_ : * mut :: std :: os :: raw :: c_char , fnsize : :: std :: os :: raw :: c_int) -> bool { match self . pointers . BrowseForSaveFile { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (BrowseForSaveFile)) , Some (f) => f (text , initialdir , initialfile , extlist , fn_ , fnsize) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn BrowseForDirectory (& self , text : * const :: std :: os :: raw :: c_char , initialdir : * const :: std :: os :: raw :: c_char , fn_ : * mut :: std :: os :: raw :: c_char , fnsize : :: std :: os :: raw :: c_int) -> bool { match self . pointers . BrowseForDirectory { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (BrowseForDirectory)) , Some (f) => f (text , initialdir , fn_ , fnsize) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn BrowseFile_SetTemplate (& self , dlgid : * const :: std :: os :: raw :: c_char , dlgProc : root :: DLGPROC , reshead : * mut root :: SWELL_DialogResourceIndex) { match self . pointers . BrowseFile_SetTemplate { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (BrowseFile_SetTemplate)) , Some (f) => f (dlgid , dlgProc , reshead) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetDlgItem (& self , arg1 : root :: HWND , arg2 : :: std :: os :: raw :: c_int) -> root :: HWND { match self . pointers . GetDlgItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetDlgItem)) , Some (f) => f (arg1 , arg2) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ShowWindow (& self , arg1 : root :: HWND , arg2 : :: std :: os :: raw :: c_int) { match self . pointers . ShowWindow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ShowWindow)) , Some (f) => f (arg1 , arg2) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DestroyWindow (& self , hwnd : root :: HWND) { match self . pointers . DestroyWindow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DestroyWindow)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GetGestureInfo (& self , lParam : root :: LPARAM , gi : * mut root :: GESTUREINFO) -> root :: BOOL { match self . pointers . SWELL_GetGestureInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetGestureInfo)) , Some (f) => f (lParam , gi) , } } # [cfg (target_family = "unix")] pub fn SWELL_HideApp (& self) { match self . pointers . SWELL_HideApp { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_HideApp)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetDlgItemText (& self , arg1 : root :: HWND , idx : :: std :: os :: raw :: c_int , text : * const :: std :: os :: raw :: c_char) -> root :: BOOL { match self . pointers . SetDlgItemText { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetDlgItemText)) , Some (f) => f (arg1 , idx , text) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetDlgItemInt (& self , arg1 : root :: HWND , idx : :: std :: os :: raw :: c_int , val : :: std :: os :: raw :: c_int , issigned : :: std :: os :: raw :: c_int) -> root :: BOOL { match self . pointers . SetDlgItemInt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetDlgItemInt)) , Some (f) => f (arg1 , idx , val , issigned) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetDlgItemInt (& self , arg1 : root :: HWND , idx : :: std :: os :: raw :: c_int , translated : * mut root :: BOOL , issigned : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetDlgItemInt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetDlgItemInt)) , Some (f) => f (arg1 , idx , translated , issigned) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetDlgItemText (& self , arg1 : root :: HWND , idx : :: std :: os :: raw :: c_int , text : * mut :: std :: os :: raw :: c_char , textlen : :: std :: os :: raw :: c_int) -> root :: BOOL { match self . pointers . GetDlgItemText { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetDlgItemText)) , Some (f) => f (arg1 , idx , text , textlen) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetWindowTextLength (& self , arg1 : root :: HWND) -> :: std :: os :: raw :: c_int { match self . pointers . GetWindowTextLength { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetWindowTextLength)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CheckDlgButton (& self , hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int , check : :: std :: os :: raw :: c_int) { match self . pointers . CheckDlgButton { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CheckDlgButton)) , Some (f) => f (hwnd , idx , check) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsDlgButtonChecked (& self , hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . IsDlgButtonChecked { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (IsDlgButtonChecked)) , Some (f) => f (hwnd , idx) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnableWindow (& self , hwnd : root :: HWND , enable : :: std :: os :: raw :: c_int) { match self . pointers . EnableWindow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnableWindow)) , Some (f) => f (hwnd , enable) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetFocus (& self , hwnd : root :: HWND) { match self . pointers . SetFocus { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetFocus)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] pub fn GetFocus (& self) -> root :: HWND { match self . pointers . GetFocus { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetFocus)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetForegroundWindow (& self , hwnd : root :: HWND) { match self . pointers . SetForegroundWindow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetForegroundWindow)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] pub fn GetForegroundWindow (& self) -> root :: HWND { match self . pointers . GetForegroundWindow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetForegroundWindow)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetCapture (& self , hwnd : root :: HWND) -> root :: HWND { match self . pointers . SetCapture { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetCapture)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] pub fn GetCapture (& self) -> root :: HWND { match self . pointers . GetCapture { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetCapture)) , Some (f) => f () , } } # [cfg (target_family = "unix")] pub fn ReleaseCapture (& self) { match self . pointers . ReleaseCapture { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ReleaseCapture)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsChild (& self , hwndParent : root :: HWND , hwndChild : root :: HWND) -> :: std :: os :: raw :: c_int { match self . pointers . IsChild { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (IsChild)) , Some (f) => f (hwndParent , hwndChild) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetParent (& self , hwnd : root :: HWND) -> root :: HWND { match self . pointers . GetParent { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetParent)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetParent (& self , hwnd : root :: HWND , newPar : root :: HWND) -> root :: HWND { match self . pointers . SetParent { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetParent)) , Some (f) => f (hwnd , newPar) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetWindow (& self , hwnd : root :: HWND , what : :: std :: os :: raw :: c_int) -> root :: HWND { match self . pointers . GetWindow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetWindow)) , Some (f) => f (hwnd , what) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumWindows (& self , proc_ : :: std :: option :: Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : root :: LPARAM) -> root :: BOOL , > , lp : root :: LPARAM) -> root :: BOOL { match self . pointers . EnumWindows { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumWindows)) , Some (f) => f (proc_ , lp) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn FindWindowEx (& self , par : root :: HWND , lastw : root :: HWND , classname : * const :: std :: os :: raw :: c_char , title : * const :: std :: os :: raw :: c_char) -> root :: HWND { match self . pointers . FindWindowEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (FindWindowEx)) , Some (f) => f (par , lastw , classname , title) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ClientToScreen (& self , hwnd : root :: HWND , p : * mut root :: POINT) { match self . pointers . ClientToScreen { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ClientToScreen)) , Some (f) => f (hwnd , p) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ScreenToClient (& self , hwnd : root :: HWND , p : * mut root :: POINT) { match self . pointers . ScreenToClient { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ScreenToClient)) , Some (f) => f (hwnd , p) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetWindowRect (& self , hwnd : root :: HWND , r : * mut root :: RECT) -> bool { match self . pointers . GetWindowRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetWindowRect)) , Some (f) => f (hwnd , r) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetWindowContentViewRect (& self , hwnd : root :: HWND , r : * mut root :: RECT) { match self . pointers . GetWindowContentViewRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetWindowContentViewRect)) , Some (f) => f (hwnd , r) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetClientRect (& self , hwnd : root :: HWND , r : * mut root :: RECT) { match self . pointers . GetClientRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetClientRect)) , Some (f) => f (hwnd , r) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn WindowFromPoint (& self , p : root :: POINT) -> root :: HWND { match self . pointers . WindowFromPoint { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (WindowFromPoint)) , Some (f) => f (p) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn WinOffsetRect (& self , lprc : root :: LPRECT , dx : :: std :: os :: raw :: c_int , dy : :: std :: os :: raw :: c_int) -> root :: BOOL { match self . pointers . WinOffsetRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (WinOffsetRect)) , Some (f) => f (lprc , dx , dy) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn WinSetRect (& self , lprc : root :: LPRECT , xLeft : :: std :: os :: raw :: c_int , yTop : :: std :: os :: raw :: c_int , xRight : :: std :: os :: raw :: c_int , yBottom : :: std :: os :: raw :: c_int) -> root :: BOOL { match self . pointers . WinSetRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (WinSetRect)) , Some (f) => f (lprc , xLeft , yTop , xRight , yBottom) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn WinUnionRect (& self , out : * mut root :: RECT , in1 : * const root :: RECT , in2 : * const root :: RECT) { match self . pointers . WinUnionRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (WinUnionRect)) , Some (f) => f (out , in1 , in2) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn WinIntersectRect (& self , out : * mut root :: RECT , in1 : * const root :: RECT , in2 : * const root :: RECT) -> :: std :: os :: raw :: c_int { match self . pointers . WinIntersectRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (WinIntersectRect)) , Some (f) => f (out , in1 , in2) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetWindowPos (& self , hwnd : root :: HWND , unused : root :: HWND , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , cx : :: std :: os :: raw :: c_int , cy : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) { match self . pointers . SetWindowPos { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetWindowPos)) , Some (f) => f (hwnd , unused , x , y , cx , cy , flags) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_SetWindowLevel (& self , hwnd : root :: HWND , newlevel : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . SWELL_SetWindowLevel { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_SetWindowLevel)) , Some (f) => f (hwnd , newlevel) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn InvalidateRect (& self , hwnd : root :: HWND , r : * const root :: RECT , eraseBk : :: std :: os :: raw :: c_int) -> root :: BOOL { match self . pointers . InvalidateRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (InvalidateRect)) , Some (f) => f (hwnd , r , eraseBk) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn UpdateWindow (& self , hwnd : root :: HWND) { match self . pointers . UpdateWindow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (UpdateWindow)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetWindowLong (& self , hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int) -> root :: LONG_PTR { match self . pointers . GetWindowLong { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetWindowLong)) , Some (f) => f (hwnd , idx) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetWindowLong (& self , hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int , val : root :: LONG_PTR) -> root :: LONG_PTR { match self . pointers . SetWindowLong { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetWindowLong)) , Some (f) => f (hwnd , idx , val) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ScrollWindow (& self , hwnd : root :: HWND , xamt : :: std :: os :: raw :: c_int , yamt : :: std :: os :: raw :: c_int , lpRect : * const root :: RECT , lpClipRect : * const root :: RECT) -> root :: BOOL { match self . pointers . ScrollWindow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ScrollWindow)) , Some (f) => f (hwnd , xamt , yamt , lpRect , lpClipRect) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumPropsEx (& self , arg1 : root :: HWND , arg2 : root :: PROPENUMPROCEX , arg3 : root :: LPARAM) -> :: std :: os :: raw :: c_int { match self . pointers . EnumPropsEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumPropsEx)) , Some (f) => f (arg1 , arg2 , arg3) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetProp (& self , arg1 : root :: HWND , arg2 : * const :: std :: os :: raw :: c_char) -> root :: HANDLE { match self . pointers . GetProp { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetProp)) , Some (f) => f (arg1 , arg2) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetProp (& self , arg1 : root :: HWND , arg2 : * const :: std :: os :: raw :: c_char , arg3 : root :: HANDLE) -> root :: BOOL { match self . pointers . SetProp { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetProp)) , Some (f) => f (arg1 , arg2 , arg3) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn RemoveProp (& self , arg1 : root :: HWND , arg2 : * const :: std :: os :: raw :: c_char) -> root :: HANDLE { match self . pointers . RemoveProp { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (RemoveProp)) , Some (f) => f (arg1 , arg2) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsWindowVisible (& self , hwnd : root :: HWND) -> bool { match self . pointers . IsWindowVisible { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (IsWindowVisible)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsWindow (& self , hwnd : root :: HWND) -> bool { match self . pointers . IsWindow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (IsWindow)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTimer (& self , hwnd : root :: HWND , timerid : root :: UINT_PTR , rate : root :: UINT , tProc : root :: TIMERPROC) -> root :: UINT_PTR { match self . pointers . SetTimer { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTimer)) , Some (f) => f (hwnd , timerid , rate , tProc) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn KillTimer (& self , hwnd : root :: HWND , timerid : root :: UINT_PTR) -> root :: BOOL { match self . pointers . KillTimer { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (KillTimer)) , Some (f) => f (hwnd , timerid) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SetExtendedListViewStyleEx (& self , h : root :: HWND , mask : :: std :: os :: raw :: c_int , style : :: std :: os :: raw :: c_int) { match self . pointers . ListView_SetExtendedListViewStyleEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SetExtendedListViewStyleEx)) , Some (f) => f (h , mask , style) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_InsertColumn (& self , h : root :: HWND , pos : :: std :: os :: raw :: c_int , lvc : * const root :: LVCOLUMN) { match self . pointers . ListView_InsertColumn { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_InsertColumn)) , Some (f) => f (h , pos , lvc) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_DeleteColumn (& self , h : root :: HWND , pos : :: std :: os :: raw :: c_int) -> bool { match self . pointers . ListView_DeleteColumn { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_DeleteColumn)) , Some (f) => f (h , pos) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SetColumn (& self , h : root :: HWND , pos : :: std :: os :: raw :: c_int , lvc : * const root :: LVCOLUMN) { match self . pointers . ListView_SetColumn { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SetColumn)) , Some (f) => f (h , pos , lvc) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_GetColumnWidth (& self , h : root :: HWND , pos : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . ListView_GetColumnWidth { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_GetColumnWidth)) , Some (f) => f (h , pos) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_InsertItem (& self , h : root :: HWND , item : * const root :: LVITEM) -> :: std :: os :: raw :: c_int { match self . pointers . ListView_InsertItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_InsertItem)) , Some (f) => f (h , item) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SetItemText (& self , h : root :: HWND , ipos : :: std :: os :: raw :: c_int , cpos : :: std :: os :: raw :: c_int , txt : * const :: std :: os :: raw :: c_char) { match self . pointers . ListView_SetItemText { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SetItemText)) , Some (f) => f (h , ipos , cpos , txt) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SetItem (& self , h : root :: HWND , item : * mut root :: LVITEM) -> bool { match self . pointers . ListView_SetItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SetItem)) , Some (f) => f (h , item) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_GetNextItem (& self , h : root :: HWND , istart : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . ListView_GetNextItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_GetNextItem)) , Some (f) => f (h , istart , flags) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_GetItem (& self , h : root :: HWND , item : * mut root :: LVITEM) -> bool { match self . pointers . ListView_GetItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_GetItem)) , Some (f) => f (h , item) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_GetItemState (& self , h : root :: HWND , ipos : :: std :: os :: raw :: c_int , mask : root :: UINT) -> :: std :: os :: raw :: c_int { match self . pointers . ListView_GetItemState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_GetItemState)) , Some (f) => f (h , ipos , mask) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_DeleteItem (& self , h : root :: HWND , ipos : :: std :: os :: raw :: c_int) { match self . pointers . ListView_DeleteItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_DeleteItem)) , Some (f) => f (h , ipos) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_DeleteAllItems (& self , h : root :: HWND) { match self . pointers . ListView_DeleteAllItems { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_DeleteAllItems)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_GetSelectedCount (& self , h : root :: HWND) -> :: std :: os :: raw :: c_int { match self . pointers . ListView_GetSelectedCount { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_GetSelectedCount)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_GetItemCount (& self , h : root :: HWND) -> :: std :: os :: raw :: c_int { match self . pointers . ListView_GetItemCount { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_GetItemCount)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_GetSelectionMark (& self , h : root :: HWND) -> :: std :: os :: raw :: c_int { match self . pointers . ListView_GetSelectionMark { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_GetSelectionMark)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SetColumnWidth (& self , h : root :: HWND , colpos : :: std :: os :: raw :: c_int , wid : :: std :: os :: raw :: c_int) { match self . pointers . ListView_SetColumnWidth { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SetColumnWidth)) , Some (f) => f (h , colpos , wid) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SetItemState (& self , h : root :: HWND , item : :: std :: os :: raw :: c_int , state : root :: UINT , statemask : root :: UINT) -> bool { match self . pointers . ListView_SetItemState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SetItemState)) , Some (f) => f (h , item , state , statemask) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_RedrawItems (& self , h : root :: HWND , startitem : :: std :: os :: raw :: c_int , enditem : :: std :: os :: raw :: c_int) { match self . pointers . ListView_RedrawItems { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_RedrawItems)) , Some (f) => f (h , startitem , enditem) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SetItemCount (& self , h : root :: HWND , cnt : :: std :: os :: raw :: c_int) { match self . pointers . ListView_SetItemCount { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SetItemCount)) , Some (f) => f (h , cnt) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_EnsureVisible (& self , h : root :: HWND , i : :: std :: os :: raw :: c_int , pok : root :: BOOL) { match self . pointers . ListView_EnsureVisible { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_EnsureVisible)) , Some (f) => f (h , i , pok) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SetImageList (& self , h : root :: HWND , imagelist : root :: HIMAGELIST , which : :: std :: os :: raw :: c_int) { match self . pointers . ListView_SetImageList { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SetImageList)) , Some (f) => f (h , imagelist , which) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SubItemHitTest (& self , h : root :: HWND , pinf : * mut root :: LVHITTESTINFO) -> :: std :: os :: raw :: c_int { match self . pointers . ListView_SubItemHitTest { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SubItemHitTest)) , Some (f) => f (h , pinf) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_GetItemText (& self , hwnd : root :: HWND , item : :: std :: os :: raw :: c_int , subitem : :: std :: os :: raw :: c_int , text : * mut :: std :: os :: raw :: c_char , textmax : :: std :: os :: raw :: c_int) { match self . pointers . ListView_GetItemText { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_GetItemText)) , Some (f) => f (hwnd , item , subitem , text , textmax) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SortItems (& self , hwnd : root :: HWND , compf : root :: PFNLVCOMPARE , parm : root :: LPARAM) { match self . pointers . ListView_SortItems { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SortItems)) , Some (f) => f (hwnd , compf , parm) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_Scroll (& self , h : root :: HWND , xscroll : :: std :: os :: raw :: c_int , yscroll : :: std :: os :: raw :: c_int) -> bool { match self . pointers . ListView_Scroll { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_Scroll)) , Some (f) => f (h , xscroll , yscroll) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_GetTopIndex (& self , h : root :: HWND) -> :: std :: os :: raw :: c_int { match self . pointers . ListView_GetTopIndex { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_GetTopIndex)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_GetCountPerPage (& self , h : root :: HWND) -> :: std :: os :: raw :: c_int { match self . pointers . ListView_GetCountPerPage { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_GetCountPerPage)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SetColumnOrderArray (& self , h : root :: HWND , cnt : :: std :: os :: raw :: c_int , arr : * mut :: std :: os :: raw :: c_int) -> root :: BOOL { match self . pointers . ListView_SetColumnOrderArray { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SetColumnOrderArray)) , Some (f) => f (h , cnt , arr) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_GetColumnOrderArray (& self , h : root :: HWND , cnt : :: std :: os :: raw :: c_int , arr : * mut :: std :: os :: raw :: c_int) -> root :: BOOL { match self . pointers . ListView_GetColumnOrderArray { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_GetColumnOrderArray)) , Some (f) => f (h , cnt , arr) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_GetHeader (& self , h : root :: HWND) -> root :: HWND { match self . pointers . ListView_GetHeader { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_GetHeader)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Header_GetItemCount (& self , h : root :: HWND) -> :: std :: os :: raw :: c_int { match self . pointers . Header_GetItemCount { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Header_GetItemCount)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Header_GetItem (& self , h : root :: HWND , col : :: std :: os :: raw :: c_int , hi : * mut root :: HDITEM) -> root :: BOOL { match self . pointers . Header_GetItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Header_GetItem)) , Some (f) => f (h , col , hi) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Header_SetItem (& self , h : root :: HWND , col : :: std :: os :: raw :: c_int , hi : * mut root :: HDITEM) -> root :: BOOL { match self . pointers . Header_SetItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Header_SetItem)) , Some (f) => f (h , col , hi) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_GetItemRect (& self , h : root :: HWND , item : :: std :: os :: raw :: c_int , r : * mut root :: RECT , code : :: std :: os :: raw :: c_int) -> bool { match self . pointers . ListView_GetItemRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_GetItemRect)) , Some (f) => f (h , item , r , code) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_GetSubItemRect (& self , h : root :: HWND , item : :: std :: os :: raw :: c_int , subitem : :: std :: os :: raw :: c_int , code : :: std :: os :: raw :: c_int , r : * mut root :: RECT) -> bool { match self . pointers . ListView_GetSubItemRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_GetSubItemRect)) , Some (f) => f (h , item , subitem , code , r) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_HitTest (& self , h : root :: HWND , pinf : * mut root :: LVHITTESTINFO) -> :: std :: os :: raw :: c_int { match self . pointers . ListView_HitTest { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_HitTest)) , Some (f) => f (h , pinf) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GetListViewHeaderHeight (& self , h : root :: HWND) -> :: std :: os :: raw :: c_int { match self . pointers . SWELL_GetListViewHeaderHeight { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetListViewHeaderHeight)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] pub fn ImageList_CreateEx (& self) -> root :: HIMAGELIST { match self . pointers . ImageList_CreateEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ImageList_CreateEx)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ImageList_Remove (& self , list : root :: HIMAGELIST , idx : :: std :: os :: raw :: c_int) -> root :: BOOL { match self . pointers . ImageList_Remove { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ImageList_Remove)) , Some (f) => f (list , idx) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ImageList_ReplaceIcon (& self , list : root :: HIMAGELIST , offset : :: std :: os :: raw :: c_int , image : root :: HICON) -> :: std :: os :: raw :: c_int { match self . pointers . ImageList_ReplaceIcon { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ImageList_ReplaceIcon)) , Some (f) => f (list , offset , image) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ImageList_Add (& self , list : root :: HIMAGELIST , image : root :: HBITMAP , mask : root :: HBITMAP) -> :: std :: os :: raw :: c_int { match self . pointers . ImageList_Add { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ImageList_Add)) , Some (f) => f (list , image , mask) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ImageList_Destroy (& self , arg1 : root :: HIMAGELIST) { match self . pointers . ImageList_Destroy { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ImageList_Destroy)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TabCtrl_GetItemCount (& self , hwnd : root :: HWND) -> :: std :: os :: raw :: c_int { match self . pointers . TabCtrl_GetItemCount { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TabCtrl_GetItemCount)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TabCtrl_DeleteItem (& self , hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int) -> root :: BOOL { match self . pointers . TabCtrl_DeleteItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TabCtrl_DeleteItem)) , Some (f) => f (hwnd , idx) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TabCtrl_InsertItem (& self , hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int , item : * mut root :: TCITEM) -> :: std :: os :: raw :: c_int { match self . pointers . TabCtrl_InsertItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TabCtrl_InsertItem)) , Some (f) => f (hwnd , idx , item) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TabCtrl_SetCurSel (& self , hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . TabCtrl_SetCurSel { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TabCtrl_SetCurSel)) , Some (f) => f (hwnd , idx) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TabCtrl_GetCurSel (& self , hwnd : root :: HWND) -> :: std :: os :: raw :: c_int { match self . pointers . TabCtrl_GetCurSel { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TabCtrl_GetCurSel)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TabCtrl_AdjustRect (& self , hwnd : root :: HWND , fLarger : root :: BOOL , r : * mut root :: RECT) -> root :: BOOL { match self . pointers . TabCtrl_AdjustRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TabCtrl_AdjustRect)) , Some (f) => f (hwnd , fLarger , r) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_InsertItem (& self , hwnd : root :: HWND , ins : * mut root :: TV_INSERTSTRUCT) -> root :: HTREEITEM { match self . pointers . TreeView_InsertItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_InsertItem)) , Some (f) => f (hwnd , ins) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_Expand (& self , hwnd : root :: HWND , item : root :: HTREEITEM , flag : root :: UINT) -> root :: BOOL { match self . pointers . TreeView_Expand { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_Expand)) , Some (f) => f (hwnd , item , flag) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_GetSelection (& self , hwnd : root :: HWND) -> root :: HTREEITEM { match self . pointers . TreeView_GetSelection { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_GetSelection)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_DeleteItem (& self , hwnd : root :: HWND , item : root :: HTREEITEM) { match self . pointers . TreeView_DeleteItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_DeleteItem)) , Some (f) => f (hwnd , item) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_DeleteAllItems (& self , hwnd : root :: HWND) { match self . pointers . TreeView_DeleteAllItems { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_DeleteAllItems)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_SelectItem (& self , hwnd : root :: HWND , item : root :: HTREEITEM) { match self . pointers . TreeView_SelectItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_SelectItem)) , Some (f) => f (hwnd , item) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_EnsureVisible (& self , hwnd : root :: HWND , item : root :: HTREEITEM) { match self . pointers . TreeView_EnsureVisible { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_EnsureVisible)) , Some (f) => f (hwnd , item) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_GetItem (& self , hwnd : root :: HWND , pitem : root :: LPTVITEM) -> root :: BOOL { match self . pointers . TreeView_GetItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_GetItem)) , Some (f) => f (hwnd , pitem) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_SetItem (& self , hwnd : root :: HWND , pitem : root :: LPTVITEM) -> root :: BOOL { match self . pointers . TreeView_SetItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_SetItem)) , Some (f) => f (hwnd , pitem) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_HitTest (& self , hwnd : root :: HWND , hti : * mut root :: TVHITTESTINFO) -> root :: HTREEITEM { match self . pointers . TreeView_HitTest { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_HitTest)) , Some (f) => f (hwnd , hti) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_SetIndent (& self , hwnd : root :: HWND , indent : :: std :: os :: raw :: c_int) -> root :: BOOL { match self . pointers . TreeView_SetIndent { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_SetIndent)) , Some (f) => f (hwnd , indent) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_GetParent (& self , hwnd : root :: HWND , item : root :: HTREEITEM) -> root :: HTREEITEM { match self . pointers . TreeView_GetParent { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_GetParent)) , Some (f) => f (hwnd , item) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_GetChild (& self , hwnd : root :: HWND , item : root :: HTREEITEM) -> root :: HTREEITEM { match self . pointers . TreeView_GetChild { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_GetChild)) , Some (f) => f (hwnd , item) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_GetNextSibling (& self , hwnd : root :: HWND , item : root :: HTREEITEM) -> root :: HTREEITEM { match self . pointers . TreeView_GetNextSibling { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_GetNextSibling)) , Some (f) => f (hwnd , item) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_GetRoot (& self , hwnd : root :: HWND) -> root :: HTREEITEM { match self . pointers . TreeView_GetRoot { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_GetRoot)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_SetBkColor (& self , hwnd : root :: HWND , color : :: std :: os :: raw :: c_int) { match self . pointers . TreeView_SetBkColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_SetBkColor)) , Some (f) => f (hwnd , color) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TreeView_SetTextColor (& self , hwnd : root :: HWND , color : :: std :: os :: raw :: c_int) { match self . pointers . TreeView_SetTextColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TreeView_SetTextColor)) , Some (f) => f (hwnd , color) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SetBkColor (& self , hwnd : root :: HWND , color : :: std :: os :: raw :: c_int) { match self . pointers . ListView_SetBkColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SetBkColor)) , Some (f) => f (hwnd , color) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SetTextBkColor (& self , hwnd : root :: HWND , color : :: std :: os :: raw :: c_int) { match self . pointers . ListView_SetTextBkColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SetTextBkColor)) , Some (f) => f (hwnd , color) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SetTextColor (& self , hwnd : root :: HWND , color : :: std :: os :: raw :: c_int) { match self . pointers . ListView_SetTextColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SetTextColor)) , Some (f) => f (hwnd , color) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SetGridColor (& self , hwnd : root :: HWND , color : :: std :: os :: raw :: c_int) { match self . pointers . ListView_SetGridColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SetGridColor)) , Some (f) => f (hwnd , color) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ListView_SetSelColors (& self , hwnd : root :: HWND , colors : * mut :: std :: os :: raw :: c_int , ncolors : :: std :: os :: raw :: c_int) { match self . pointers . ListView_SetSelColors { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ListView_SetSelColors)) , Some (f) => f (hwnd , colors , ncolors) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_ModalWindowStart (& self , hwnd : root :: HWND) -> * mut :: std :: os :: raw :: c_void { match self . pointers . SWELL_ModalWindowStart { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_ModalWindowStart)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_ModalWindowRun (& self , ctx : * mut :: std :: os :: raw :: c_void , ret : * mut :: std :: os :: raw :: c_int) -> bool { match self . pointers . SWELL_ModalWindowRun { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_ModalWindowRun)) , Some (f) => f (ctx , ret) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_ModalWindowEnd (& self , ctx : * mut :: std :: os :: raw :: c_void) { match self . pointers . SWELL_ModalWindowEnd { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_ModalWindowEnd)) , Some (f) => f (ctx) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_CloseWindow (& self , hwnd : root :: HWND) { match self . pointers . SWELL_CloseWindow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_CloseWindow)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] pub fn CreatePopupMenu (& self) -> root :: HMENU { match self . pointers . CreatePopupMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreatePopupMenu)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CreatePopupMenuEx (& self , title : * const :: std :: os :: raw :: c_char) -> root :: HMENU { match self . pointers . CreatePopupMenuEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreatePopupMenuEx)) , Some (f) => f (title) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DestroyMenu (& self , hMenu : root :: HMENU) { match self . pointers . DestroyMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DestroyMenu)) , Some (f) => f (hMenu) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn AddMenuItem (& self , hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int , name : * const :: std :: os :: raw :: c_char , tagid : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . AddMenuItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AddMenuItem)) , Some (f) => f (hMenu , pos , name , tagid) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSubMenu (& self , hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int) -> root :: HMENU { match self . pointers . GetSubMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSubMenu)) , Some (f) => f (hMenu , pos) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMenuItemCount (& self , hMenu : root :: HMENU) -> :: std :: os :: raw :: c_int { match self . pointers . GetMenuItemCount { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMenuItemCount)) , Some (f) => f (hMenu) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMenuItemID (& self , hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetMenuItemID { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMenuItemID)) , Some (f) => f (hMenu , pos) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetMenuItemModifier (& self , hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int , code : :: std :: os :: raw :: c_int , mask : :: std :: os :: raw :: c_uint) -> bool { match self . pointers . SetMenuItemModifier { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetMenuItemModifier)) , Some (f) => f (hMenu , idx , flag , code , mask) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetMenuItemText (& self , hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int , text : * const :: std :: os :: raw :: c_char) -> bool { match self . pointers . SetMenuItemText { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetMenuItemText)) , Some (f) => f (hMenu , idx , flag , text) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnableMenuItem (& self , hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , en : :: std :: os :: raw :: c_int) -> bool { match self . pointers . EnableMenuItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnableMenuItem)) , Some (f) => f (hMenu , idx , en) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteMenu (& self , hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int) -> bool { match self . pointers . DeleteMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DeleteMenu)) , Some (f) => f (hMenu , idx , flag) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CheckMenuItem (& self , hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , chk : :: std :: os :: raw :: c_int) -> bool { match self . pointers . CheckMenuItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CheckMenuItem)) , Some (f) => f (hMenu , idx , chk) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn InsertMenuItem (& self , hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int , byPos : root :: BOOL , mi : * mut root :: MENUITEMINFO) { match self . pointers . InsertMenuItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (InsertMenuItem)) , Some (f) => f (hMenu , pos , byPos , mi) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_InsertMenu (& self , menu : root :: HMENU , pos : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_uint , idx : root :: UINT_PTR , str : * const :: std :: os :: raw :: c_char) { match self . pointers . SWELL_InsertMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_InsertMenu)) , Some (f) => f (menu , pos , flag , idx , str) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMenuItemInfo (& self , hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int , byPos : root :: BOOL , mi : * mut root :: MENUITEMINFO) -> root :: BOOL { match self . pointers . GetMenuItemInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMenuItemInfo)) , Some (f) => f (hMenu , pos , byPos , mi) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetMenuItemInfo (& self , hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int , byPos : root :: BOOL , mi : * mut root :: MENUITEMINFO) -> root :: BOOL { match self . pointers . SetMenuItemInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetMenuItemInfo)) , Some (f) => f (hMenu , pos , byPos , mi) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DrawMenuBar (& self , arg1 : root :: HWND) { match self . pointers . DrawMenuBar { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DrawMenuBar)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_LoadMenu (& self , head : * mut root :: SWELL_MenuResourceIndex , resid : * const :: std :: os :: raw :: c_char) -> root :: HMENU { match self . pointers . SWELL_LoadMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_LoadMenu)) , Some (f) => f (head , resid) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackPopupMenu (& self , hMenu : root :: HMENU , flags : :: std :: os :: raw :: c_int , xpos : :: std :: os :: raw :: c_int , ypos : :: std :: os :: raw :: c_int , resvd : :: std :: os :: raw :: c_int , hwnd : root :: HWND , r : * const root :: RECT) -> :: std :: os :: raw :: c_int { match self . pointers . TrackPopupMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (TrackPopupMenu)) , Some (f) => f (hMenu , flags , xpos , ypos , resvd , hwnd , r) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_SetMenuDestination (& self , menu : root :: HMENU , hwnd : root :: HWND) { match self . pointers . SWELL_SetMenuDestination { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_SetMenuDestination)) , Some (f) => f (menu , hwnd) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_DuplicateMenu (& self , menu : root :: HMENU) -> root :: HMENU { match self . pointers . SWELL_DuplicateMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_DuplicateMenu)) , Some (f) => f (menu) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetMenu (& self , hwnd : root :: HWND , menu : root :: HMENU) -> root :: BOOL { match self . pointers . SetMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetMenu)) , Some (f) => f (hwnd , menu) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMenu (& self , hwnd : root :: HWND) -> root :: HMENU { match self . pointers . GetMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMenu)) , Some (f) => f (hwnd) , } } # [cfg (target_family = "unix")] pub fn SWELL_GetDefaultWindowMenu (& self) -> root :: HMENU { match self . pointers . SWELL_GetDefaultWindowMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetDefaultWindowMenu)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_SetDefaultWindowMenu (& self , arg1 : root :: HMENU) { match self . pointers . SWELL_SetDefaultWindowMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_SetDefaultWindowMenu)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] pub fn SWELL_GetDefaultModalWindowMenu (& self) -> root :: HMENU { match self . pointers . SWELL_GetDefaultModalWindowMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetDefaultModalWindowMenu)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_SetDefaultModalWindowMenu (& self , arg1 : root :: HMENU) { match self . pointers . SWELL_SetDefaultModalWindowMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_SetDefaultModalWindowMenu)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] pub fn SWELL_GetCurrentMenu (& self) -> root :: HMENU { match self . pointers . SWELL_GetCurrentMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetCurrentMenu)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_SetCurrentMenu (& self , arg1 : root :: HMENU) { match self . pointers . SWELL_SetCurrentMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_SetCurrentMenu)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_DialogBox (& self , reshead : * mut root :: SWELL_DialogResourceIndex , resid : * const :: std :: os :: raw :: c_char , parent : root :: HWND , dlgproc : root :: DLGPROC , param : root :: LPARAM) -> :: std :: os :: raw :: c_int { match self . pointers . SWELL_DialogBox { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_DialogBox)) , Some (f) => f (reshead , resid , parent , dlgproc , param) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_CreateDialog (& self , reshead : * mut root :: SWELL_DialogResourceIndex , resid : * const :: std :: os :: raw :: c_char , parent : root :: HWND , dlgproc : root :: DLGPROC , param : root :: LPARAM) -> root :: HWND { match self . pointers . SWELL_CreateDialog { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_CreateDialog)) , Some (f) => f (reshead , resid , parent , dlgproc , param) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_RegisterCustomControlCreator (& self , proc_ : root :: SWELL_ControlCreatorProc) { match self . pointers . SWELL_RegisterCustomControlCreator { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_RegisterCustomControlCreator)) , Some (f) => f (proc_) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_UnregisterCustomControlCreator (& self , proc_ : root :: SWELL_ControlCreatorProc) { match self . pointers . SWELL_UnregisterCustomControlCreator { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_UnregisterCustomControlCreator)) , Some (f) => f (proc_) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DefWindowProc (& self , hwnd : root :: HWND , msg : root :: UINT , wParam : root :: WPARAM , lParam : root :: LPARAM) -> root :: LRESULT { match self . pointers . DefWindowProc { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DefWindowProc)) , Some (f) => f (hwnd , msg , wParam , lParam) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EndDialog (& self , arg1 : root :: HWND , arg2 : :: std :: os :: raw :: c_int) { match self . pointers . EndDialog { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EndDialog)) , Some (f) => f (arg1 , arg2) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GetDefaultButtonID (& self , hwndDlg : root :: HWND , onlyIfEnabled : bool) -> :: std :: os :: raw :: c_int { match self . pointers . SWELL_GetDefaultButtonID { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetDefaultButtonID)) , Some (f) => f (hwndDlg , onlyIfEnabled) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SendMessage (& self , arg1 : root :: HWND , arg2 : root :: UINT , arg3 : root :: WPARAM , arg4 : root :: LPARAM) -> root :: LRESULT { match self . pointers . SendMessage { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SendMessage)) , Some (f) => f (arg1 , arg2 , arg3 , arg4) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_BroadcastMessage (& self , arg1 : root :: UINT , arg2 : root :: WPARAM , arg3 : root :: LPARAM) { match self . pointers . SWELL_BroadcastMessage { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_BroadcastMessage)) , Some (f) => f (arg1 , arg2 , arg3) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PostMessage (& self , hwnd : root :: HWND , msg : root :: UINT , wParam : root :: WPARAM , lParam : root :: LPARAM) -> root :: BOOL { match self . pointers . PostMessage { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PostMessage)) , Some (f) => f (hwnd , msg , wParam , lParam) , } } # [cfg (target_family = "unix")] pub fn SWELL_MessageQueue_Flush (& self) { match self . pointers . SWELL_MessageQueue_Flush { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_MessageQueue_Flush)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_MessageQueue_Clear (& self , h : root :: HWND) { match self . pointers . SWELL_MessageQueue_Clear { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_MessageQueue_Clear)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_KeyToASCII (& self , wParam : :: std :: os :: raw :: c_int , lParam : :: std :: os :: raw :: c_int , newflags : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . SWELL_KeyToASCII { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_KeyToASCII)) , Some (f) => f (wParam , lParam , newflags) , } } # [cfg (target_family = "unix")] pub fn GetAsyncKeyState (& self , key : :: std :: os :: raw :: c_int) -> root :: WORD { match self . pointers . GetAsyncKeyState { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetAsyncKeyState)) , Some (f) => f (key) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetCursorPos (& self , pt : * mut root :: POINT) { match self . pointers . GetCursorPos { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetCursorPos)) , Some (f) => f (pt) , } } # [cfg (target_family = "unix")] pub fn GetMessagePos (& self) -> root :: DWORD { match self . pointers . GetMessagePos { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMessagePos)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_LoadCursor (& self , idx : * const :: std :: os :: raw :: c_char) -> root :: HCURSOR { match self . pointers . SWELL_LoadCursor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_LoadCursor)) , Some (f) => f (idx) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_SetCursor (& self , curs : root :: HCURSOR) { match self . pointers . SWELL_SetCursor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_SetCursor)) , Some (f) => f (curs) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_EnableRightClickEmulate (& self , enable : root :: BOOL) { match self . pointers . SWELL_EnableRightClickEmulate { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_EnableRightClickEmulate)) , Some (f) => f (enable) , } } # [cfg (target_family = "unix")] pub fn SWELL_GetCursor (& self) -> root :: HCURSOR { match self . pointers . SWELL_GetCursor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetCursor)) , Some (f) => f () , } } # [cfg (target_family = "unix")] pub fn SWELL_GetLastSetCursor (& self) -> root :: HCURSOR { match self . pointers . SWELL_GetLastSetCursor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetLastSetCursor)) , Some (f) => f () , } } # [cfg (target_family = "unix")] pub fn SWELL_IsCursorVisible (& self) -> bool { match self . pointers . SWELL_IsCursorVisible { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_IsCursorVisible)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_ShowCursor (& self , bShow : root :: BOOL) -> :: std :: os :: raw :: c_int { match self . pointers . SWELL_ShowCursor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_ShowCursor)) , Some (f) => f (bShow) , } } # [cfg (target_family = "unix")] pub fn SWELL_SetCursorPos (& self , X : :: std :: os :: raw :: c_int , Y : :: std :: os :: raw :: c_int) -> root :: BOOL { match self . pointers . SWELL_SetCursorPos { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_SetCursorPos)) , Some (f) => f (X , Y) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GetViewPort (& self , r : * mut root :: RECT , sourcerect : * const root :: RECT , wantWork : bool) { match self . pointers . SWELL_GetViewPort { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetViewPort)) , Some (f) => f (r , sourcerect , wantWork) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn OpenClipboard (& self , hwndDlg : root :: HWND) -> bool { match self . pointers . OpenClipboard { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (OpenClipboard)) , Some (f) => f (hwndDlg) , } } # [cfg (target_family = "unix")] pub fn CloseClipboard (& self) { match self . pointers . CloseClipboard { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CloseClipboard)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetClipboardData (& self , type_ : root :: UINT) -> root :: HANDLE { match self . pointers . GetClipboardData { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetClipboardData)) , Some (f) => f (type_) , } } # [cfg (target_family = "unix")] pub fn EmptyClipboard (& self) { match self . pointers . EmptyClipboard { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EmptyClipboard)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetClipboardData (& self , type_ : root :: UINT , h : root :: HANDLE) { match self . pointers . SetClipboardData { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetClipboardData)) , Some (f) => f (type_ , h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn RegisterClipboardFormat (& self , desc : * const :: std :: os :: raw :: c_char) -> root :: UINT { match self . pointers . RegisterClipboardFormat { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (RegisterClipboardFormat)) , Some (f) => f (desc) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumClipboardFormats (& self , lastfmt : root :: UINT) -> root :: UINT { match self . pointers . EnumClipboardFormats { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumClipboardFormats)) , Some (f) => f (lastfmt) , } } # [cfg (target_family = "unix")] pub fn GlobalAlloc (& self , flags : :: std :: os :: raw :: c_int , sz : :: std :: os :: raw :: c_int) -> root :: HANDLE { match self . pointers . GlobalAlloc { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GlobalAlloc)) , Some (f) => f (flags , sz) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GlobalLock (& self , h : root :: HANDLE) -> * mut :: std :: os :: raw :: c_void { match self . pointers . GlobalLock { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GlobalLock)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GlobalSize (& self , h : root :: HANDLE) -> :: std :: os :: raw :: c_int { match self . pointers . GlobalSize { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GlobalSize)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GlobalUnlock (& self , h : root :: HANDLE) { match self . pointers . GlobalUnlock { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GlobalUnlock)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GlobalFree (& self , h : root :: HANDLE) { match self . pointers . GlobalFree { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GlobalFree)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CreateThread (& self , TA : * mut :: std :: os :: raw :: c_void , stackSize : root :: DWORD , ThreadProc : :: std :: option :: Option < unsafe extern "C" fn (arg1 : root :: LPVOID) -> root :: DWORD , > , parm : root :: LPVOID , cf : root :: DWORD , tidOut : * mut root :: DWORD) -> root :: HANDLE { match self . pointers . CreateThread { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateThread)) , Some (f) => f (TA , stackSize , ThreadProc , parm , cf , tidOut) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CreateEvent (& self , SA : * mut :: std :: os :: raw :: c_void , manualReset : root :: BOOL , initialSig : root :: BOOL , ignored : * const :: std :: os :: raw :: c_char) -> root :: HANDLE { match self . pointers . CreateEvent { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateEvent)) , Some (f) => f (SA , manualReset , initialSig , ignored) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CreateEventAsSocket (& self , SA : * mut :: std :: os :: raw :: c_void , manualReset : root :: BOOL , initialSig : root :: BOOL , ignored : * const :: std :: os :: raw :: c_char) -> root :: HANDLE { match self . pointers . CreateEventAsSocket { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateEventAsSocket)) , Some (f) => f (SA , manualReset , initialSig , ignored) , } } # [cfg (target_family = "unix")] pub fn GetCurrentThreadId (& self) -> root :: DWORD { match self . pointers . GetCurrentThreadId { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetCurrentThreadId)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn WaitForSingleObject (& self , hand : root :: HANDLE , msTO : root :: DWORD) -> root :: DWORD { match self . pointers . WaitForSingleObject { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (WaitForSingleObject)) , Some (f) => f (hand , msTO) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn WaitForAnySocketObject (& self , numObjs : :: std :: os :: raw :: c_int , objs : * mut root :: HANDLE , msTO : root :: DWORD) -> root :: DWORD { match self . pointers . WaitForAnySocketObject { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (WaitForAnySocketObject)) , Some (f) => f (numObjs , objs , msTO) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CloseHandle (& self , hand : root :: HANDLE) -> root :: BOOL { match self . pointers . CloseHandle { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CloseHandle)) , Some (f) => f (hand) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetThreadPriority (& self , evt : root :: HANDLE , prio : :: std :: os :: raw :: c_int) -> root :: BOOL { match self . pointers . SetThreadPriority { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetThreadPriority)) , Some (f) => f (evt , prio) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetEvent (& self , evt : root :: HANDLE) -> root :: BOOL { match self . pointers . SetEvent { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetEvent)) , Some (f) => f (evt) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ResetEvent (& self , evt : root :: HANDLE) -> root :: BOOL { match self . pointers . ResetEvent { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ResetEvent)) , Some (f) => f (evt) , } } # [cfg (target_family = "unix")] pub fn SWELL_CreateProcessFromPID (& self , pid : :: std :: os :: raw :: c_int) -> root :: HANDLE { match self . pointers . SWELL_CreateProcessFromPID { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_CreateProcessFromPID)) , Some (f) => f (pid) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_CreateProcess (& self , exe : * const :: std :: os :: raw :: c_char , nparams : :: std :: os :: raw :: c_int , params : * mut * const :: std :: os :: raw :: c_char) -> root :: HANDLE { match self . pointers . SWELL_CreateProcess { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_CreateProcess)) , Some (f) => f (exe , nparams , params) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GetProcessExitCode (& self , hand : root :: HANDLE) -> :: std :: os :: raw :: c_int { match self . pointers . SWELL_GetProcessExitCode { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetProcessExitCode)) , Some (f) => f (hand) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LoadLibraryGlobals (& self , fileName : * const :: std :: os :: raw :: c_char , symbolsAsGlobals : bool) -> root :: HINSTANCE { match self . pointers . LoadLibraryGlobals { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LoadLibraryGlobals)) , Some (f) => f (fileName , symbolsAsGlobals) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LoadLibrary (& self , fileName : * const :: std :: os :: raw :: c_char) -> root :: HINSTANCE { match self . pointers . LoadLibrary { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LoadLibrary)) , Some (f) => f (fileName) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetProcAddress (& self , hInst : root :: HINSTANCE , procName : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void { match self . pointers . GetProcAddress { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetProcAddress)) , Some (f) => f (hInst , procName) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn FreeLibrary (& self , hInst : root :: HINSTANCE) -> root :: BOOL { match self . pointers . FreeLibrary { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (FreeLibrary)) , Some (f) => f (hInst) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GetBundle (& self , hInst : root :: HINSTANCE) -> * mut :: std :: os :: raw :: c_void { match self . pointers . SWELL_GetBundle { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetBundle)) , Some (f) => f (hInst) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_CreateMemContext (& self , hdc : root :: HDC , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int) -> root :: HDC { match self . pointers . SWELL_CreateMemContext { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_CreateMemContext)) , Some (f) => f (hdc , w , h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_DeleteGfxContext (& self , arg1 : root :: HDC) { match self . pointers . SWELL_DeleteGfxContext { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_DeleteGfxContext)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GetCtxGC (& self , ctx : root :: HDC) -> * mut :: std :: os :: raw :: c_void { match self . pointers . SWELL_GetCtxGC { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetCtxGC)) , Some (f) => f (ctx) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GetCtxFrameBuffer (& self , ctx : root :: HDC) -> * mut :: std :: os :: raw :: c_void { match self . pointers . SWELL_GetCtxFrameBuffer { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetCtxFrameBuffer)) , Some (f) => f (ctx) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_PushClipRegion (& self , ctx : root :: HDC) { match self . pointers . SWELL_PushClipRegion { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_PushClipRegion)) , Some (f) => f (ctx) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_SetClipRegion (& self , ctx : root :: HDC , r : * const root :: RECT) { match self . pointers . SWELL_SetClipRegion { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_SetClipRegion)) , Some (f) => f (ctx , r) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_PopClipRegion (& self , ctx : root :: HDC) { match self . pointers . SWELL_PopClipRegion { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_PopClipRegion)) , Some (f) => f (ctx) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CreateFontIndirect (& self , arg1 : * mut root :: LOGFONT) -> root :: HFONT { match self . pointers . CreateFontIndirect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateFontIndirect)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CreateFont (& self , lfHeight : :: std :: os :: raw :: c_int , lfWidth : :: std :: os :: raw :: c_int , lfEscapement : :: std :: os :: raw :: c_int , lfOrientation : :: std :: os :: raw :: c_int , lfWeight : :: std :: os :: raw :: c_int , lfItalic : :: std :: os :: raw :: c_char , lfUnderline : :: std :: os :: raw :: c_char , lfStrikeOut : :: std :: os :: raw :: c_char , lfCharSet : :: std :: os :: raw :: c_char , lfOutPrecision : :: std :: os :: raw :: c_char , lfClipPrecision : :: std :: os :: raw :: c_char , lfQuality : :: std :: os :: raw :: c_char , lfPitchAndFamily : :: std :: os :: raw :: c_char , lfFaceName : * const :: std :: os :: raw :: c_char) -> root :: HFONT { match self . pointers . CreateFont { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateFont)) , Some (f) => f (lfHeight , lfWidth , lfEscapement , lfOrientation , lfWeight , lfItalic , lfUnderline , lfStrikeOut , lfCharSet , lfOutPrecision , lfClipPrecision , lfQuality , lfPitchAndFamily , lfFaceName) , } } # [cfg (target_family = "unix")] pub fn CreatePen (& self , attr : :: std :: os :: raw :: c_int , wid : :: std :: os :: raw :: c_int , col : :: std :: os :: raw :: c_int) -> root :: HPEN { match self . pointers . CreatePen { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreatePen)) , Some (f) => f (attr , wid , col) , } } # [cfg (target_family = "unix")] pub fn CreateSolidBrush (& self , col : :: std :: os :: raw :: c_int) -> root :: HBRUSH { match self . pointers . CreateSolidBrush { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateSolidBrush)) , Some (f) => f (col) , } } # [cfg (target_family = "unix")] pub fn CreatePenAlpha (& self , attr : :: std :: os :: raw :: c_int , wid : :: std :: os :: raw :: c_int , col : :: std :: os :: raw :: c_int , alpha : f32) -> root :: HPEN { match self . pointers . CreatePenAlpha { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreatePenAlpha)) , Some (f) => f (attr , wid , col , alpha) , } } # [cfg (target_family = "unix")] pub fn CreateSolidBrushAlpha (& self , col : :: std :: os :: raw :: c_int , alpha : f32) -> root :: HBRUSH { match self . pointers . CreateSolidBrushAlpha { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateSolidBrushAlpha)) , Some (f) => f (col , alpha) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SelectObject (& self , ctx : root :: HDC , pen : root :: HGDIOBJ) -> root :: HGDIOBJ { match self . pointers . SelectObject { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SelectObject)) , Some (f) => f (ctx , pen) , } } # [cfg (target_family = "unix")] pub fn GetStockObject (& self , wh : :: std :: os :: raw :: c_int) -> root :: HGDIOBJ { match self . pointers . GetStockObject { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetStockObject)) , Some (f) => f (wh) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteObject (& self , arg1 : root :: HGDIOBJ) { match self . pointers . DeleteObject { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DeleteObject)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_FillRect (& self , ctx : root :: HDC , r : * const root :: RECT , br : root :: HBRUSH) { match self . pointers . SWELL_FillRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_FillRect)) , Some (f) => f (ctx , r , br) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Rectangle (& self , ctx : root :: HDC , l : :: std :: os :: raw :: c_int , t : :: std :: os :: raw :: c_int , r : :: std :: os :: raw :: c_int , b : :: std :: os :: raw :: c_int) { match self . pointers . Rectangle { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Rectangle)) , Some (f) => f (ctx , l , t , r , b) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn Ellipse (& self , ctx : root :: HDC , l : :: std :: os :: raw :: c_int , t : :: std :: os :: raw :: c_int , r : :: std :: os :: raw :: c_int , b : :: std :: os :: raw :: c_int) { match self . pointers . Ellipse { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (Ellipse)) , Some (f) => f (ctx , l , t , r , b) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_Polygon (& self , ctx : root :: HDC , pts : * mut root :: POINT , npts : :: std :: os :: raw :: c_int) { match self . pointers . SWELL_Polygon { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_Polygon)) , Some (f) => f (ctx , pts , npts) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn MoveToEx (& self , ctx : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , op : * mut root :: POINT) { match self . pointers . MoveToEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (MoveToEx)) , Some (f) => f (ctx , x , y , op) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_LineTo (& self , ctx : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int) { match self . pointers . SWELL_LineTo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_LineTo)) , Some (f) => f (ctx , x , y) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_SetPixel (& self , ctx : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , c : :: std :: os :: raw :: c_int) { match self . pointers . SWELL_SetPixel { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_SetPixel)) , Some (f) => f (ctx , x , y , c) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PolyBezierTo (& self , ctx : root :: HDC , pts : * mut root :: POINT , np : :: std :: os :: raw :: c_int) { match self . pointers . PolyBezierTo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PolyBezierTo)) , Some (f) => f (ctx , pts , np) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_DrawText (& self , ctx : root :: HDC , buf : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , r : * mut root :: RECT , align : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . SWELL_DrawText { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_DrawText)) , Some (f) => f (ctx , buf , len , r , align) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTextColor (& self , ctx : root :: HDC , col : :: std :: os :: raw :: c_int) { match self . pointers . SetTextColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetTextColor)) , Some (f) => f (ctx , col) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTextColor (& self , ctx : root :: HDC) -> :: std :: os :: raw :: c_int { match self . pointers . GetTextColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTextColor)) , Some (f) => f (ctx) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetBkColor (& self , ctx : root :: HDC , col : :: std :: os :: raw :: c_int) { match self . pointers . SetBkColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetBkColor)) , Some (f) => f (ctx , col) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetBkMode (& self , ctx : root :: HDC , col : :: std :: os :: raw :: c_int) { match self . pointers . SetBkMode { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetBkMode)) , Some (f) => f (ctx , col) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetGlyphIndicesW (& self , ctx : root :: HDC , buf : * mut u32 , len : :: std :: os :: raw :: c_int , indices : * mut :: std :: os :: raw :: c_ushort , flags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetGlyphIndicesW { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetGlyphIndicesW)) , Some (f) => f (ctx , buf , len , indices , flags) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn RoundRect (& self , ctx : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , x2 : :: std :: os :: raw :: c_int , y2 : :: std :: os :: raw :: c_int , xrnd : :: std :: os :: raw :: c_int , yrnd : :: std :: os :: raw :: c_int) { match self . pointers . RoundRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (RoundRect)) , Some (f) => f (ctx , x , y , x2 , y2 , xrnd , yrnd) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn PolyPolyline (& self , ctx : root :: HDC , pts : * mut root :: POINT , cnts : * mut root :: DWORD , nseg : :: std :: os :: raw :: c_int) { match self . pointers . PolyPolyline { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (PolyPolyline)) , Some (f) => f (ctx , pts , cnts , nseg) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTextMetrics (& self , ctx : root :: HDC , tm : * mut root :: TEXTMETRIC) -> root :: BOOL { match self . pointers . GetTextMetrics { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTextMetrics)) , Some (f) => f (ctx , tm) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTextFace (& self , ctx : root :: HDC , nCount : :: std :: os :: raw :: c_int , lpFaceName : root :: LPTSTR) -> :: std :: os :: raw :: c_int { match self . pointers . GetTextFace { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTextFace)) , Some (f) => f (ctx , nCount , lpFaceName) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetObject (& self , icon : root :: HICON , bmsz : :: std :: os :: raw :: c_int , _bm : * mut :: std :: os :: raw :: c_void) -> root :: BOOL { match self . pointers . GetObject { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetObject)) , Some (f) => f (icon , bmsz , _bm) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CreateIconIndirect (& self , iconinfo : * mut root :: ICONINFO) -> root :: HICON { match self . pointers . CreateIconIndirect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateIconIndirect)) , Some (f) => f (iconinfo) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn LoadNamedImage (& self , name : * const :: std :: os :: raw :: c_char , alphaFromMask : bool) -> root :: HICON { match self . pointers . LoadNamedImage { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (LoadNamedImage)) , Some (f) => f (name , alphaFromMask) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DrawImageInRect (& self , ctx : root :: HDC , img : root :: HICON , r : * const root :: RECT) { match self . pointers . DrawImageInRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DrawImageInRect)) , Some (f) => f (ctx , img , r) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn BitBlt (& self , hdcOut : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , hdcIn : root :: HDC , xin : :: std :: os :: raw :: c_int , yin : :: std :: os :: raw :: c_int , mode : :: std :: os :: raw :: c_int) { match self . pointers . BitBlt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (BitBlt)) , Some (f) => f (hdcOut , x , y , w , h , hdcIn , xin , yin , mode) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn StretchBlt (& self , hdcOut : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , hdcIn : root :: HDC , xin : :: std :: os :: raw :: c_int , yin : :: std :: os :: raw :: c_int , srcw : :: std :: os :: raw :: c_int , srch : :: std :: os :: raw :: c_int , mode : :: std :: os :: raw :: c_int) { match self . pointers . StretchBlt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (StretchBlt)) , Some (f) => f (hdcOut , x , y , w , h , hdcIn , xin , yin , srcw , srch , mode) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn StretchBltFromMem (& self , hdcOut : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , bits : * const :: std :: os :: raw :: c_void , srcw : :: std :: os :: raw :: c_int , srch : :: std :: os :: raw :: c_int , srcspan : :: std :: os :: raw :: c_int) { match self . pointers . StretchBltFromMem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (StretchBltFromMem)) , Some (f) => f (hdcOut , x , y , w , h , bits , srcw , srch , srcspan) , } } # [cfg (target_family = "unix")] pub fn SWELL_GetScaling256 (& self) -> :: std :: os :: raw :: c_int { match self . pointers . SWELL_GetScaling256 { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetScaling256)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_ExtendedAPI (& self , key : * const :: std :: os :: raw :: c_char , v : * mut :: std :: os :: raw :: c_void) -> * mut :: std :: os :: raw :: c_void { match self . pointers . SWELL_ExtendedAPI { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_ExtendedAPI)) , Some (f) => f (key , v) , } } # [cfg (target_family = "unix")] pub fn GetSysColor (& self , idx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetSysColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSysColor)) , Some (f) => f (idx) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CreateBitmap (& self , width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , numplanes : :: std :: os :: raw :: c_int , bitsperpixel : :: std :: os :: raw :: c_int , bits : * mut :: std :: os :: raw :: c_uchar) -> root :: HBITMAP { match self . pointers . CreateBitmap { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (CreateBitmap)) , Some (f) => f (width , height , numplanes , bitsperpixel , bits) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetOpaque (& self , h : root :: HWND , isopaque : bool) { match self . pointers . SetOpaque { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetOpaque)) , Some (f) => f (h , isopaque) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetAllowNoMiddleManRendering (& self , h : root :: HWND , allow : bool) { match self . pointers . SetAllowNoMiddleManRendering { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SetAllowNoMiddleManRendering)) , Some (f) => f (h , allow) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_SetViewGL (& self , h : root :: HWND , wantGL : :: std :: os :: raw :: c_char) { match self . pointers . SWELL_SetViewGL { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_SetViewGL)) , Some (f) => f (h , wantGL) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GetViewGL (& self , h : root :: HWND) -> bool { match self . pointers . SWELL_GetViewGL { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetViewGL)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_SetGLContextToView (& self , h : root :: HWND) -> bool { match self . pointers . SWELL_SetGLContextToView { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_SetGLContextToView)) , Some (f) => f (h) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn BeginPaint (& self , arg1 : root :: HWND , arg2 : * mut root :: PAINTSTRUCT) -> root :: HDC { match self . pointers . BeginPaint { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (BeginPaint)) , Some (f) => f (arg1 , arg2) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EndPaint (& self , arg1 : root :: HWND , arg2 : * mut root :: PAINTSTRUCT) -> root :: BOOL { match self . pointers . EndPaint { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EndPaint)) , Some (f) => f (arg1 , arg2) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetDC (& self , arg1 : root :: HWND) -> root :: HDC { match self . pointers . GetDC { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetDC)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetWindowDC (& self , arg1 : root :: HWND) -> root :: HDC { match self . pointers . GetWindowDC { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetWindowDC)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ReleaseDC (& self , arg1 : root :: HWND , arg2 : root :: HDC) { match self . pointers . ReleaseDC { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (ReleaseDC)) , Some (f) => f (arg1 , arg2) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_FillDialogBackground (& self , hdc : root :: HDC , r : * const root :: RECT , level : :: std :: os :: raw :: c_int) { match self . pointers . SWELL_FillDialogBackground { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_FillDialogBackground)) , Some (f) => f (hdc , r , level) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_CloneGDIObject (& self , a : root :: HGDIOBJ) -> root :: HGDIOBJ { match self . pointers . SWELL_CloneGDIObject { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_CloneGDIObject)) , Some (f) => f (a) , } } # [cfg (target_family = "unix")] pub fn GetSystemMetrics (& self , arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetSystemMetrics { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetSystemMetrics)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DragQueryPoint (& self , arg1 : root :: HDROP , arg2 : root :: LPPOINT) -> root :: BOOL { match self . pointers . DragQueryPoint { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DragQueryPoint)) , Some (f) => f (arg1 , arg2) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DragFinish (& self , arg1 : root :: HDROP) { match self . pointers . DragFinish { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DragFinish)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DragQueryFile (& self , arg1 : root :: HDROP , arg2 : root :: UINT , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : root :: UINT) -> root :: UINT { match self . pointers . DragQueryFile { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (DragQueryFile)) , Some (f) => f (arg1 , arg2 , arg3 , arg4) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_InitiateDragDrop (& self , arg1 : root :: HWND , srcrect : * mut root :: RECT , srcfn : * const :: std :: os :: raw :: c_char , callback : :: std :: option :: Option < unsafe extern "C" fn (droppath : * const :: std :: os :: raw :: c_char) , >) { match self . pointers . SWELL_InitiateDragDrop { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_InitiateDragDrop)) , Some (f) => f (arg1 , srcrect , srcfn , callback) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_InitiateDragDropOfFileList (& self , arg1 : root :: HWND , srcrect : * mut root :: RECT , srclist : * mut * const :: std :: os :: raw :: c_char , srccount : :: std :: os :: raw :: c_int , icon : root :: HICON) { match self . pointers . SWELL_InitiateDragDropOfFileList { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_InitiateDragDropOfFileList)) , Some (f) => f (arg1 , srcrect , srclist , srccount , icon) , } } # [cfg (target_family = "unix")] pub fn SWELL_FinishDragDrop (& self) { match self . pointers . SWELL_FinishDragDrop { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_FinishDragDrop)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_DrawFocusRect (& self , hwndPar : root :: HWND , rct : * mut root :: RECT , handle : * mut * mut :: std :: os :: raw :: c_void) { match self . pointers . SWELL_DrawFocusRect { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_DrawFocusRect)) , Some (f) => f (hwndPar , rct , handle) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_MakeSetCurParms (& self , xscale : f32 , yscale : f32 , xtrans : f32 , ytrans : f32 , parent : root :: HWND , doauto : bool , dosizetofit : bool) { match self . pointers . SWELL_MakeSetCurParms { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_MakeSetCurParms)) , Some (f) => f (xscale , yscale , xtrans , ytrans , parent , doauto , dosizetofit) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_MakeButton (& self , def : :: std :: os :: raw :: c_int , label : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> root :: HWND { match self . pointers . SWELL_MakeButton { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_MakeButton)) , Some (f) => f (def , label , idx , x , y , w , h , flags) , } } # [cfg (target_family = "unix")] pub fn SWELL_MakeEditField (& self , idx : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> root :: HWND { match self . pointers . SWELL_MakeEditField { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_MakeEditField)) , Some (f) => f (idx , x , y , w , h , flags) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_MakeLabel (& self , align : :: std :: os :: raw :: c_int , label : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> root :: HWND { match self . pointers . SWELL_MakeLabel { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_MakeLabel)) , Some (f) => f (align , label , idx , x , y , w , h , flags) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_MakeControl (& self , cname : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , classname : * const :: std :: os :: raw :: c_char , style : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , exstyle : :: std :: os :: raw :: c_int) -> root :: HWND { match self . pointers . SWELL_MakeControl { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_MakeControl)) , Some (f) => f (cname , idx , classname , style , x , y , w , h , exstyle) , } } # [cfg (target_family = "unix")] pub fn SWELL_MakeCombo (& self , idx : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> root :: HWND { match self . pointers . SWELL_MakeCombo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_MakeCombo)) , Some (f) => f (idx , x , y , w , h , flags) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_MakeGroupBox (& self , name : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , style : :: std :: os :: raw :: c_int) -> root :: HWND { match self . pointers . SWELL_MakeGroupBox { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_MakeGroupBox)) , Some (f) => f (name , idx , x , y , w , h , style) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_MakeCheckBox (& self , name : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> root :: HWND { match self . pointers . SWELL_MakeCheckBox { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_MakeCheckBox)) , Some (f) => f (name , idx , x , y , w , h , flags) , } } # [cfg (target_family = "unix")] pub fn SWELL_MakeListBox (& self , idx : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , styles : :: std :: os :: raw :: c_int) -> root :: HWND { match self . pointers . SWELL_MakeListBox { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_MakeListBox)) , Some (f) => f (idx , x , y , w , h , styles) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_Menu_AddMenuItem (& self , hMenu : root :: HMENU , name : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_uint) { match self . pointers . SWELL_Menu_AddMenuItem { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_Menu_AddMenuItem)) , Some (f) => f (hMenu , name , idx , flags) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GenerateMenuFromList (& self , hMenu : root :: HMENU , list : * const :: std :: os :: raw :: c_void , listsz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . SWELL_GenerateMenuFromList { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GenerateMenuFromList)) , Some (f) => f (hMenu , list , listsz) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GenerateDialogFromList (& self , list : * const :: std :: os :: raw :: c_void , listsz : :: std :: os :: raw :: c_int) { match self . pointers . SWELL_GenerateDialogFromList { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GenerateDialogFromList)) , Some (f) => f (list , listsz) , } } # [cfg (target_family = "unix")] pub fn _controlfp (& self , flag : :: std :: os :: raw :: c_uint , mask : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_uint { match self . pointers . _controlfp { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (_controlfp)) , Some (f) => f (flag , mask) , } } # [cfg (target_family = "unix")] pub fn SWELL_Internal_PostMessage_Init (& self) { match self . pointers . SWELL_Internal_PostMessage_Init { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_Internal_PostMessage_Init)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_LoadCursorFromFile (& self , fn_ : * const :: std :: os :: raw :: c_char) -> root :: HCURSOR { match self . pointers . SWELL_LoadCursorFromFile { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_LoadCursorFromFile)) , Some (f) => f (fn_) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_SetWindowWantRaiseAmt (& self , h : root :: HWND , amt : :: std :: os :: raw :: c_int) { match self . pointers . SWELL_SetWindowWantRaiseAmt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_SetWindowWantRaiseAmt)) , Some (f) => f (h , amt) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GetWindowWantRaiseAmt (& self , arg1 : root :: HWND) -> :: std :: os :: raw :: c_int { match self . pointers . SWELL_GetWindowWantRaiseAmt { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetWindowWantRaiseAmt)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_SetListViewFastClickMask (& self , hList : root :: HWND , mask : :: std :: os :: raw :: c_int) { match self . pointers . SWELL_SetListViewFastClickMask { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_SetListViewFastClickMask)) , Some (f) => f (hList , mask) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetTempPath (& self , sz : :: std :: os :: raw :: c_int , buf : * mut :: std :: os :: raw :: c_char) { match self . pointers . GetTempPath { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetTempPath)) , Some (f) => f (sz , buf) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_initargs (& self , argc : * mut :: std :: os :: raw :: c_int , argv : * mut * mut * mut :: std :: os :: raw :: c_char) { match self . pointers . SWELL_initargs { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_initargs)) , Some (f) => f (argc , argv) , } } # [cfg (target_family = "unix")] pub fn SWELL_RunMessageLoop (& self) { match self . pointers . SWELL_RunMessageLoop { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_RunMessageLoop)) , Some (f) => f () , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_CreateXBridgeWindow (& self , viewpar : root :: HWND , wref : * mut * mut :: std :: os :: raw :: c_void , arg1 : * const root :: RECT) -> root :: HWND { match self . pointers . SWELL_CreateXBridgeWindow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_CreateXBridgeWindow)) , Some (f) => f (viewpar , wref , arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GetOSWindow (& self , hwnd : root :: HWND , type_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void { match self . pointers . SWELL_GetOSWindow { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetOSWindow)) , Some (f) => f (hwnd , type_) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GetOSEvent (& self , type_ : * const :: std :: os :: raw :: c_char) -> * mut :: std :: os :: raw :: c_void { match self . pointers . SWELL_GetOSEvent { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetOSEvent)) , Some (f) => f (type_) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GenerateGUID (& self , g : * mut :: std :: os :: raw :: c_void) -> bool { match self . pointers . SWELL_GenerateGUID { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GenerateGUID)) , Some (f) => f (g) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumChildWindows (& self , hwnd : root :: HWND , cwEnumFunc : :: std :: option :: Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : root :: LPARAM) -> root :: BOOL , > , lParam : root :: LPARAM) -> root :: BOOL { match self . pointers . EnumChildWindows { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumChildWindows)) , Some (f) => f (hwnd , cwEnumFunc , lParam) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_IsGroupBox (& self , arg1 : root :: HWND) -> root :: BOOL { match self . pointers . SWELL_IsGroupBox { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_IsGroupBox)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_IsButton (& self , arg1 : root :: HWND) -> root :: BOOL { match self . pointers . SWELL_IsButton { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_IsButton)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_IsStaticText (& self , arg1 : root :: HWND) -> root :: BOOL { match self . pointers . SWELL_IsStaticText { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_IsStaticText)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_GetDesiredControlSize (& self , hwnd : root :: HWND , r : * mut root :: RECT) { match self . pointers . SWELL_GetDesiredControlSize { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_GetDesiredControlSize)) , Some (f) => f (hwnd , r) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn AddFontResourceEx (& self , str : root :: LPCTSTR , fl : root :: DWORD , pdv : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int { match self . pointers . AddFontResourceEx { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (AddFontResourceEx)) , Some (f) => f (str , fl , pdv) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_Register_Cursor_Resource (& self , idx : * const :: std :: os :: raw :: c_char , name : * const :: std :: os :: raw :: c_char , hotspot_x : :: std :: os :: raw :: c_int , hotspot_y : :: std :: os :: raw :: c_int) { match self . pointers . SWELL_Register_Cursor_Resource { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_Register_Cursor_Resource)) , Some (f) => f (idx , name , hotspot_x , hotspot_y) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_ChooseColor (& self , arg1 : root :: HWND , arg2 : * mut root :: COLORREF , ncustom : :: std :: os :: raw :: c_int , custom : * mut root :: COLORREF) -> bool { match self . pointers . SWELL_ChooseColor { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_ChooseColor)) , Some (f) => f (arg1 , arg2 , ncustom , custom) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_ChooseFont (& self , arg1 : root :: HWND , arg2 : * mut root :: LOGFONT) -> bool { match self . pointers . SWELL_ChooseFont { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_ChooseFont)) , Some (f) => f (arg1 , arg2) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsWindowEnabled (& self , arg1 : root :: HWND) -> bool { match self . pointers . IsWindowEnabled { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (IsWindowEnabled)) , Some (f) => f (arg1) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetClassName (& self , arg1 : root :: HWND , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { match self . pointers . GetClassName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetClassName)) , Some (f) => f (arg1 , arg2 , arg3) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_SetClassName (& self , arg1 : root :: HWND , arg2 : * const :: std :: os :: raw :: c_char) { match self . pointers . SWELL_SetClassName { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_SetClassName)) , Some (f) => f (arg1 , arg2) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SWELL_DisableContextMenu (& self , arg1 : root :: HWND , arg2 : bool) { match self . pointers . SWELL_DisableContextMenu { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_DisableContextMenu)) , Some (f) => f (arg1 , arg2) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumDisplayMonitors (& self , arg1 : root :: HDC , arg2 : root :: LPRECT , arg3 : root :: MONITORENUMPROC , arg4 : root :: LPARAM) -> root :: BOOL { match self . pointers . EnumDisplayMonitors { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (EnumDisplayMonitors)) , Some (f) => f (arg1 , arg2 , arg3 , arg4) , } } # [cfg (target_family = "unix")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMonitorInfo (& self , arg1 : root :: HMONITOR , arg2 : * mut :: std :: os :: raw :: c_void) -> root :: BOOL { match self . pointers . GetMonitorInfo { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (GetMonitorInfo)) , Some (f) => f (arg1 , arg2) , } } # [cfg (target_family = "unix")] pub fn SWELL_osx_is_dark_mode (& self , mode : :: std :: os :: raw :: c_int) -> bool { match self . pointers . SWELL_osx_is_dark_mode { None => panic ! ("Attempt to use a function that has not been loaded: {}" , stringify ! (SWELL_osx_is_dark_mode)) , Some (f) => f (mode) , } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetDlgItem (& self , arg1 : root :: HWND , arg2 : :: std :: os :: raw :: c_int) -> root :: HWND { unsafe { windows :: GetDlgItem (arg1 , arg2) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ShowWindow (& self , arg1 : root :: HWND , arg2 : :: std :: os :: raw :: c_int) { unsafe { windows :: ShowWindow (arg1 , arg2) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DestroyWindow (& self , hwnd : root :: HWND) { unsafe { windows :: DestroyWindow (hwnd) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetDlgItemInt (& self , arg1 : root :: HWND , idx : :: std :: os :: raw :: c_int , val : :: std :: os :: raw :: c_int , issigned : :: std :: os :: raw :: c_int) -> root :: BOOL { unsafe { windows :: SetDlgItemInt (arg1 , idx , val , issigned) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetDlgItemInt (& self , arg1 : root :: HWND , idx : :: std :: os :: raw :: c_int , translated : * mut root :: BOOL , issigned : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { unsafe { windows :: GetDlgItemInt (arg1 , idx , translated , issigned) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CheckDlgButton (& self , hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int , check : :: std :: os :: raw :: c_int) { unsafe { windows :: CheckDlgButton (hwnd , idx , check) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsDlgButtonChecked (& self , hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { unsafe { windows :: IsDlgButtonChecked (hwnd , idx) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnableWindow (& self , hwnd : root :: HWND , enable : :: std :: os :: raw :: c_int) { unsafe { windows :: EnableWindow (hwnd , enable) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetFocus (& self , hwnd : root :: HWND) { unsafe { windows :: SetFocus (hwnd) } } # [cfg (target_family = "windows")] pub fn GetFocus (& self) -> root :: HWND { unsafe { windows :: GetFocus () } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetForegroundWindow (& self , hwnd : root :: HWND) { unsafe { windows :: SetForegroundWindow (hwnd) } } # [cfg (target_family = "windows")] pub fn GetForegroundWindow (& self) -> root :: HWND { unsafe { windows :: GetForegroundWindow () } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetCapture (& self , hwnd : root :: HWND) -> root :: HWND { unsafe { windows :: SetCapture (hwnd) } } # [cfg (target_family = "windows")] pub fn GetCapture (& self) -> root :: HWND { unsafe { windows :: GetCapture () } } # [cfg (target_family = "windows")] pub fn ReleaseCapture (& self) { unsafe { windows :: ReleaseCapture () } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsChild (& self , hwndParent : root :: HWND , hwndChild : root :: HWND) -> :: std :: os :: raw :: c_int { unsafe { windows :: IsChild (hwndParent , hwndChild) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetParent (& self , hwnd : root :: HWND) -> root :: HWND { unsafe { windows :: GetParent (hwnd) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetParent (& self , hwnd : root :: HWND , newPar : root :: HWND) -> root :: HWND { unsafe { windows :: SetParent (hwnd , newPar) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetWindow (& self , hwnd : root :: HWND , what : :: std :: os :: raw :: c_int) -> root :: HWND { unsafe { windows :: GetWindow (hwnd , what) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumWindows (& self , proc_ : :: std :: option :: Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : root :: LPARAM) -> root :: BOOL , > , lp : root :: LPARAM) -> root :: BOOL { unsafe { windows :: EnumWindows (proc_ , lp) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ClientToScreen (& self , hwnd : root :: HWND , p : * mut root :: POINT) { unsafe { windows :: ClientToScreen (hwnd , p) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ScreenToClient (& self , hwnd : root :: HWND , p : * mut root :: POINT) { unsafe { windows :: ScreenToClient (hwnd , p) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetWindowRect (& self , hwnd : root :: HWND , r : * mut root :: RECT) -> bool { unsafe { windows :: GetWindowRect (hwnd , r) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetClientRect (& self , hwnd : root :: HWND , r : * mut root :: RECT) { unsafe { windows :: GetClientRect (hwnd , r) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn WindowFromPoint (& self , p : root :: POINT) -> root :: HWND { unsafe { windows :: WindowFromPoint (p) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetWindowPos (& self , hwnd : root :: HWND , unused : root :: HWND , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , cx : :: std :: os :: raw :: c_int , cy : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) { unsafe { windows :: SetWindowPos (hwnd , unused , x , y , cx , cy , flags) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn InvalidateRect (& self , hwnd : root :: HWND , r : * const root :: RECT , eraseBk : :: std :: os :: raw :: c_int) -> root :: BOOL { unsafe { windows :: InvalidateRect (hwnd , r , eraseBk) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ScrollWindow (& self , hwnd : root :: HWND , xamt : :: std :: os :: raw :: c_int , yamt : :: std :: os :: raw :: c_int , lpRect : * const root :: RECT , lpClipRect : * const root :: RECT) -> root :: BOOL { unsafe { windows :: ScrollWindow (hwnd , xamt , yamt , lpRect , lpClipRect) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsWindowVisible (& self , hwnd : root :: HWND) -> bool { unsafe { windows :: IsWindowVisible (hwnd) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsWindow (& self , hwnd : root :: HWND) -> bool { unsafe { windows :: IsWindow (hwnd) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTimer (& self , hwnd : root :: HWND , timerid : root :: UINT_PTR , rate : root :: UINT , tProc : root :: TIMERPROC) -> root :: UINT_PTR { unsafe { windows :: SetTimer (hwnd , timerid , rate , tProc) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn KillTimer (& self , hwnd : root :: HWND , timerid : root :: UINT_PTR) -> root :: BOOL { unsafe { windows :: KillTimer (hwnd , timerid) } } # [cfg (target_family = "windows")] pub fn CreatePopupMenu (& self) -> root :: HMENU { unsafe { windows :: CreatePopupMenu () } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DestroyMenu (& self , hMenu : root :: HMENU) { unsafe { windows :: DestroyMenu (hMenu) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetSubMenu (& self , hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int) -> root :: HMENU { unsafe { windows :: GetSubMenu (hMenu , pos) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMenuItemCount (& self , hMenu : root :: HMENU) -> :: std :: os :: raw :: c_int { unsafe { windows :: GetMenuItemCount (hMenu) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMenuItemID (& self , hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { unsafe { windows :: GetMenuItemID (hMenu , pos) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnableMenuItem (& self , hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , en : :: std :: os :: raw :: c_int) -> bool { unsafe { windows :: EnableMenuItem (hMenu , idx , en) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteMenu (& self , hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int) -> bool { unsafe { windows :: DeleteMenu (hMenu , idx , flag) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CheckMenuItem (& self , hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , chk : :: std :: os :: raw :: c_int) -> bool { unsafe { windows :: CheckMenuItem (hMenu , idx , chk) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DrawMenuBar (& self , arg1 : root :: HWND) { unsafe { windows :: DrawMenuBar (arg1) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn TrackPopupMenu (& self , hMenu : root :: HMENU , flags : :: std :: os :: raw :: c_int , xpos : :: std :: os :: raw :: c_int , ypos : :: std :: os :: raw :: c_int , resvd : :: std :: os :: raw :: c_int , hwnd : root :: HWND , r : * const root :: RECT) -> :: std :: os :: raw :: c_int { unsafe { windows :: TrackPopupMenu (hMenu , flags , xpos , ypos , resvd , hwnd , r) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetMenu (& self , hwnd : root :: HWND , menu : root :: HMENU) -> root :: BOOL { unsafe { windows :: SetMenu (hwnd , menu) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetMenu (& self , hwnd : root :: HWND) -> root :: HMENU { unsafe { windows :: GetMenu (hwnd) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EndDialog (& self , arg1 : root :: HWND , arg2 : :: std :: os :: raw :: c_int) { unsafe { windows :: EndDialog (arg1 , arg2) } } # [cfg (target_family = "windows")] pub fn GetAsyncKeyState (& self , key : :: std :: os :: raw :: c_int) -> root :: WORD { unsafe { windows :: GetAsyncKeyState (key) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetCursorPos (& self , pt : * mut root :: POINT) { unsafe { windows :: GetCursorPos (pt) } } # [cfg (target_family = "windows")] pub fn GetMessagePos (& self) -> root :: DWORD { unsafe { windows :: GetMessagePos () } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn OpenClipboard (& self , hwndDlg : root :: HWND) -> bool { unsafe { windows :: OpenClipboard (hwndDlg) } } # [cfg (target_family = "windows")] pub fn CloseClipboard (& self) { unsafe { windows :: CloseClipboard () } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetClipboardData (& self , type_ : root :: UINT) -> root :: HANDLE { unsafe { windows :: GetClipboardData (type_) } } # [cfg (target_family = "windows")] pub fn EmptyClipboard (& self) { unsafe { windows :: EmptyClipboard () } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetClipboardData (& self , type_ : root :: UINT , h : root :: HANDLE) { unsafe { windows :: SetClipboardData (type_ , h) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumClipboardFormats (& self , lastfmt : root :: UINT) -> root :: UINT { unsafe { windows :: EnumClipboardFormats (lastfmt) } } # [cfg (target_family = "windows")] pub fn GlobalAlloc (& self , flags : :: std :: os :: raw :: c_int , sz : :: std :: os :: raw :: c_int) -> root :: HANDLE { unsafe { windows :: GlobalAlloc (flags , sz) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GlobalLock (& self , h : root :: HANDLE) -> * mut :: std :: os :: raw :: c_void { unsafe { windows :: GlobalLock (h) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GlobalUnlock (& self , h : root :: HANDLE) { unsafe { windows :: GlobalUnlock (h) } } # [cfg (target_family = "windows")] pub fn GetCurrentThreadId (& self) -> root :: DWORD { unsafe { windows :: GetCurrentThreadId () } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetThreadPriority (& self , evt : root :: HANDLE , prio : :: std :: os :: raw :: c_int) -> root :: BOOL { unsafe { windows :: SetThreadPriority (evt , prio) } } # [cfg (target_family = "windows")] pub fn CreateSolidBrush (& self , col : :: std :: os :: raw :: c_int) -> root :: HBRUSH { unsafe { windows :: CreateSolidBrush (col) } } # [cfg (target_family = "windows")] pub fn GetStockObject (& self , wh : :: std :: os :: raw :: c_int) -> root :: HGDIOBJ { unsafe { windows :: GetStockObject (wh) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn DeleteObject (& self , arg1 : root :: HGDIOBJ) { unsafe { windows :: DeleteObject (arg1) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetTextColor (& self , ctx : root :: HDC , col : :: std :: os :: raw :: c_int) { unsafe { windows :: SetTextColor (ctx , col) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetBkColor (& self , ctx : root :: HDC , col : :: std :: os :: raw :: c_int) { unsafe { windows :: SetBkColor (ctx , col) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn SetBkMode (& self , ctx : root :: HDC , col : :: std :: os :: raw :: c_int) { unsafe { windows :: SetBkMode (ctx , col) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn CreateIconIndirect (& self , iconinfo : * mut root :: ICONINFO) -> root :: HICON { unsafe { windows :: CreateIconIndirect (iconinfo) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn BitBlt (& self , hdcOut : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , hdcIn : root :: HDC , xin : :: std :: os :: raw :: c_int , yin : :: std :: os :: raw :: c_int , mode : :: std :: os :: raw :: c_int) { unsafe { windows :: BitBlt (hdcOut , x , y , w , h , hdcIn , xin , yin , mode) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn StretchBlt (& self , hdcOut : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , hdcIn : root :: HDC , xin : :: std :: os :: raw :: c_int , yin : :: std :: os :: raw :: c_int , srcw : :: std :: os :: raw :: c_int , srch : :: std :: os :: raw :: c_int , mode : :: std :: os :: raw :: c_int) { unsafe { windows :: StretchBlt (hdcOut , x , y , w , h , hdcIn , xin , yin , srcw , srch , mode) } } # [cfg (target_family = "windows")] pub fn GetSysColor (& self , idx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { unsafe { windows :: GetSysColor (idx) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn BeginPaint (& self , arg1 : root :: HWND , arg2 : * mut root :: PAINTSTRUCT) -> root :: HDC { unsafe { windows :: BeginPaint (arg1 , arg2) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EndPaint (& self , arg1 : root :: HWND , arg2 : * mut root :: PAINTSTRUCT) -> root :: BOOL { unsafe { windows :: EndPaint (arg1 , arg2) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetDC (& self , arg1 : root :: HWND) -> root :: HDC { unsafe { windows :: GetDC (arg1) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn GetWindowDC (& self , arg1 : root :: HWND) -> root :: HDC { unsafe { windows :: GetWindowDC (arg1) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn ReleaseDC (& self , arg1 : root :: HWND , arg2 : root :: HDC) { unsafe { windows :: ReleaseDC (arg1 , arg2) } } # [cfg (target_family = "windows")] pub fn GetSystemMetrics (& self , arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int { unsafe { windows :: GetSystemMetrics (arg1) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn EnumChildWindows (& self , hwnd : root :: HWND , cwEnumFunc : :: std :: option :: Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : root :: LPARAM) -> root :: BOOL , > , lParam : root :: LPARAM) -> root :: BOOL { unsafe { windows :: EnumChildWindows (hwnd , cwEnumFunc , lParam) } } # [cfg (target_family = "windows")] # [doc = r" # Safety"] # [doc = r""] # [doc = r" REAPER can crash if you pass an invalid pointer."] pub unsafe fn IsWindowEnabled (& self , arg1 : root :: HWND) -> bool { unsafe { windows :: IsWindowEnabled (arg1) } } } # [doc = r" Container for the SWELL function pointers."] # [derive (Copy , Clone , Default)] pub struct SwellFunctionPointers { pub (crate) loaded_count : u32 , pub lstrcpyn : Option < unsafe extern "C" fn (dest : * mut :: std :: os :: raw :: c_char , src : * const :: std :: os :: raw :: c_char , l : :: std :: os :: raw :: c_int ,) -> * mut :: std :: os :: raw :: c_char > , pub MulDiv : Option < extern "C" fn (arg1 : :: std :: os :: raw :: c_int , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub Sleep : Option < extern "C" fn (ms : :: std :: os :: raw :: c_int) > , pub GetTickCount : Option < extern "C" fn () -> root :: DWORD > , pub GetFileTime : Option < unsafe extern "C" fn (filedes : :: std :: os :: raw :: c_int , lpCreationTime : * mut root :: FILETIME , lpLastAccessTime : * mut root :: FILETIME , lpLastWriteTime : * mut root :: FILETIME ,) -> root :: BOOL > , pub WritePrivateProfileString : Option < unsafe extern "C" fn (appname : * const :: std :: os :: raw :: c_char , keyname : * const :: std :: os :: raw :: c_char , val : * const :: std :: os :: raw :: c_char , fn_ : * const :: std :: os :: raw :: c_char ,) -> root :: BOOL > , pub GetPrivateProfileString : Option < unsafe extern "C" fn (appname : * const :: std :: os :: raw :: c_char , keyname : * const :: std :: os :: raw :: c_char , def : * const :: std :: os :: raw :: c_char , ret : * mut :: std :: os :: raw :: c_char , retsize : :: std :: os :: raw :: c_int , fn_ : * const :: std :: os :: raw :: c_char ,) -> root :: DWORD > , pub GetPrivateProfileInt : Option < unsafe extern "C" fn (appname : * const :: std :: os :: raw :: c_char , keyname : * const :: std :: os :: raw :: c_char , def : :: std :: os :: raw :: c_int , fn_ : * const :: std :: os :: raw :: c_char ,) -> :: std :: os :: raw :: c_int > , pub GetPrivateProfileStruct : Option < unsafe extern "C" fn (appname : * const :: std :: os :: raw :: c_char , keyname : * const :: std :: os :: raw :: c_char , buf : * mut :: std :: os :: raw :: c_void , bufsz : :: std :: os :: raw :: c_int , fn_ : * const :: std :: os :: raw :: c_char ,) -> root :: BOOL > , pub WritePrivateProfileStruct : Option < unsafe extern "C" fn (appname : * const :: std :: os :: raw :: c_char , keyname : * const :: std :: os :: raw :: c_char , buf : * const :: std :: os :: raw :: c_void , bufsz : :: std :: os :: raw :: c_int , fn_ : * const :: std :: os :: raw :: c_char ,) -> root :: BOOL > , pub WritePrivateProfileSection : Option < unsafe extern "C" fn (appname : * const :: std :: os :: raw :: c_char , strings : * const :: std :: os :: raw :: c_char , fn_ : * const :: std :: os :: raw :: c_char ,) -> root :: BOOL > , pub GetPrivateProfileSection : Option < unsafe extern "C" fn (appname : * const :: std :: os :: raw :: c_char , strout : * mut :: std :: os :: raw :: c_char , strout_len : root :: DWORD , fn_ : * const :: std :: os :: raw :: c_char ,) -> root :: DWORD > , pub GetModuleFileName : Option < unsafe extern "C" fn (hInst : root :: HINSTANCE , fn_ : * mut :: std :: os :: raw :: c_char , nSize : root :: DWORD ,) -> root :: DWORD > , pub SWELL_PtInRect : Option < unsafe extern "C" fn (r : * const root :: RECT , p : root :: POINT) -> root :: BOOL > , pub ShellExecute : Option < unsafe extern "C" fn (hwndDlg : root :: HWND , action : * const :: std :: os :: raw :: c_char , content1 : * const :: std :: os :: raw :: c_char , content2 : * const :: std :: os :: raw :: c_char , content3 : * const :: std :: os :: raw :: c_char , blah : :: std :: os :: raw :: c_int ,) -> root :: BOOL > , pub MessageBox : Option < unsafe extern "C" fn (hwndParent : root :: HWND , text : * const :: std :: os :: raw :: c_char , caption : * const :: std :: os :: raw :: c_char , type_ : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub BrowseForFiles : Option < unsafe extern "C" fn (text : * const :: std :: os :: raw :: c_char , initialdir : * const :: std :: os :: raw :: c_char , initialfile : * const :: std :: os :: raw :: c_char , allowmul : bool , extlist : * const :: std :: os :: raw :: c_char ,) -> * mut :: std :: os :: raw :: c_char > , pub BrowseForSaveFile : Option < unsafe extern "C" fn (text : * const :: std :: os :: raw :: c_char , initialdir : * const :: std :: os :: raw :: c_char , initialfile : * const :: std :: os :: raw :: c_char , extlist : * const :: std :: os :: raw :: c_char , fn_ : * mut :: std :: os :: raw :: c_char , fnsize : :: std :: os :: raw :: c_int ,) -> bool > , pub BrowseForDirectory : Option < unsafe extern "C" fn (text : * const :: std :: os :: raw :: c_char , initialdir : * const :: std :: os :: raw :: c_char , fn_ : * mut :: std :: os :: raw :: c_char , fnsize : :: std :: os :: raw :: c_int ,) -> bool > , pub BrowseFile_SetTemplate : Option < unsafe extern "C" fn (dlgid : * const :: std :: os :: raw :: c_char , dlgProc : root :: DLGPROC , reshead : * mut root :: SWELL_DialogResourceIndex ,) > , pub GetDlgItem : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : :: std :: os :: raw :: c_int) -> root :: HWND > , pub ShowWindow : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : :: std :: os :: raw :: c_int) > , pub DestroyWindow : Option < unsafe extern "C" fn (hwnd : root :: HWND) > , pub SWELL_GetGestureInfo : Option < unsafe extern "C" fn (lParam : root :: LPARAM , gi : * mut root :: GESTUREINFO ,) -> root :: BOOL > , pub SWELL_HideApp : Option < extern "C" fn () > , pub SetDlgItemText : Option < unsafe extern "C" fn (arg1 : root :: HWND , idx : :: std :: os :: raw :: c_int , text : * const :: std :: os :: raw :: c_char ,) -> root :: BOOL > , pub SetDlgItemInt : Option < unsafe extern "C" fn (arg1 : root :: HWND , idx : :: std :: os :: raw :: c_int , val : :: std :: os :: raw :: c_int , issigned : :: std :: os :: raw :: c_int ,) -> root :: BOOL > , pub GetDlgItemInt : Option < unsafe extern "C" fn (arg1 : root :: HWND , idx : :: std :: os :: raw :: c_int , translated : * mut root :: BOOL , issigned : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetDlgItemText : Option < unsafe extern "C" fn (arg1 : root :: HWND , idx : :: std :: os :: raw :: c_int , text : * mut :: std :: os :: raw :: c_char , textlen : :: std :: os :: raw :: c_int ,) -> root :: BOOL > , pub GetWindowTextLength : Option < unsafe extern "C" fn (arg1 : root :: HWND) -> :: std :: os :: raw :: c_int > , pub CheckDlgButton : Option < unsafe extern "C" fn (hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int , check : :: std :: os :: raw :: c_int ,) > , pub IsDlgButtonChecked : Option < unsafe extern "C" fn (hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub EnableWindow : Option < unsafe extern "C" fn (hwnd : root :: HWND , enable : :: std :: os :: raw :: c_int) > , pub SetFocus : Option < unsafe extern "C" fn (hwnd : root :: HWND) > , pub GetFocus : Option < extern "C" fn () -> root :: HWND > , pub SetForegroundWindow : Option < unsafe extern "C" fn (hwnd : root :: HWND) > , pub GetForegroundWindow : Option < extern "C" fn () -> root :: HWND > , pub SetCapture : Option < unsafe extern "C" fn (hwnd : root :: HWND) -> root :: HWND > , pub GetCapture : Option < extern "C" fn () -> root :: HWND > , pub ReleaseCapture : Option < extern "C" fn () > , pub IsChild : Option < unsafe extern "C" fn (hwndParent : root :: HWND , hwndChild : root :: HWND ,) -> :: std :: os :: raw :: c_int > , pub GetParent : Option < unsafe extern "C" fn (hwnd : root :: HWND) -> root :: HWND > , pub SetParent : Option < unsafe extern "C" fn (hwnd : root :: HWND , newPar : root :: HWND) -> root :: HWND > , pub GetWindow : Option < unsafe extern "C" fn (hwnd : root :: HWND , what : :: std :: os :: raw :: c_int) -> root :: HWND > , pub EnumWindows : Option < unsafe extern "C" fn (proc_ : :: std :: option :: Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : root :: LPARAM) -> root :: BOOL , > , lp : root :: LPARAM ,) -> root :: BOOL > , pub FindWindowEx : Option < unsafe extern "C" fn (par : root :: HWND , lastw : root :: HWND , classname : * const :: std :: os :: raw :: c_char , title : * const :: std :: os :: raw :: c_char ,) -> root :: HWND > , pub ClientToScreen : Option < unsafe extern "C" fn (hwnd : root :: HWND , p : * mut root :: POINT) > , pub ScreenToClient : Option < unsafe extern "C" fn (hwnd : root :: HWND , p : * mut root :: POINT) > , pub GetWindowRect : Option < unsafe extern "C" fn (hwnd : root :: HWND , r : * mut root :: RECT) -> bool > , pub GetWindowContentViewRect : Option < unsafe extern "C" fn (hwnd : root :: HWND , r : * mut root :: RECT) > , pub GetClientRect : Option < unsafe extern "C" fn (hwnd : root :: HWND , r : * mut root :: RECT) > , pub WindowFromPoint : Option < unsafe extern "C" fn (p : root :: POINT) -> root :: HWND > , pub WinOffsetRect : Option < unsafe extern "C" fn (lprc : root :: LPRECT , dx : :: std :: os :: raw :: c_int , dy : :: std :: os :: raw :: c_int ,) -> root :: BOOL > , pub WinSetRect : Option < unsafe extern "C" fn (lprc : root :: LPRECT , xLeft : :: std :: os :: raw :: c_int , yTop : :: std :: os :: raw :: c_int , xRight : :: std :: os :: raw :: c_int , yBottom : :: std :: os :: raw :: c_int ,) -> root :: BOOL > , pub WinUnionRect : Option < unsafe extern "C" fn (out : * mut root :: RECT , in1 : * const root :: RECT , in2 : * const root :: RECT ,) > , pub WinIntersectRect : Option < unsafe extern "C" fn (out : * mut root :: RECT , in1 : * const root :: RECT , in2 : * const root :: RECT ,) -> :: std :: os :: raw :: c_int > , pub SetWindowPos : Option < unsafe extern "C" fn (hwnd : root :: HWND , unused : root :: HWND , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , cx : :: std :: os :: raw :: c_int , cy : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int ,) > , pub SWELL_SetWindowLevel : Option < unsafe extern "C" fn (hwnd : root :: HWND , newlevel : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub InvalidateRect : Option < unsafe extern "C" fn (hwnd : root :: HWND , r : * const root :: RECT , eraseBk : :: std :: os :: raw :: c_int ,) -> root :: BOOL > , pub UpdateWindow : Option < unsafe extern "C" fn (hwnd : root :: HWND) > , pub GetWindowLong : Option < unsafe extern "C" fn (hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int ,) -> root :: LONG_PTR > , pub SetWindowLong : Option < unsafe extern "C" fn (hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int , val : root :: LONG_PTR ,) -> root :: LONG_PTR > , pub ScrollWindow : Option < unsafe extern "C" fn (hwnd : root :: HWND , xamt : :: std :: os :: raw :: c_int , yamt : :: std :: os :: raw :: c_int , lpRect : * const root :: RECT , lpClipRect : * const root :: RECT ,) -> root :: BOOL > , pub EnumPropsEx : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : root :: PROPENUMPROCEX , arg3 : root :: LPARAM ,) -> :: std :: os :: raw :: c_int > , pub GetProp : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : * const :: std :: os :: raw :: c_char ,) -> root :: HANDLE > , pub SetProp : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : * const :: std :: os :: raw :: c_char , arg3 : root :: HANDLE ,) -> root :: BOOL > , pub RemoveProp : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : * const :: std :: os :: raw :: c_char ,) -> root :: HANDLE > , pub IsWindowVisible : Option < unsafe extern "C" fn (hwnd : root :: HWND) -> bool > , pub IsWindow : Option < unsafe extern "C" fn (hwnd : root :: HWND) -> bool > , pub SetTimer : Option < unsafe extern "C" fn (hwnd : root :: HWND , timerid : root :: UINT_PTR , rate : root :: UINT , tProc : root :: TIMERPROC ,) -> root :: UINT_PTR > , pub KillTimer : Option < unsafe extern "C" fn (hwnd : root :: HWND , timerid : root :: UINT_PTR) -> root :: BOOL > , pub ListView_SetExtendedListViewStyleEx : Option < unsafe extern "C" fn (h : root :: HWND , mask : :: std :: os :: raw :: c_int , style : :: std :: os :: raw :: c_int ,) > , pub ListView_InsertColumn : Option < unsafe extern "C" fn (h : root :: HWND , pos : :: std :: os :: raw :: c_int , lvc : * const root :: LVCOLUMN ,) > , pub ListView_DeleteColumn : Option < unsafe extern "C" fn (h : root :: HWND , pos : :: std :: os :: raw :: c_int) -> bool > , pub ListView_SetColumn : Option < unsafe extern "C" fn (h : root :: HWND , pos : :: std :: os :: raw :: c_int , lvc : * const root :: LVCOLUMN ,) > , pub ListView_GetColumnWidth : Option < unsafe extern "C" fn (h : root :: HWND , pos : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub ListView_InsertItem : Option < unsafe extern "C" fn (h : root :: HWND , item : * const root :: LVITEM ,) -> :: std :: os :: raw :: c_int > , pub ListView_SetItemText : Option < unsafe extern "C" fn (h : root :: HWND , ipos : :: std :: os :: raw :: c_int , cpos : :: std :: os :: raw :: c_int , txt : * const :: std :: os :: raw :: c_char ,) > , pub ListView_SetItem : Option < unsafe extern "C" fn (h : root :: HWND , item : * mut root :: LVITEM) -> bool > , pub ListView_GetNextItem : Option < unsafe extern "C" fn (h : root :: HWND , istart : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub ListView_GetItem : Option < unsafe extern "C" fn (h : root :: HWND , item : * mut root :: LVITEM) -> bool > , pub ListView_GetItemState : Option < unsafe extern "C" fn (h : root :: HWND , ipos : :: std :: os :: raw :: c_int , mask : root :: UINT ,) -> :: std :: os :: raw :: c_int > , pub ListView_DeleteItem : Option < unsafe extern "C" fn (h : root :: HWND , ipos : :: std :: os :: raw :: c_int) > , pub ListView_DeleteAllItems : Option < unsafe extern "C" fn (h : root :: HWND) > , pub ListView_GetSelectedCount : Option < unsafe extern "C" fn (h : root :: HWND) -> :: std :: os :: raw :: c_int > , pub ListView_GetItemCount : Option < unsafe extern "C" fn (h : root :: HWND) -> :: std :: os :: raw :: c_int > , pub ListView_GetSelectionMark : Option < unsafe extern "C" fn (h : root :: HWND) -> :: std :: os :: raw :: c_int > , pub ListView_SetColumnWidth : Option < unsafe extern "C" fn (h : root :: HWND , colpos : :: std :: os :: raw :: c_int , wid : :: std :: os :: raw :: c_int ,) > , pub ListView_SetItemState : Option < unsafe extern "C" fn (h : root :: HWND , item : :: std :: os :: raw :: c_int , state : root :: UINT , statemask : root :: UINT ,) -> bool > , pub ListView_RedrawItems : Option < unsafe extern "C" fn (h : root :: HWND , startitem : :: std :: os :: raw :: c_int , enditem : :: std :: os :: raw :: c_int ,) > , pub ListView_SetItemCount : Option < unsafe extern "C" fn (h : root :: HWND , cnt : :: std :: os :: raw :: c_int) > , pub ListView_EnsureVisible : Option < unsafe extern "C" fn (h : root :: HWND , i : :: std :: os :: raw :: c_int , pok : root :: BOOL) > , pub ListView_SetImageList : Option < unsafe extern "C" fn (h : root :: HWND , imagelist : root :: HIMAGELIST , which : :: std :: os :: raw :: c_int ,) > , pub ListView_SubItemHitTest : Option < unsafe extern "C" fn (h : root :: HWND , pinf : * mut root :: LVHITTESTINFO ,) -> :: std :: os :: raw :: c_int > , pub ListView_GetItemText : Option < unsafe extern "C" fn (hwnd : root :: HWND , item : :: std :: os :: raw :: c_int , subitem : :: std :: os :: raw :: c_int , text : * mut :: std :: os :: raw :: c_char , textmax : :: std :: os :: raw :: c_int ,) > , pub ListView_SortItems : Option < unsafe extern "C" fn (hwnd : root :: HWND , compf : root :: PFNLVCOMPARE , parm : root :: LPARAM ,) > , pub ListView_Scroll : Option < unsafe extern "C" fn (h : root :: HWND , xscroll : :: std :: os :: raw :: c_int , yscroll : :: std :: os :: raw :: c_int ,) -> bool > , pub ListView_GetTopIndex : Option < unsafe extern "C" fn (h : root :: HWND) -> :: std :: os :: raw :: c_int > , pub ListView_GetCountPerPage : Option < unsafe extern "C" fn (h : root :: HWND) -> :: std :: os :: raw :: c_int > , pub ListView_SetColumnOrderArray : Option < unsafe extern "C" fn (h : root :: HWND , cnt : :: std :: os :: raw :: c_int , arr : * mut :: std :: os :: raw :: c_int ,) -> root :: BOOL > , pub ListView_GetColumnOrderArray : Option < unsafe extern "C" fn (h : root :: HWND , cnt : :: std :: os :: raw :: c_int , arr : * mut :: std :: os :: raw :: c_int ,) -> root :: BOOL > , pub ListView_GetHeader : Option < unsafe extern "C" fn (h : root :: HWND) -> root :: HWND > , pub Header_GetItemCount : Option < unsafe extern "C" fn (h : root :: HWND) -> :: std :: os :: raw :: c_int > , pub Header_GetItem : Option < unsafe extern "C" fn (h : root :: HWND , col : :: std :: os :: raw :: c_int , hi : * mut root :: HDITEM ,) -> root :: BOOL > , pub Header_SetItem : Option < unsafe extern "C" fn (h : root :: HWND , col : :: std :: os :: raw :: c_int , hi : * mut root :: HDITEM ,) -> root :: BOOL > , pub ListView_GetItemRect : Option < unsafe extern "C" fn (h : root :: HWND , item : :: std :: os :: raw :: c_int , r : * mut root :: RECT , code : :: std :: os :: raw :: c_int ,) -> bool > , pub ListView_GetSubItemRect : Option < unsafe extern "C" fn (h : root :: HWND , item : :: std :: os :: raw :: c_int , subitem : :: std :: os :: raw :: c_int , code : :: std :: os :: raw :: c_int , r : * mut root :: RECT ,) -> bool > , pub ListView_HitTest : Option < unsafe extern "C" fn (h : root :: HWND , pinf : * mut root :: LVHITTESTINFO ,) -> :: std :: os :: raw :: c_int > , pub SWELL_GetListViewHeaderHeight : Option < unsafe extern "C" fn (h : root :: HWND) -> :: std :: os :: raw :: c_int > , pub ImageList_CreateEx : Option < extern "C" fn () -> root :: HIMAGELIST > , pub ImageList_Remove : Option < unsafe extern "C" fn (list : root :: HIMAGELIST , idx : :: std :: os :: raw :: c_int ,) -> root :: BOOL > , pub ImageList_ReplaceIcon : Option < unsafe extern "C" fn (list : root :: HIMAGELIST , offset : :: std :: os :: raw :: c_int , image : root :: HICON ,) -> :: std :: os :: raw :: c_int > , pub ImageList_Add : Option < unsafe extern "C" fn (list : root :: HIMAGELIST , image : root :: HBITMAP , mask : root :: HBITMAP ,) -> :: std :: os :: raw :: c_int > , pub ImageList_Destroy : Option < unsafe extern "C" fn (arg1 : root :: HIMAGELIST) > , pub TabCtrl_GetItemCount : Option < unsafe extern "C" fn (hwnd : root :: HWND) -> :: std :: os :: raw :: c_int > , pub TabCtrl_DeleteItem : Option < unsafe extern "C" fn (hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int) -> root :: BOOL > , pub TabCtrl_InsertItem : Option < unsafe extern "C" fn (hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int , item : * mut root :: TCITEM ,) -> :: std :: os :: raw :: c_int > , pub TabCtrl_SetCurSel : Option < unsafe extern "C" fn (hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub TabCtrl_GetCurSel : Option < unsafe extern "C" fn (hwnd : root :: HWND) -> :: std :: os :: raw :: c_int > , pub TabCtrl_AdjustRect : Option < unsafe extern "C" fn (hwnd : root :: HWND , fLarger : root :: BOOL , r : * mut root :: RECT ,) -> root :: BOOL > , pub TreeView_InsertItem : Option < unsafe extern "C" fn (hwnd : root :: HWND , ins : * mut root :: TV_INSERTSTRUCT ,) -> root :: HTREEITEM > , pub TreeView_Expand : Option < unsafe extern "C" fn (hwnd : root :: HWND , item : root :: HTREEITEM , flag : root :: UINT ,) -> root :: BOOL > , pub TreeView_GetSelection : Option < unsafe extern "C" fn (hwnd : root :: HWND) -> root :: HTREEITEM > , pub TreeView_DeleteItem : Option < unsafe extern "C" fn (hwnd : root :: HWND , item : root :: HTREEITEM) > , pub TreeView_DeleteAllItems : Option < unsafe extern "C" fn (hwnd : root :: HWND) > , pub TreeView_SelectItem : Option < unsafe extern "C" fn (hwnd : root :: HWND , item : root :: HTREEITEM) > , pub TreeView_EnsureVisible : Option < unsafe extern "C" fn (hwnd : root :: HWND , item : root :: HTREEITEM) > , pub TreeView_GetItem : Option < unsafe extern "C" fn (hwnd : root :: HWND , pitem : root :: LPTVITEM) -> root :: BOOL > , pub TreeView_SetItem : Option < unsafe extern "C" fn (hwnd : root :: HWND , pitem : root :: LPTVITEM) -> root :: BOOL > , pub TreeView_HitTest : Option < unsafe extern "C" fn (hwnd : root :: HWND , hti : * mut root :: TVHITTESTINFO ,) -> root :: HTREEITEM > , pub TreeView_SetIndent : Option < unsafe extern "C" fn (hwnd : root :: HWND , indent : :: std :: os :: raw :: c_int) -> root :: BOOL > , pub TreeView_GetParent : Option < unsafe extern "C" fn (hwnd : root :: HWND , item : root :: HTREEITEM) -> root :: HTREEITEM > , pub TreeView_GetChild : Option < unsafe extern "C" fn (hwnd : root :: HWND , item : root :: HTREEITEM) -> root :: HTREEITEM > , pub TreeView_GetNextSibling : Option < unsafe extern "C" fn (hwnd : root :: HWND , item : root :: HTREEITEM) -> root :: HTREEITEM > , pub TreeView_GetRoot : Option < unsafe extern "C" fn (hwnd : root :: HWND) -> root :: HTREEITEM > , pub TreeView_SetBkColor : Option < unsafe extern "C" fn (hwnd : root :: HWND , color : :: std :: os :: raw :: c_int) > , pub TreeView_SetTextColor : Option < unsafe extern "C" fn (hwnd : root :: HWND , color : :: std :: os :: raw :: c_int) > , pub ListView_SetBkColor : Option < unsafe extern "C" fn (hwnd : root :: HWND , color : :: std :: os :: raw :: c_int) > , pub ListView_SetTextBkColor : Option < unsafe extern "C" fn (hwnd : root :: HWND , color : :: std :: os :: raw :: c_int) > , pub ListView_SetTextColor : Option < unsafe extern "C" fn (hwnd : root :: HWND , color : :: std :: os :: raw :: c_int) > , pub ListView_SetGridColor : Option < unsafe extern "C" fn (hwnd : root :: HWND , color : :: std :: os :: raw :: c_int) > , pub ListView_SetSelColors : Option < unsafe extern "C" fn (hwnd : root :: HWND , colors : * mut :: std :: os :: raw :: c_int , ncolors : :: std :: os :: raw :: c_int ,) > , pub SWELL_ModalWindowStart : Option < unsafe extern "C" fn (hwnd : root :: HWND) -> * mut :: std :: os :: raw :: c_void > , pub SWELL_ModalWindowRun : Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void , ret : * mut :: std :: os :: raw :: c_int ,) -> bool > , pub SWELL_ModalWindowEnd : Option < unsafe extern "C" fn (ctx : * mut :: std :: os :: raw :: c_void) > , pub SWELL_CloseWindow : Option < unsafe extern "C" fn (hwnd : root :: HWND) > , pub CreatePopupMenu : Option < extern "C" fn () -> root :: HMENU > , pub CreatePopupMenuEx : Option < unsafe extern "C" fn (title : * const :: std :: os :: raw :: c_char) -> root :: HMENU > , pub DestroyMenu : Option < unsafe extern "C" fn (hMenu : root :: HMENU) > , pub AddMenuItem : Option < unsafe extern "C" fn (hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int , name : * const :: std :: os :: raw :: c_char , tagid : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetSubMenu : Option < unsafe extern "C" fn (hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int) -> root :: HMENU > , pub GetMenuItemCount : Option < unsafe extern "C" fn (hMenu : root :: HMENU) -> :: std :: os :: raw :: c_int > , pub GetMenuItemID : Option < unsafe extern "C" fn (hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub SetMenuItemModifier : Option < unsafe extern "C" fn (hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int , code : :: std :: os :: raw :: c_int , mask : :: std :: os :: raw :: c_uint ,) -> bool > , pub SetMenuItemText : Option < unsafe extern "C" fn (hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int , text : * const :: std :: os :: raw :: c_char ,) -> bool > , pub EnableMenuItem : Option < unsafe extern "C" fn (hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , en : :: std :: os :: raw :: c_int ,) -> bool > , pub DeleteMenu : Option < unsafe extern "C" fn (hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int ,) -> bool > , pub CheckMenuItem : Option < unsafe extern "C" fn (hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , chk : :: std :: os :: raw :: c_int ,) -> bool > , pub InsertMenuItem : Option < unsafe extern "C" fn (hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int , byPos : root :: BOOL , mi : * mut root :: MENUITEMINFO ,) > , pub SWELL_InsertMenu : Option < unsafe extern "C" fn (menu : root :: HMENU , pos : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_uint , idx : root :: UINT_PTR , str : * const :: std :: os :: raw :: c_char ,) > , pub GetMenuItemInfo : Option < unsafe extern "C" fn (hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int , byPos : root :: BOOL , mi : * mut root :: MENUITEMINFO ,) -> root :: BOOL > , pub SetMenuItemInfo : Option < unsafe extern "C" fn (hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int , byPos : root :: BOOL , mi : * mut root :: MENUITEMINFO ,) -> root :: BOOL > , pub DrawMenuBar : Option < unsafe extern "C" fn (arg1 : root :: HWND) > , pub SWELL_LoadMenu : Option < unsafe extern "C" fn (head : * mut root :: SWELL_MenuResourceIndex , resid : * const :: std :: os :: raw :: c_char ,) -> root :: HMENU > , pub TrackPopupMenu : Option < unsafe extern "C" fn (hMenu : root :: HMENU , flags : :: std :: os :: raw :: c_int , xpos : :: std :: os :: raw :: c_int , ypos : :: std :: os :: raw :: c_int , resvd : :: std :: os :: raw :: c_int , hwnd : root :: HWND , r : * const root :: RECT ,) -> :: std :: os :: raw :: c_int > , pub SWELL_SetMenuDestination : Option < unsafe extern "C" fn (menu : root :: HMENU , hwnd : root :: HWND) > , pub SWELL_DuplicateMenu : Option < unsafe extern "C" fn (menu : root :: HMENU) -> root :: HMENU > , pub SetMenu : Option < unsafe extern "C" fn (hwnd : root :: HWND , menu : root :: HMENU) -> root :: BOOL > , pub GetMenu : Option < unsafe extern "C" fn (hwnd : root :: HWND) -> root :: HMENU > , pub SWELL_GetDefaultWindowMenu : Option < extern "C" fn () -> root :: HMENU > , pub SWELL_SetDefaultWindowMenu : Option < unsafe extern "C" fn (arg1 : root :: HMENU) > , pub SWELL_GetDefaultModalWindowMenu : Option < extern "C" fn () -> root :: HMENU > , pub SWELL_SetDefaultModalWindowMenu : Option < unsafe extern "C" fn (arg1 : root :: HMENU) > , pub SWELL_GetCurrentMenu : Option < extern "C" fn () -> root :: HMENU > , pub SWELL_SetCurrentMenu : Option < unsafe extern "C" fn (arg1 : root :: HMENU) > , pub SWELL_DialogBox : Option < unsafe extern "C" fn (reshead : * mut root :: SWELL_DialogResourceIndex , resid : * const :: std :: os :: raw :: c_char , parent : root :: HWND , dlgproc : root :: DLGPROC , param : root :: LPARAM ,) -> :: std :: os :: raw :: c_int > , pub SWELL_CreateDialog : Option < unsafe extern "C" fn (reshead : * mut root :: SWELL_DialogResourceIndex , resid : * const :: std :: os :: raw :: c_char , parent : root :: HWND , dlgproc : root :: DLGPROC , param : root :: LPARAM ,) -> root :: HWND > , pub SWELL_RegisterCustomControlCreator : Option < unsafe extern "C" fn (proc_ : root :: SWELL_ControlCreatorProc) > , pub SWELL_UnregisterCustomControlCreator : Option < unsafe extern "C" fn (proc_ : root :: SWELL_ControlCreatorProc) > , pub DefWindowProc : Option < unsafe extern "C" fn (hwnd : root :: HWND , msg : root :: UINT , wParam : root :: WPARAM , lParam : root :: LPARAM ,) -> root :: LRESULT > , pub EndDialog : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : :: std :: os :: raw :: c_int) > , pub SWELL_GetDefaultButtonID : Option < unsafe extern "C" fn (hwndDlg : root :: HWND , onlyIfEnabled : bool ,) -> :: std :: os :: raw :: c_int > , pub SendMessage : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : root :: UINT , arg3 : root :: WPARAM , arg4 : root :: LPARAM ,) -> root :: LRESULT > , pub SWELL_BroadcastMessage : Option < unsafe extern "C" fn (arg1 : root :: UINT , arg2 : root :: WPARAM , arg3 : root :: LPARAM) > , pub PostMessage : Option < unsafe extern "C" fn (hwnd : root :: HWND , msg : root :: UINT , wParam : root :: WPARAM , lParam : root :: LPARAM ,) -> root :: BOOL > , pub SWELL_MessageQueue_Flush : Option < extern "C" fn () > , pub SWELL_MessageQueue_Clear : Option < unsafe extern "C" fn (h : root :: HWND) > , pub SWELL_KeyToASCII : Option < unsafe extern "C" fn (wParam : :: std :: os :: raw :: c_int , lParam : :: std :: os :: raw :: c_int , newflags : * mut :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub GetAsyncKeyState : Option < extern "C" fn (key : :: std :: os :: raw :: c_int) -> root :: WORD > , pub GetCursorPos : Option < unsafe extern "C" fn (pt : * mut root :: POINT) > , pub GetMessagePos : Option < extern "C" fn () -> root :: DWORD > , pub SWELL_LoadCursor : Option < unsafe extern "C" fn (idx : * const :: std :: os :: raw :: c_char) -> root :: HCURSOR > , pub SWELL_SetCursor : Option < unsafe extern "C" fn (curs : root :: HCURSOR) > , pub SWELL_EnableRightClickEmulate : Option < unsafe extern "C" fn (enable : root :: BOOL) > , pub SWELL_GetCursor : Option < extern "C" fn () -> root :: HCURSOR > , pub SWELL_GetLastSetCursor : Option < extern "C" fn () -> root :: HCURSOR > , pub SWELL_IsCursorVisible : Option < extern "C" fn () -> bool > , pub SWELL_ShowCursor : Option < unsafe extern "C" fn (bShow : root :: BOOL) -> :: std :: os :: raw :: c_int > , pub SWELL_SetCursorPos : Option < extern "C" fn (X : :: std :: os :: raw :: c_int , Y : :: std :: os :: raw :: c_int ,) -> root :: BOOL > , pub SWELL_GetViewPort : Option < unsafe extern "C" fn (r : * mut root :: RECT , sourcerect : * const root :: RECT , wantWork : bool ,) > , pub OpenClipboard : Option < unsafe extern "C" fn (hwndDlg : root :: HWND) -> bool > , pub CloseClipboard : Option < extern "C" fn () > , pub GetClipboardData : Option < unsafe extern "C" fn (type_ : root :: UINT) -> root :: HANDLE > , pub EmptyClipboard : Option < extern "C" fn () > , pub SetClipboardData : Option < unsafe extern "C" fn (type_ : root :: UINT , h : root :: HANDLE) > , pub RegisterClipboardFormat : Option < unsafe extern "C" fn (desc : * const :: std :: os :: raw :: c_char) -> root :: UINT > , pub EnumClipboardFormats : Option < unsafe extern "C" fn (lastfmt : root :: UINT) -> root :: UINT > , pub GlobalAlloc : Option < extern "C" fn (flags : :: std :: os :: raw :: c_int , sz : :: std :: os :: raw :: c_int ,) -> root :: HANDLE > , pub GlobalLock : Option < unsafe extern "C" fn (h : root :: HANDLE) -> * mut :: std :: os :: raw :: c_void > , pub GlobalSize : Option < unsafe extern "C" fn (h : root :: HANDLE) -> :: std :: os :: raw :: c_int > , pub GlobalUnlock : Option < unsafe extern "C" fn (h : root :: HANDLE) > , pub GlobalFree : Option < unsafe extern "C" fn (h : root :: HANDLE) > , pub CreateThread : Option < unsafe extern "C" fn (TA : * mut :: std :: os :: raw :: c_void , stackSize : root :: DWORD , ThreadProc : :: std :: option :: Option < unsafe extern "C" fn (arg1 : root :: LPVOID) -> root :: DWORD , > , parm : root :: LPVOID , cf : root :: DWORD , tidOut : * mut root :: DWORD ,) -> root :: HANDLE > , pub CreateEvent : Option < unsafe extern "C" fn (SA : * mut :: std :: os :: raw :: c_void , manualReset : root :: BOOL , initialSig : root :: BOOL , ignored : * const :: std :: os :: raw :: c_char ,) -> root :: HANDLE > , pub CreateEventAsSocket : Option < unsafe extern "C" fn (SA : * mut :: std :: os :: raw :: c_void , manualReset : root :: BOOL , initialSig : root :: BOOL , ignored : * const :: std :: os :: raw :: c_char ,) -> root :: HANDLE > , pub GetCurrentThreadId : Option < extern "C" fn () -> root :: DWORD > , pub WaitForSingleObject : Option < unsafe extern "C" fn (hand : root :: HANDLE , msTO : root :: DWORD) -> root :: DWORD > , pub WaitForAnySocketObject : Option < unsafe extern "C" fn (numObjs : :: std :: os :: raw :: c_int , objs : * mut root :: HANDLE , msTO : root :: DWORD ,) -> root :: DWORD > , pub CloseHandle : Option < unsafe extern "C" fn (hand : root :: HANDLE) -> root :: BOOL > , pub SetThreadPriority : Option < unsafe extern "C" fn (evt : root :: HANDLE , prio : :: std :: os :: raw :: c_int) -> root :: BOOL > , pub SetEvent : Option < unsafe extern "C" fn (evt : root :: HANDLE) -> root :: BOOL > , pub ResetEvent : Option < unsafe extern "C" fn (evt : root :: HANDLE) -> root :: BOOL > , pub SWELL_CreateProcessFromPID : Option < extern "C" fn (pid : :: std :: os :: raw :: c_int) -> root :: HANDLE > , pub SWELL_CreateProcess : Option < unsafe extern "C" fn (exe : * const :: std :: os :: raw :: c_char , nparams : :: std :: os :: raw :: c_int , params : * mut * const :: std :: os :: raw :: c_char ,) -> root :: HANDLE > , pub SWELL_GetProcessExitCode : Option < unsafe extern "C" fn (hand : root :: HANDLE) -> :: std :: os :: raw :: c_int > , pub LoadLibraryGlobals : Option < unsafe extern "C" fn (fileName : * const :: std :: os :: raw :: c_char , symbolsAsGlobals : bool ,) -> root :: HINSTANCE > , pub LoadLibrary : Option < unsafe extern "C" fn (fileName : * const :: std :: os :: raw :: c_char) -> root :: HINSTANCE > , pub GetProcAddress : Option < unsafe extern "C" fn (hInst : root :: HINSTANCE , procName : * const :: std :: os :: raw :: c_char ,) -> * mut :: std :: os :: raw :: c_void > , pub FreeLibrary : Option < unsafe extern "C" fn (hInst : root :: HINSTANCE) -> root :: BOOL > , pub SWELL_GetBundle : Option < unsafe extern "C" fn (hInst : root :: HINSTANCE) -> * mut :: std :: os :: raw :: c_void > , pub SWELL_CreateMemContext : Option < unsafe extern "C" fn (hdc : root :: HDC , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int ,) -> root :: HDC > , pub SWELL_DeleteGfxContext : Option < unsafe extern "C" fn (arg1 : root :: HDC) > , pub SWELL_GetCtxGC : Option < unsafe extern "C" fn (ctx : root :: HDC) -> * mut :: std :: os :: raw :: c_void > , pub SWELL_GetCtxFrameBuffer : Option < unsafe extern "C" fn (ctx : root :: HDC) -> * mut :: std :: os :: raw :: c_void > , pub SWELL_PushClipRegion : Option < unsafe extern "C" fn (ctx : root :: HDC) > , pub SWELL_SetClipRegion : Option < unsafe extern "C" fn (ctx : root :: HDC , r : * const root :: RECT) > , pub SWELL_PopClipRegion : Option < unsafe extern "C" fn (ctx : root :: HDC) > , pub CreateFontIndirect : Option < unsafe extern "C" fn (arg1 : * mut root :: LOGFONT) -> root :: HFONT > , pub CreateFont : Option < unsafe extern "C" fn (lfHeight : :: std :: os :: raw :: c_int , lfWidth : :: std :: os :: raw :: c_int , lfEscapement : :: std :: os :: raw :: c_int , lfOrientation : :: std :: os :: raw :: c_int , lfWeight : :: std :: os :: raw :: c_int , lfItalic : :: std :: os :: raw :: c_char , lfUnderline : :: std :: os :: raw :: c_char , lfStrikeOut : :: std :: os :: raw :: c_char , lfCharSet : :: std :: os :: raw :: c_char , lfOutPrecision : :: std :: os :: raw :: c_char , lfClipPrecision : :: std :: os :: raw :: c_char , lfQuality : :: std :: os :: raw :: c_char , lfPitchAndFamily : :: std :: os :: raw :: c_char , lfFaceName : * const :: std :: os :: raw :: c_char ,) -> root :: HFONT > , pub CreatePen : Option < extern "C" fn (attr : :: std :: os :: raw :: c_int , wid : :: std :: os :: raw :: c_int , col : :: std :: os :: raw :: c_int ,) -> root :: HPEN > , pub CreateSolidBrush : Option < extern "C" fn (col : :: std :: os :: raw :: c_int) -> root :: HBRUSH > , pub CreatePenAlpha : Option < extern "C" fn (attr : :: std :: os :: raw :: c_int , wid : :: std :: os :: raw :: c_int , col : :: std :: os :: raw :: c_int , alpha : f32 ,) -> root :: HPEN > , pub CreateSolidBrushAlpha : Option < extern "C" fn (col : :: std :: os :: raw :: c_int , alpha : f32) -> root :: HBRUSH > , pub SelectObject : Option < unsafe extern "C" fn (ctx : root :: HDC , pen : root :: HGDIOBJ) -> root :: HGDIOBJ > , pub GetStockObject : Option < extern "C" fn (wh : :: std :: os :: raw :: c_int) -> root :: HGDIOBJ > , pub DeleteObject : Option < unsafe extern "C" fn (arg1 : root :: HGDIOBJ) > , pub SWELL_FillRect : Option < unsafe extern "C" fn (ctx : root :: HDC , r : * const root :: RECT , br : root :: HBRUSH) > , pub Rectangle : Option < unsafe extern "C" fn (ctx : root :: HDC , l : :: std :: os :: raw :: c_int , t : :: std :: os :: raw :: c_int , r : :: std :: os :: raw :: c_int , b : :: std :: os :: raw :: c_int ,) > , pub Ellipse : Option < unsafe extern "C" fn (ctx : root :: HDC , l : :: std :: os :: raw :: c_int , t : :: std :: os :: raw :: c_int , r : :: std :: os :: raw :: c_int , b : :: std :: os :: raw :: c_int ,) > , pub SWELL_Polygon : Option < unsafe extern "C" fn (ctx : root :: HDC , pts : * mut root :: POINT , npts : :: std :: os :: raw :: c_int ,) > , pub MoveToEx : Option < unsafe extern "C" fn (ctx : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , op : * mut root :: POINT ,) > , pub SWELL_LineTo : Option < unsafe extern "C" fn (ctx : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int ,) > , pub SWELL_SetPixel : Option < unsafe extern "C" fn (ctx : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , c : :: std :: os :: raw :: c_int ,) > , pub PolyBezierTo : Option < unsafe extern "C" fn (ctx : root :: HDC , pts : * mut root :: POINT , np : :: std :: os :: raw :: c_int ,) > , pub SWELL_DrawText : Option < unsafe extern "C" fn (ctx : root :: HDC , buf : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , r : * mut root :: RECT , align : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub SetTextColor : Option < unsafe extern "C" fn (ctx : root :: HDC , col : :: std :: os :: raw :: c_int) > , pub GetTextColor : Option < unsafe extern "C" fn (ctx : root :: HDC) -> :: std :: os :: raw :: c_int > , pub SetBkColor : Option < unsafe extern "C" fn (ctx : root :: HDC , col : :: std :: os :: raw :: c_int) > , pub SetBkMode : Option < unsafe extern "C" fn (ctx : root :: HDC , col : :: std :: os :: raw :: c_int) > , pub GetGlyphIndicesW : Option < unsafe extern "C" fn (ctx : root :: HDC , buf : * mut u32 , len : :: std :: os :: raw :: c_int , indices : * mut :: std :: os :: raw :: c_ushort , flags : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub RoundRect : Option < unsafe extern "C" fn (ctx : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , x2 : :: std :: os :: raw :: c_int , y2 : :: std :: os :: raw :: c_int , xrnd : :: std :: os :: raw :: c_int , yrnd : :: std :: os :: raw :: c_int ,) > , pub PolyPolyline : Option < unsafe extern "C" fn (ctx : root :: HDC , pts : * mut root :: POINT , cnts : * mut root :: DWORD , nseg : :: std :: os :: raw :: c_int ,) > , pub GetTextMetrics : Option < unsafe extern "C" fn (ctx : root :: HDC , tm : * mut root :: TEXTMETRIC) -> root :: BOOL > , pub GetTextFace : Option < unsafe extern "C" fn (ctx : root :: HDC , nCount : :: std :: os :: raw :: c_int , lpFaceName : root :: LPTSTR ,) -> :: std :: os :: raw :: c_int > , pub GetObject : Option < unsafe extern "C" fn (icon : root :: HICON , bmsz : :: std :: os :: raw :: c_int , _bm : * mut :: std :: os :: raw :: c_void ,) -> root :: BOOL > , pub CreateIconIndirect : Option < unsafe extern "C" fn (iconinfo : * mut root :: ICONINFO) -> root :: HICON > , pub LoadNamedImage : Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , alphaFromMask : bool ,) -> root :: HICON > , pub DrawImageInRect : Option < unsafe extern "C" fn (ctx : root :: HDC , img : root :: HICON , r : * const root :: RECT) > , pub BitBlt : Option < unsafe extern "C" fn (hdcOut : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , hdcIn : root :: HDC , xin : :: std :: os :: raw :: c_int , yin : :: std :: os :: raw :: c_int , mode : :: std :: os :: raw :: c_int ,) > , pub StretchBlt : Option < unsafe extern "C" fn (hdcOut : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , hdcIn : root :: HDC , xin : :: std :: os :: raw :: c_int , yin : :: std :: os :: raw :: c_int , srcw : :: std :: os :: raw :: c_int , srch : :: std :: os :: raw :: c_int , mode : :: std :: os :: raw :: c_int ,) > , pub StretchBltFromMem : Option < unsafe extern "C" fn (hdcOut : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , bits : * const :: std :: os :: raw :: c_void , srcw : :: std :: os :: raw :: c_int , srch : :: std :: os :: raw :: c_int , srcspan : :: std :: os :: raw :: c_int ,) > , pub SWELL_GetScaling256 : Option < extern "C" fn () -> :: std :: os :: raw :: c_int > , pub SWELL_ExtendedAPI : Option < unsafe extern "C" fn (key : * const :: std :: os :: raw :: c_char , v : * mut :: std :: os :: raw :: c_void ,) -> * mut :: std :: os :: raw :: c_void > , pub GetSysColor : Option < extern "C" fn (idx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > , pub CreateBitmap : Option < unsafe extern "C" fn (width : :: std :: os :: raw :: c_int , height : :: std :: os :: raw :: c_int , numplanes : :: std :: os :: raw :: c_int , bitsperpixel : :: std :: os :: raw :: c_int , bits : * mut :: std :: os :: raw :: c_uchar ,) -> root :: HBITMAP > , pub SetOpaque : Option < unsafe extern "C" fn (h : root :: HWND , isopaque : bool) > , pub SetAllowNoMiddleManRendering : Option < unsafe extern "C" fn (h : root :: HWND , allow : bool) > , pub SWELL_SetViewGL : Option < unsafe extern "C" fn (h : root :: HWND , wantGL : :: std :: os :: raw :: c_char) > , pub SWELL_GetViewGL : Option < unsafe extern "C" fn (h : root :: HWND) -> bool > , pub SWELL_SetGLContextToView : Option < unsafe extern "C" fn (h : root :: HWND) -> bool > , pub BeginPaint : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : * mut root :: PAINTSTRUCT) -> root :: HDC > , pub EndPaint : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : * mut root :: PAINTSTRUCT) -> root :: BOOL > , pub GetDC : Option < unsafe extern "C" fn (arg1 : root :: HWND) -> root :: HDC > , pub GetWindowDC : Option < unsafe extern "C" fn (arg1 : root :: HWND) -> root :: HDC > , pub ReleaseDC : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : root :: HDC) > , pub SWELL_FillDialogBackground : Option < unsafe extern "C" fn (hdc : root :: HDC , r : * const root :: RECT , level : :: std :: os :: raw :: c_int ,) > , pub SWELL_CloneGDIObject : Option < unsafe extern "C" fn (a : root :: HGDIOBJ) -> root :: HGDIOBJ > , pub GetSystemMetrics : Option < extern "C" fn (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > , pub DragQueryPoint : Option < unsafe extern "C" fn (arg1 : root :: HDROP , arg2 : root :: LPPOINT) -> root :: BOOL > , pub DragFinish : Option < unsafe extern "C" fn (arg1 : root :: HDROP) > , pub DragQueryFile : Option < unsafe extern "C" fn (arg1 : root :: HDROP , arg2 : root :: UINT , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : root :: UINT ,) -> root :: UINT > , pub SWELL_InitiateDragDrop : Option < unsafe extern "C" fn (arg1 : root :: HWND , srcrect : * mut root :: RECT , srcfn : * const :: std :: os :: raw :: c_char , callback : :: std :: option :: Option < unsafe extern "C" fn (droppath : * const :: std :: os :: raw :: c_char) , > ,) > , pub SWELL_InitiateDragDropOfFileList : Option < unsafe extern "C" fn (arg1 : root :: HWND , srcrect : * mut root :: RECT , srclist : * mut * const :: std :: os :: raw :: c_char , srccount : :: std :: os :: raw :: c_int , icon : root :: HICON ,) > , pub SWELL_FinishDragDrop : Option < extern "C" fn () > , pub SWELL_DrawFocusRect : Option < unsafe extern "C" fn (hwndPar : root :: HWND , rct : * mut root :: RECT , handle : * mut * mut :: std :: os :: raw :: c_void ,) > , pub SWELL_MakeSetCurParms : Option < unsafe extern "C" fn (xscale : f32 , yscale : f32 , xtrans : f32 , ytrans : f32 , parent : root :: HWND , doauto : bool , dosizetofit : bool ,) > , pub SWELL_MakeButton : Option < unsafe extern "C" fn (def : :: std :: os :: raw :: c_int , label : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int ,) -> root :: HWND > , pub SWELL_MakeEditField : Option < extern "C" fn (idx : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int ,) -> root :: HWND > , pub SWELL_MakeLabel : Option < unsafe extern "C" fn (align : :: std :: os :: raw :: c_int , label : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int ,) -> root :: HWND > , pub SWELL_MakeControl : Option < unsafe extern "C" fn (cname : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , classname : * const :: std :: os :: raw :: c_char , style : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , exstyle : :: std :: os :: raw :: c_int ,) -> root :: HWND > , pub SWELL_MakeCombo : Option < extern "C" fn (idx : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int ,) -> root :: HWND > , pub SWELL_MakeGroupBox : Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , style : :: std :: os :: raw :: c_int ,) -> root :: HWND > , pub SWELL_MakeCheckBox : Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int ,) -> root :: HWND > , pub SWELL_MakeListBox : Option < extern "C" fn (idx : :: std :: os :: raw :: c_int , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , styles : :: std :: os :: raw :: c_int ,) -> root :: HWND > , pub SWELL_Menu_AddMenuItem : Option < unsafe extern "C" fn (hMenu : root :: HMENU , name : * const :: std :: os :: raw :: c_char , idx : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_uint ,) > , pub SWELL_GenerateMenuFromList : Option < unsafe extern "C" fn (hMenu : root :: HMENU , list : * const :: std :: os :: raw :: c_void , listsz : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub SWELL_GenerateDialogFromList : Option < unsafe extern "C" fn (list : * const :: std :: os :: raw :: c_void , listsz : :: std :: os :: raw :: c_int ,) > , pub _controlfp : Option < extern "C" fn (flag : :: std :: os :: raw :: c_uint , mask : :: std :: os :: raw :: c_uint ,) -> :: std :: os :: raw :: c_uint > , pub SWELL_Internal_PostMessage_Init : Option < extern "C" fn () > , pub SWELL_LoadCursorFromFile : Option < unsafe extern "C" fn (fn_ : * const :: std :: os :: raw :: c_char) -> root :: HCURSOR > , pub SWELL_SetWindowWantRaiseAmt : Option < unsafe extern "C" fn (h : root :: HWND , amt : :: std :: os :: raw :: c_int) > , pub SWELL_GetWindowWantRaiseAmt : Option < unsafe extern "C" fn (arg1 : root :: HWND) -> :: std :: os :: raw :: c_int > , pub SWELL_SetListViewFastClickMask : Option < unsafe extern "C" fn (hList : root :: HWND , mask : :: std :: os :: raw :: c_int) > , pub GetTempPath : Option < unsafe extern "C" fn (sz : :: std :: os :: raw :: c_int , buf : * mut :: std :: os :: raw :: c_char) > , pub SWELL_initargs : Option < unsafe extern "C" fn (argc : * mut :: std :: os :: raw :: c_int , argv : * mut * mut * mut :: std :: os :: raw :: c_char ,) > , pub SWELL_RunMessageLoop : Option < extern "C" fn () > , pub SWELL_CreateXBridgeWindow : Option < unsafe extern "C" fn (viewpar : root :: HWND , wref : * mut * mut :: std :: os :: raw :: c_void , arg1 : * const root :: RECT ,) -> root :: HWND > , pub SWELL_GetOSWindow : Option < unsafe extern "C" fn (hwnd : root :: HWND , type_ : * const :: std :: os :: raw :: c_char ,) -> * mut :: std :: os :: raw :: c_void > , pub SWELL_GetOSEvent : Option < unsafe extern "C" fn (type_ : * const :: std :: os :: raw :: c_char ,) -> * mut :: std :: os :: raw :: c_void > , pub SWELL_GenerateGUID : Option < unsafe extern "C" fn (g : * mut :: std :: os :: raw :: c_void) -> bool > , pub EnumChildWindows : Option < unsafe extern "C" fn (hwnd : root :: HWND , cwEnumFunc : :: std :: option :: Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : root :: LPARAM) -> root :: BOOL , > , lParam : root :: LPARAM ,) -> root :: BOOL > , pub SWELL_IsGroupBox : Option < unsafe extern "C" fn (arg1 : root :: HWND) -> root :: BOOL > , pub SWELL_IsButton : Option < unsafe extern "C" fn (arg1 : root :: HWND) -> root :: BOOL > , pub SWELL_IsStaticText : Option < unsafe extern "C" fn (arg1 : root :: HWND) -> root :: BOOL > , pub SWELL_GetDesiredControlSize : Option < unsafe extern "C" fn (hwnd : root :: HWND , r : * mut root :: RECT) > , pub AddFontResourceEx : Option < unsafe extern "C" fn (str : root :: LPCTSTR , fl : root :: DWORD , pdv : * mut :: std :: os :: raw :: c_void ,) -> :: std :: os :: raw :: c_int > , pub SWELL_Register_Cursor_Resource : Option < unsafe extern "C" fn (idx : * const :: std :: os :: raw :: c_char , name : * const :: std :: os :: raw :: c_char , hotspot_x : :: std :: os :: raw :: c_int , hotspot_y : :: std :: os :: raw :: c_int ,) > , pub SWELL_ChooseColor : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : * mut root :: COLORREF , ncustom : :: std :: os :: raw :: c_int , custom : * mut root :: COLORREF ,) -> bool > , pub SWELL_ChooseFont : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : * mut root :: LOGFONT) -> bool > , pub IsWindowEnabled : Option < unsafe extern "C" fn (arg1 : root :: HWND) -> bool > , pub GetClassName : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ,) -> :: std :: os :: raw :: c_int > , pub SWELL_SetClassName : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : * const :: std :: os :: raw :: c_char) > , pub SWELL_DisableContextMenu : Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : bool) > , pub EnumDisplayMonitors : Option < unsafe extern "C" fn (arg1 : root :: HDC , arg2 : root :: LPRECT , arg3 : root :: MONITORENUMPROC , arg4 : root :: LPARAM ,) -> root :: BOOL > , pub GetMonitorInfo : Option < unsafe extern "C" fn (arg1 : root :: HMONITOR , arg2 : * mut :: std :: os :: raw :: c_void ,) -> root :: BOOL > , pub SWELL_osx_is_dark_mode : Option < extern "C" fn (mode : :: std :: os :: raw :: c_int) -> bool > , } impl SwellFunctionPointers { pub (crate) const TOTAL_COUNT : u32 = 336u32 ; } # [cfg (target_family = "windows")] mod windows { use crate :: bindings :: root ; extern "system" { pub fn GetDlgItem (arg1 : root :: HWND , arg2 : :: std :: os :: raw :: c_int) -> root :: HWND ; } extern "system" { pub fn ShowWindow (arg1 : root :: HWND , arg2 : :: std :: os :: raw :: c_int) ; } extern "system" { pub fn DestroyWindow (hwnd : root :: HWND) ; } extern "system" { pub fn SetDlgItemInt (arg1 : root :: HWND , idx : :: std :: os :: raw :: c_int , val : :: std :: os :: raw :: c_int , issigned : :: std :: os :: raw :: c_int) -> root :: BOOL ; } extern "system" { pub fn GetDlgItemInt (arg1 : root :: HWND , idx : :: std :: os :: raw :: c_int , translated : * mut root :: BOOL , issigned : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "system" { pub fn CheckDlgButton (hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int , check : :: std :: os :: raw :: c_int) ; } extern "system" { pub fn IsDlgButtonChecked (hwnd : root :: HWND , idx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "system" { pub fn EnableWindow (hwnd : root :: HWND , enable : :: std :: os :: raw :: c_int) ; } extern "system" { pub fn SetFocus (hwnd : root :: HWND) ; } extern "system" { pub fn GetFocus () -> root :: HWND ; } extern "system" { pub fn SetForegroundWindow (hwnd : root :: HWND) ; } extern "system" { pub fn GetForegroundWindow () -> root :: HWND ; } extern "system" { pub fn SetCapture (hwnd : root :: HWND) -> root :: HWND ; } extern "system" { pub fn GetCapture () -> root :: HWND ; } extern "system" { pub fn ReleaseCapture () ; } extern "system" { pub fn IsChild (hwndParent : root :: HWND , hwndChild : root :: HWND) -> :: std :: os :: raw :: c_int ; } extern "system" { pub fn GetParent (hwnd : root :: HWND) -> root :: HWND ; } extern "system" { pub fn SetParent (hwnd : root :: HWND , newPar : root :: HWND) -> root :: HWND ; } extern "system" { pub fn GetWindow (hwnd : root :: HWND , what : :: std :: os :: raw :: c_int) -> root :: HWND ; } extern "system" { pub fn EnumWindows (proc_ : :: std :: option :: Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : root :: LPARAM) -> root :: BOOL , > , lp : root :: LPARAM) -> root :: BOOL ; } extern "system" { pub fn ClientToScreen (hwnd : root :: HWND , p : * mut root :: POINT) ; } extern "system" { pub fn ScreenToClient (hwnd : root :: HWND , p : * mut root :: POINT) ; } extern "system" { pub fn GetWindowRect (hwnd : root :: HWND , r : * mut root :: RECT) -> bool ; } extern "system" { pub fn GetClientRect (hwnd : root :: HWND , r : * mut root :: RECT) ; } extern "system" { pub fn WindowFromPoint (p : root :: POINT) -> root :: HWND ; } extern "system" { pub fn SetWindowPos (hwnd : root :: HWND , unused : root :: HWND , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , cx : :: std :: os :: raw :: c_int , cy : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) ; } extern "system" { pub fn InvalidateRect (hwnd : root :: HWND , r : * const root :: RECT , eraseBk : :: std :: os :: raw :: c_int) -> root :: BOOL ; } extern "system" { pub fn ScrollWindow (hwnd : root :: HWND , xamt : :: std :: os :: raw :: c_int , yamt : :: std :: os :: raw :: c_int , lpRect : * const root :: RECT , lpClipRect : * const root :: RECT) -> root :: BOOL ; } extern "system" { pub fn IsWindowVisible (hwnd : root :: HWND) -> bool ; } extern "system" { pub fn IsWindow (hwnd : root :: HWND) -> bool ; } extern "system" { pub fn SetTimer (hwnd : root :: HWND , timerid : root :: UINT_PTR , rate : root :: UINT , tProc : root :: TIMERPROC) -> root :: UINT_PTR ; } extern "system" { pub fn KillTimer (hwnd : root :: HWND , timerid : root :: UINT_PTR) -> root :: BOOL ; } extern "system" { pub fn CreatePopupMenu () -> root :: HMENU ; } extern "system" { pub fn DestroyMenu (hMenu : root :: HMENU) ; } extern "system" { pub fn GetSubMenu (hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int) -> root :: HMENU ; } extern "system" { pub fn GetMenuItemCount (hMenu : root :: HMENU) -> :: std :: os :: raw :: c_int ; } extern "system" { pub fn GetMenuItemID (hMenu : root :: HMENU , pos : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "system" { pub fn EnableMenuItem (hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , en : :: std :: os :: raw :: c_int) -> bool ; } extern "system" { pub fn DeleteMenu (hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , flag : :: std :: os :: raw :: c_int) -> bool ; } extern "system" { pub fn CheckMenuItem (hMenu : root :: HMENU , idx : :: std :: os :: raw :: c_int , chk : :: std :: os :: raw :: c_int) -> bool ; } extern "system" { pub fn DrawMenuBar (arg1 : root :: HWND) ; } extern "system" { pub fn TrackPopupMenu (hMenu : root :: HMENU , flags : :: std :: os :: raw :: c_int , xpos : :: std :: os :: raw :: c_int , ypos : :: std :: os :: raw :: c_int , resvd : :: std :: os :: raw :: c_int , hwnd : root :: HWND , r : * const root :: RECT) -> :: std :: os :: raw :: c_int ; } extern "system" { pub fn SetMenu (hwnd : root :: HWND , menu : root :: HMENU) -> root :: BOOL ; } extern "system" { pub fn GetMenu (hwnd : root :: HWND) -> root :: HMENU ; } extern "system" { pub fn EndDialog (arg1 : root :: HWND , arg2 : :: std :: os :: raw :: c_int) ; } extern "system" { pub fn GetAsyncKeyState (key : :: std :: os :: raw :: c_int) -> root :: WORD ; } extern "system" { pub fn GetCursorPos (pt : * mut root :: POINT) ; } extern "system" { pub fn GetMessagePos () -> root :: DWORD ; } extern "system" { pub fn OpenClipboard (hwndDlg : root :: HWND) -> bool ; } extern "system" { pub fn CloseClipboard () ; } extern "system" { pub fn GetClipboardData (type_ : root :: UINT) -> root :: HANDLE ; } extern "system" { pub fn EmptyClipboard () ; } extern "system" { pub fn SetClipboardData (type_ : root :: UINT , h : root :: HANDLE) ; } extern "system" { pub fn EnumClipboardFormats (lastfmt : root :: UINT) -> root :: UINT ; } extern "system" { pub fn GlobalAlloc (flags : :: std :: os :: raw :: c_int , sz : :: std :: os :: raw :: c_int) -> root :: HANDLE ; } extern "system" { pub fn GlobalLock (h : root :: HANDLE) -> * mut :: std :: os :: raw :: c_void ; } extern "system" { pub fn GlobalUnlock (h : root :: HANDLE) ; } extern "system" { pub fn GetCurrentThreadId () -> root :: DWORD ; } extern "system" { pub fn SetThreadPriority (evt : root :: HANDLE , prio : :: std :: os :: raw :: c_int) -> root :: BOOL ; } extern "system" { pub fn CreateSolidBrush (col : :: std :: os :: raw :: c_int) -> root :: HBRUSH ; } extern "system" { pub fn GetStockObject (wh : :: std :: os :: raw :: c_int) -> root :: HGDIOBJ ; } extern "system" { pub fn DeleteObject (arg1 : root :: HGDIOBJ) ; } extern "system" { pub fn SetTextColor (ctx : root :: HDC , col : :: std :: os :: raw :: c_int) ; } extern "system" { pub fn SetBkColor (ctx : root :: HDC , col : :: std :: os :: raw :: c_int) ; } extern "system" { pub fn SetBkMode (ctx : root :: HDC , col : :: std :: os :: raw :: c_int) ; } extern "system" { pub fn CreateIconIndirect (iconinfo : * mut root :: ICONINFO) -> root :: HICON ; } extern "system" { pub fn BitBlt (hdcOut : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , hdcIn : root :: HDC , xin : :: std :: os :: raw :: c_int , yin : :: std :: os :: raw :: c_int , mode : :: std :: os :: raw :: c_int) ; } extern "system" { pub fn StretchBlt (hdcOut : root :: HDC , x : :: std :: os :: raw :: c_int , y : :: std :: os :: raw :: c_int , w : :: std :: os :: raw :: c_int , h : :: std :: os :: raw :: c_int , hdcIn : root :: HDC , xin : :: std :: os :: raw :: c_int , yin : :: std :: os :: raw :: c_int , srcw : :: std :: os :: raw :: c_int , srch : :: std :: os :: raw :: c_int , mode : :: std :: os :: raw :: c_int) ; } extern "system" { pub fn GetSysColor (idx : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "system" { pub fn BeginPaint (arg1 : root :: HWND , arg2 : * mut root :: PAINTSTRUCT) -> root :: HDC ; } extern "system" { pub fn EndPaint (arg1 : root :: HWND , arg2 : * mut root :: PAINTSTRUCT) -> root :: BOOL ; } extern "system" { pub fn GetDC (arg1 : root :: HWND) -> root :: HDC ; } extern "system" { pub fn GetWindowDC (arg1 : root :: HWND) -> root :: HDC ; } extern "system" { pub fn ReleaseDC (arg1 : root :: HWND , arg2 : root :: HDC) ; } extern "system" { pub fn GetSystemMetrics (arg1 : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } extern "system" { pub fn EnumChildWindows (hwnd : root :: HWND , cwEnumFunc : :: std :: option :: Option < unsafe extern "C" fn (arg1 : root :: HWND , arg2 : root :: LPARAM) -> root :: BOOL , > , lParam : root :: LPARAM) -> root :: BOOL ; } extern "system" { pub fn IsWindowEnabled (arg1 : root :: HWND) -> bool ; } } \ No newline at end of file diff --git a/test/test-extension-plugin/src/lib.rs b/test/test-extension-plugin/src/lib.rs index 422c259a..6b803d42 100644 --- a/test/test-extension-plugin/src/lib.rs +++ b/test/test-extension-plugin/src/lib.rs @@ -1,6 +1,7 @@ use reaper_high::{ActionKind, Reaper}; use reaper_macros::reaper_extension_plugin; +use reaper_test::IntegrationTest; use std::error::Error; use std::process; @@ -10,35 +11,44 @@ use std::process; update_url = "https://www.helgoboss.org/projects/helgobox" )] fn main() -> Result<(), Box> { + println!("From REAPER: Loaded reaper-rs integration test plugin"); let run_integration_test = std::env::var("RUN_REAPER_RS_INTEGRATION_TEST").is_ok(); if run_integration_test { println!("From REAPER: Launching reaper-rs reaper-test-extension-plugin..."); } let reaper = Reaper::get(); reaper.wake_up()?; - println!("From REAPER: Loaded reaper-rs integration test plugin"); + let integration_test = IntegrationTest::setup(); if run_integration_test { println!("From REAPER: Entering reaper-rs integration test..."); - reaper_test::execute_integration_test(|result| { - match result { + let future_support_clone = integration_test.future_support().clone(); + future_support_clone.spawn_in_main_thread_from_main_thread(async { + let exit_code = match reaper_test::execute_integration_test().await { Ok(_) => { println!("From REAPER: reaper-rs integration test executed successfully"); - process::exit(0) + 0 } Err(reason) => { // We use a particular exit code to distinguish test failure from other possible // exit paths. eprintln!("From REAPER: reaper-rs integration test failed: {reason}"); - process::exit(172) + 172 } - } + }; + process::exit(exit_code); }); } + let future_support_clone = integration_test.future_support().clone(); reaper.register_action( "reaperRsIntegrationTests", "reaper-rs integration tests", None, - || reaper_test::execute_integration_test(|_| ()), + move || { + future_support_clone.spawn_in_main_thread_from_main_thread(async { + reaper_test::execute_integration_test().await?; + Ok(()) + }); + }, ActionKind::NotToggleable, ); Ok(()) diff --git a/test/test-extension-plugin/tests/reaper_integration_test.rs b/test/test-extension-plugin/tests/reaper_integration_test.rs index 6bdb08ea..30f6debe 100644 --- a/test/test-extension-plugin/tests/reaper_integration_test.rs +++ b/test/test-extension-plugin/tests/reaper_integration_test.rs @@ -1,15 +1,13 @@ #![cfg(feature = "run-reaper-integration-test")] use fs_extra::dir::CopyOptions; -use std::error::Error; use std::fs::File; -use std::io::Write; use std::path::{Path, PathBuf}; -use std::process::{Command, Stdio}; +use std::process::Command; use std::time::Duration; use std::{fs, io}; use wait_timeout::ChildExt; -use anyhow::{bail, ensure, Context, Result}; +use anyhow::{bail, Context, Result}; const REAPER_VERSION: &str = "7.30"; @@ -181,6 +179,7 @@ coreaudiooutdevnew= Ok(()) } +#[allow(dead_code)] fn remove_rewire_plugin_macos_bundle(reaper_home_path: &Path) -> Result<()> { println!("Removing Rewire plug-in (because it makes REAPER get stuck on headless macOS)..."); let dir = reaper_home_path.join("REAPER.app/Contents/Plugins/ReWire.bundle"); diff --git a/test/test-vst-plugin/src/lib.rs b/test/test-vst-plugin/src/lib.rs index d62d7e8a..dd9f0ca1 100644 --- a/test/test-vst-plugin/src/lib.rs +++ b/test/test-vst-plugin/src/lib.rs @@ -122,11 +122,22 @@ impl TestVstPlugin { } fn use_high_level_reaper(&mut self) { + let control_surface_rx = ControlSurfaceRx::new(); + let (spawner, executor) = reaper_high::run_loop_executor::new_spawner_and_executor( + DEFAULT_MAIN_THREAD_TASK_BULK_SIZE, + ); + let (local_spawner, local_executor) = + reaper_high::local_run_loop_executor::new_spawner_and_executor( + DEFAULT_MAIN_THREAD_TASK_BULK_SIZE, + ); + let future_support = FutureSupport::new(spawner, local_spawner); + let future_support_clone = future_support.clone(); + let host = self.host; let guard = Reaper::guarded( true, - || { + move || { let context = - PluginContext::from_vst_plugin(&self.host, static_plugin_context()).unwrap(); + PluginContext::from_vst_plugin(&host, static_plugin_context()).unwrap(); let version = env!("CARGO_PKG_VERSION").to_string(); Reaper::setup_with_defaults( context, @@ -146,7 +157,12 @@ impl TestVstPlugin { "reaperRsVstIntegrationTests", "reaper-rs VST integration tests", None, - || reaper_test::execute_integration_test(|_| ()), + move || { + future_support_clone.spawn_in_main_thread_from_main_thread(async { + reaper_test::execute_integration_test().await?; + Ok(()) + }); + }, ActionKind::NotToggleable, ); }, @@ -177,15 +193,6 @@ impl TestVstPlugin { } } let mut counter = 0; - let control_surface_rx = ControlSurfaceRx::new(); - let (spawner, executor) = reaper_high::run_loop_executor::new_spawner_and_executor( - DEFAULT_MAIN_THREAD_TASK_BULK_SIZE, - ); - let (local_spawner, local_executor) = - reaper_high::local_run_loop_executor::new_spawner_and_executor( - DEFAULT_MAIN_THREAD_TASK_BULK_SIZE, - ); - let future_support = FutureSupport::new(spawner, local_spawner); let control_surface = CustomControlSurface::new( ControlSurfaceRxMiddleware::new(control_surface_rx.clone()), FutureMiddleware::new(executor, local_executor), diff --git a/test/test/Cargo.toml b/test/test/Cargo.toml index 23322d57..3e1823b2 100644 --- a/test/test/Cargo.toml +++ b/test/test/Cargo.toml @@ -18,4 +18,5 @@ tracing.workspace = true helgoboss-midi.workspace = true approx.workspace = true once_cell.workspace = true -crossbeam-channel.workspace = true \ No newline at end of file +crossbeam-channel.workspace = true +anyhow.workspace = true \ No newline at end of file diff --git a/test/test/src/api.rs b/test/test/src/api.rs index 49c79588..d0d01457 100644 --- a/test/test/src/api.rs +++ b/test/test/src/api.rs @@ -1,16 +1,14 @@ -use crossbeam_channel::{Receiver, Sender}; -use reaper_high::{MainThreadTask, Reaper, TaskSupport}; +use reaper_high::Reaper; use reaper_medium::ReaperVersion; use reaper_rx::{ActionRx, ActionRxProvider, ControlSurfaceRx, MainRx}; use rxrust::prelude::*; use std::borrow::Cow; -use std::error::Error; type TestStepFinished = LocalSubject<'static, (), ()>; pub struct TestStepContext { pub finished: TestStepFinished, } -type TestStepResult = Result<(), Box>; +type TestStepResult = anyhow::Result<()>; type TestOperation = dyn FnOnce(&Reaper, TestStepContext) -> TestStepResult; @@ -46,23 +44,9 @@ pub enum VersionRestriction { Max(ReaperVersion<'static>), } +#[derive(Default)] pub(crate) struct Test { main_rx: MainRx, - task_support: TaskSupport, - pub(crate) task_sender: Sender, - pub(crate) task_receiver: Receiver, -} - -impl Default for Test { - fn default() -> Self { - let (sender, receiver) = crossbeam_channel::unbounded(); - Self { - main_rx: Default::default(), - task_support: TaskSupport::new(sender.clone()), - task_sender: sender, - task_receiver: receiver, - } - } } /// Okay because static getter checks thread. @@ -74,10 +58,6 @@ impl Test { Test::get().main_rx.control_surface() } - pub fn task_support() -> &'static TaskSupport { - &Test::get().task_support - } - pub(crate) fn get() -> &'static Test { Reaper::get().require_main_thread(); &TEST diff --git a/test/test/src/assert.rs b/test/test/src/assert.rs index 521dea85..2429d5f1 100644 --- a/test/test/src/assert.rs +++ b/test/test/src/assert.rs @@ -3,7 +3,7 @@ macro_rules! assert { let result = if ($condition) { Ok(()) } else { - Err(stringify!($condition)) + Err(anyhow::anyhow!(stringify!($condition))) }; result? }}; @@ -18,7 +18,7 @@ macro_rules! assert_eq { } else { let actual_expr = stringify!($actual); let expected_expr = stringify!($expected); - Err(format!( + Err(anyhow::anyhow!(format!( "\ Expression `{actual_expr}` @@ -35,7 +35,7 @@ was expected to be equal to expression `{expected_expr}` expected_expr = expected_expr, expected_val = &*expected_val, actual_val = &*actual_val - )) + ))) }; result? } @@ -52,7 +52,7 @@ macro_rules! assert_ne { } else { let actual_expr = stringify!($actual); let expected_expr = stringify!($expected); - Err(format!( + Err(anyhow::anyhow!(format!( "\ Expression `{actual_expr}` @@ -69,7 +69,7 @@ was expected to not be equal to expression `{expected_expr}` expected_expr = expected_expr, expected_val = &*expected_val, actual_val = &*actual_val - )) + ))) }; result? } diff --git a/test/test/src/lib.rs b/test/test/src/lib.rs index 61ac04de..0cbecc1d 100644 --- a/test/test/src/lib.rs +++ b/test/test/src/lib.rs @@ -7,61 +7,110 @@ mod tests; use crate::api::{Test, TestStep, TestStepContext, VersionRestriction}; use crate::tests::create_test_steps; use reaper_high::{ - ChangeDetectionMiddleware, ControlSurfaceEvent, ControlSurfaceMiddleware, MainTaskMiddleware, - MiddlewareControlSurface, Reaper, + ChangeDetectionMiddleware, ControlSurfaceEvent, ControlSurfaceMiddleware, FutureMiddleware, + FutureSupport, MiddlewareControlSurface, Reaper, DEFAULT_MAIN_THREAD_TASK_BULK_SIZE, }; use rxrust::prelude::*; -use std::collections::VecDeque; - -use reaper_medium::RegistrationHandle; +use anyhow::anyhow; use reaper_rx::{ActionRxHookPostCommand, ActionRxHookPostCommand2, ControlSurfaceRxMiddleware}; -use std::error::Error; use std::fmt::Display; use std::panic::AssertUnwindSafe; +pub struct IntegrationTest { + future_support: FutureSupport, +} + +impl IntegrationTest { + pub fn setup() -> Self { + let mut session = Reaper::get().medium_session(); + session + .plugin_register_add_hook_post_command::>() + .unwrap(); + let _ = session.plugin_register_add_hook_post_command_2::>(); + let (spawner, executor) = reaper_high::run_loop_executor::new_spawner_and_executor( + DEFAULT_MAIN_THREAD_TASK_BULK_SIZE, + ); + let (local_spawner, local_executor) = + reaper_high::local_run_loop_executor::new_spawner_and_executor( + DEFAULT_MAIN_THREAD_TASK_BULK_SIZE, + ); + let future_support = FutureSupport::new(spawner, local_spawner); + let future_middleware = FutureMiddleware::new(executor, local_executor); + let surface = + MiddlewareControlSurface::new(TestControlSurfaceMiddleware::new(future_middleware)); + session + .plugin_register_add_csurf_inst(Box::new(surface)) + .expect("couldn't register test control surface"); + Self { future_support } + } + + pub fn future_support(&self) -> &FutureSupport { + &self.future_support + } +} + /// Executes the complete integration test. -/// -/// Calls the given callback as soon as finished (either when the first test step failed -/// or when all steps have executed successfully). -pub fn execute_integration_test(on_finish: impl Fn(Result<(), Box>) + 'static) { +pub async fn execute_integration_test() -> anyhow::Result<()> { Reaper::get().clear_console(); log("# Testing reaper-rs\n"); - let steps: VecDeque<_> = create_test_steps().collect(); - let step_count = steps.len(); - let rx_setup = RxSetup::setup(); - execute_next_step(steps, step_count, move |result| { - // We keep the surface around after teardown because this whole thing is driven by the surface. - // See plugin_register_remove_csurf_inst. Would otherwise result in undefined behavior, maybe crash. - let surface = rx_setup.teardown(); - on_finish(result); - surface - }); + execute_integration_test_internal() + .await + .inspect(|_| log("\n**Integration test was successful**\n\n")) + .inspect_err(|e| log_failure(e)) +} +async fn execute_integration_test_internal() -> anyhow::Result<()> { + let steps: Vec<_> = create_test_steps().collect(); + for (i, step) in steps.into_iter().enumerate() { + log_step(i, &step.name); + if !reaper_version_matches(&step) { + // REAPER version doesn't match + let reason = match step.version_restriction { + VersionRestriction::Min(_) => "REAPER version too low", + VersionRestriction::Max(_) => "REAPER version too high", + _ => unreachable!(), + }; + log_skip(reason); + continue; + } + let future = async { + let reaper = Reaper::get(); + let mut finished = LocalSubject::new(); + let context = TestStepContext { + finished: finished.clone(), + }; + let step_name = step.name.clone(); + let result = + std::panic::catch_unwind(AssertUnwindSafe(|| (step.operation)(reaper, context))) + .unwrap_or_else(|_| Err(anyhow!(format!("Test [{step_name}] panicked")))); + finished.complete(); + result + }; + future.await?; + } + Ok(()) } #[derive(Debug)] struct TestControlSurfaceMiddleware { change_detection_middleware: ChangeDetectionMiddleware, rx_middleware: ControlSurfaceRxMiddleware, - main_task_middleware: MainTaskMiddleware, + future_middleware: FutureMiddleware, } impl TestControlSurfaceMiddleware { - fn new() -> Self { + fn new(future_middleware: FutureMiddleware) -> Self { Self { change_detection_middleware: ChangeDetectionMiddleware::new(), rx_middleware: ControlSurfaceRxMiddleware::new(Test::control_surface_rx().clone()), - main_task_middleware: MainTaskMiddleware::new( - Test::get().task_sender.clone(), - Test::get().task_receiver.clone(), - ), + future_middleware, } } } impl ControlSurfaceMiddleware for TestControlSurfaceMiddleware { fn run(&mut self) { - self.main_task_middleware.run(); + self.future_middleware.run(); } fn handle_event(&self, event: ControlSurfaceEvent) -> bool { @@ -71,99 +120,6 @@ impl ControlSurfaceMiddleware for TestControlSurfaceMiddleware { } } -struct RxSetup { - control_surface_reg_handle: - RegistrationHandle>, -} - -impl RxSetup { - fn setup() -> RxSetup { - let mut session = Reaper::get().medium_session(); - session - .plugin_register_add_hook_post_command::>() - .unwrap(); - let _ = session.plugin_register_add_hook_post_command_2::>(); - RxSetup { - control_surface_reg_handle: { - let surface = MiddlewareControlSurface::new(TestControlSurfaceMiddleware::new()); - session - .plugin_register_add_csurf_inst(Box::new(surface)) - .expect("couldn't register test control surface") - }, - } - } - - fn teardown(&self) -> Option>> { - let mut session = Reaper::get().medium_session(); - let csurf_inst = - unsafe { session.plugin_register_remove_csurf_inst(self.control_surface_reg_handle) }; - session.plugin_register_remove_hook_post_command_2::>(); - session.plugin_register_remove_hook_post_command::>(); - csurf_inst - } -} - -fn execute_next_step( - mut steps: VecDeque, - step_count: usize, - on_finish: impl Fn( - Result<(), Box>, - ) -> Option>> - + 'static, -) -> Option>> { - let step = match steps.pop_front() { - Some(step) => step, - None => { - log("\n**Integration test was successful**\n\n"); - return on_finish(Ok(())); - } - }; - log_step(step_count - steps.len() - 1, &step.name); - let reaper = Reaper::get(); - if reaper_version_matches(&step) { - let result = { - let mut finished = LocalSubject::new(); - let context = TestStepContext { - finished: finished.clone(), - }; - let step_name = step.name.clone(); - let result = - std::panic::catch_unwind(AssertUnwindSafe(|| (step.operation)(reaper, context))) - .unwrap_or_else(|_| Err(format!("Test [{step_name}] panicked").into())); - finished.complete(); - result - }; - match result { - Ok(()) => { - Test::task_support() - .do_later_in_main_thread_from_main_thread_asap(move || { - execute_next_step(steps, step_count, on_finish); - }) - .expect("couldn't schedule next test step"); - None - } - Err(e) => { - log_failure(&e); - on_finish(Err(e)) - } - } - } else { - // REAPER version doesn't match - let reason = match step.version_restriction { - VersionRestriction::Min(_) => "REAPER version too low", - VersionRestriction::Max(_) => "REAPER version too high", - _ => unreachable!(), - }; - log_skip(reason); - Test::task_support() - .do_later_in_main_thread_from_main_thread_asap(move || { - execute_next_step(steps, step_count, on_finish); - }) - .expect("couldn't schedule next test step"); - None - } -} - fn reaper_version_matches(step: &TestStep) -> bool { use VersionRestriction::*; match &step.version_restriction { @@ -177,7 +133,7 @@ fn log_skip(msg: &str) { log(format!("→ **SKIPPED** ({msg})")); } -fn log_failure(msg: &impl Display) { +fn log_failure(msg: impl Display) { log(format!("→ **FAILED**\n\n{msg}")); } diff --git a/test/test/src/tests.rs b/test/test/src/tests.rs index 0e298f71..d163fd10 100644 --- a/test/test/src/tests.rs +++ b/test/test/src/tests.rs @@ -30,6 +30,7 @@ use reaper_medium::{ StuffMidiMessageTarget, TrackFxGetPresetIndexResult, TrackLocation, UndoBehavior, ValueChange, }; +use anyhow::{bail, Context}; use reaper_low::{raw, Swell}; use reaper_rx::ActionRxProvider; use std::os::raw::{c_int, c_void}; @@ -292,9 +293,9 @@ fn redo() -> TestStep { let label = project.label_of_last_undoable_action(); // Then assert!(successful); - assert_eq!(track.name().ok_or("no track name")?.to_str(), "Renamed"); + assert_eq!(track.name().context("no track name")?.to_str(), "Renamed"); assert_eq!( - label.ok_or("no undo label")?.to_str(), + label.context("no undo label")?.to_str(), "reaper-rs integration test operation" ); Ok(()) @@ -311,9 +312,9 @@ fn undo() -> TestStep { let label = project.label_of_last_redoable_action(); // Then assert!(successful); - assert_eq!(track.name().ok_or("no track name")?.to_str().len(), 0); + assert_eq!(track.name().context("no track name")?.to_str().len(), 0); assert_eq!( - label.ok_or("no redo label")?.to_str(), + label.context("no redo label")?.to_str(), "reaper-rs integration test operation" ); Ok(()) @@ -340,9 +341,9 @@ fn use_undoable() -> TestStep { }); let label = project.label_of_last_undoable_action(); // Then - assert_eq!(track.name().ok_or("no track name")?.to_str(), "Renamed"); + assert_eq!(track.name().context("no track name")?.to_str(), "Renamed"); assert_eq!( - label.ok_or("no undo label")?.to_str(), + label.context("no undo label")?.to_str(), "reaper-rs integration test operation" ); assert_eq!(mock.invocation_count(), 1); @@ -408,7 +409,7 @@ fn scroll_mixer() -> TestStep { step(AllVersions, "Scroll mixer", |_, _| { // Given let project = Reaper::get().current_project(); - let track = project.track_by_index(3).ok_or("Missing track 2")?; + let track = project.track_by_index(3).context("Missing track 2")?; // When track.scroll_mixer(); // Then @@ -420,7 +421,7 @@ fn insert_track_at() -> TestStep { step(AllVersions, "Insert track at", |_, step| { // Given let project = Reaper::get().current_project(); - let track_2 = project.track_by_index(1).ok_or("Missing track 2")?; + let track_2 = project.track_by_index(1).context("Missing track 2")?; // When let (mock, _) = observe_invocations(|mock| { Test::control_surface_rx() @@ -437,7 +438,7 @@ fn insert_track_at() -> TestStep { assert_eq!(new_track.location(), TrackLocation::NormalTrack(1)); assert_eq!(new_track.index(), Some(1)); assert_eq!( - new_track.name().ok_or("no track name")?.to_str(), + new_track.name().context("no track name")?.to_str(), "Inserted track" ); assert_eq!(track_2.index(), Some(2)); @@ -721,7 +722,7 @@ fn invoke_action() -> TestStep { assert_eq!(mock.invocation_count(), 1); let normalized_value = action .normalized_value() - .ok_or("action should be able to report normalized value")?; + .context("action should be able to report normalized value")?; assert!(abs_diff_eq!(normalized_value, 1.0)); } else { assert_eq!(mock.invocation_count(), 0); @@ -811,11 +812,11 @@ fn set_track_send_pan() -> TestStep { step(AllVersions, "Set track send pan", |_, step| { // Given let project = Reaper::get().current_project(); - let track_1 = project.track_by_index(0).ok_or("Missing track 1")?; - let track_3 = project.track_by_index(2).ok_or("Missing track 3")?; + let track_1 = project.track_by_index(0).context("Missing track 1")?; + let track_3 = project.track_by_index(2).context("Missing track 3")?; let send = track_1 .find_send_by_destination_track(&track_3) - .ok_or("missing send")?; + .context("missing send")?; // When let (mock, _) = observe_invocations(|mock| { Test::control_surface_rx() @@ -842,11 +843,11 @@ fn set_track_send_mute() -> TestStep { step(AllVersions, "Mute track send", |_, _| { // Given let project = Reaper::get().current_project(); - let track_1 = project.track_by_index(0).ok_or("Missing track 1")?; - let track_3 = project.track_by_index(2).ok_or("Missing track 3")?; + let track_1 = project.track_by_index(0).context("Missing track 1")?; + let track_3 = project.track_by_index(2).context("Missing track 3")?; let send = track_1 .find_send_by_destination_track(&track_3) - .ok_or("missing send")?; + .context("missing send")?; // When send.mute()?; // Then @@ -863,11 +864,11 @@ fn set_track_send_volume() -> TestStep { step(AllVersions, "Set track send volume", |_, step| { // Given let project = Reaper::get().current_project(); - let track_1 = project.track_by_index(0).ok_or("Missing track 1")?; - let track_3 = project.track_by_index(2).ok_or("Missing track 3")?; + let track_1 = project.track_by_index(0).context("Missing track 1")?; + let track_3 = project.track_by_index(2).context("Missing track 3")?; let send = track_1 .find_send_by_destination_track(&track_3) - .ok_or("missing send")?; + .context("missing send")?; // When let (mock, _) = observe_invocations(|mock| { Test::control_surface_rx() @@ -899,13 +900,13 @@ fn query_track_send() -> TestStep { step(AllVersions, "Query track send", |_session, _| { // Given let project = Reaper::get().current_project(); - let track_1 = project.track_by_index(0).ok_or("Missing track 1")?; - let track_2 = project.track_by_index(1).ok_or("Missing track 2")?; + let track_1 = project.track_by_index(0).context("Missing track 1")?; + let track_2 = project.track_by_index(1).context("Missing track 2")?; let track_3 = project.add_track()?; // When let send_to_track_2 = track_1 .find_send_by_destination_track(&track_2) - .ok_or("missing send")?; + .context("missing send")?; let send_to_track_3 = track_1.add_send_to(&track_3); // Then assert!(send_to_track_2.is_available()); @@ -941,8 +942,8 @@ fn add_track_send() -> TestStep { step(AllVersions, "Add track send", |_session, step| { // Given let project = Reaper::get().current_project(); - let track_1 = project.track_by_index(0).ok_or("Missing track 1")?; - let track_2 = project.track_by_index(1).ok_or("Missing track 2")?; + let track_1 = project.track_by_index(0).context("Missing track 1")?; + let track_2 = project.track_by_index(1).context("Missing track 2")?; // When let (send_mock, _) = observe_invocations(|mock| { Test::control_surface_rx() @@ -982,12 +983,12 @@ fn add_track_send() -> TestStep { assert!(track_2.receive_by_index(0).unwrap().is_available()); assert!(track_1 .find_send_by_destination_track(&track_2) - .ok_or("missing send")? + .context("missing send")? .is_available()); assert!(track_2.find_send_by_destination_track(&track_1).is_none()); assert!(track_2 .find_receive_by_source_track(&track_1) - .ok_or("missing receive")? + .context("missing receive")? .is_available()); assert!(track_1.find_receive_by_source_track(&track_2).is_none()); assert_eq!(track_1.sends().count(), 1); @@ -1080,10 +1081,10 @@ fn remove_track() -> TestStep { let track_count_before = project.track_count(); let track_1 = project .track_by_ref(TrackLocation::NormalTrack(0)) - .ok_or("Missing track 1")?; + .context("Missing track 1")?; let track_2 = project .track_by_ref(TrackLocation::NormalTrack(1)) - .ok_or("Missing track 2")?; + .context("Missing track 2")?; let track_2_guid = track_2.guid(); assert!(track_1.is_available()); assert_eq!(track_2.index(), Some(1)); @@ -1113,9 +1114,9 @@ fn select_track_exclusively() -> TestStep { step(AllVersions, "Select track exclusively", |_, step| { // Given let project = Reaper::get().current_project(); - let track_1 = project.track_by_index(0).ok_or("Missing track 1")?; - let track_2 = project.track_by_index(1).ok_or("Missing track 2")?; - let track_3 = project.track_by_index(2).ok_or("Missing track 3")?; + let track_1 = project.track_by_index(0).context("Missing track 1")?; + let track_2 = project.track_by_index(1).context("Missing track 2")?; + let track_3 = project.track_by_index(2).context("Missing track 3")?; let master_track = project.master_track()?; assert!(master_track.is_selected()); track_1.unselect(); @@ -1458,7 +1459,7 @@ fn select_master_track() -> TestStep { ); let first_selected_track = project .first_selected_track(MasterTrackBehavior::IncludeMasterTrack) - .ok_or("Couldn't get first selected track")?; + .context("Couldn't get first selected track")?; assert!(first_selected_track.is_master_track()); assert_eq!( project @@ -1495,7 +1496,7 @@ fn unselect_track() -> TestStep { ); let first_selected_track = project .first_selected_track(MasterTrackBehavior::ExcludeMasterTrack) - .ok_or("Couldn't get first selected track")?; + .context("Couldn't get first selected track")?; assert_eq!(first_selected_track.index(), Some(2)); assert_eq!( project @@ -1514,7 +1515,7 @@ fn select_track() -> TestStep { // Given let project = Reaper::get().current_project(); let track = get_track(0)?; - let track2 = project.track_by_index(2).ok_or("No track at index 2")?; + let track2 = project.track_by_index(2).context("No track at index 2")?; // When let (mock, _) = observe_invocations(|mock| { Test::control_surface_rx() @@ -1535,7 +1536,7 @@ fn select_track() -> TestStep { ); let first_selected_track = project .first_selected_track(MasterTrackBehavior::ExcludeMasterTrack) - .ok_or("Couldn't get first selected track")?; + .context("Couldn't get first selected track")?; assert_eq!(first_selected_track.index(), Some(0)); assert_eq!( project @@ -1932,7 +1933,7 @@ fn query_track_recording_input() -> TestStep { // Then match input { Some(RecordingInput::Mono(0)) => Ok(()), - _ => Err("Expected MidiRecordingInput".into()), + _ => bail!("Expected MidiRecordingInput"), } }) } @@ -2003,7 +2004,7 @@ fn set_track_name() -> TestStep { }); track.set_name("Foo Bla"); // Then - assert_eq!(track.name().ok_or("no track name")?.to_str(), "Foo Bla"); + assert_eq!(track.name().context("no track name")?.to_str(), "Foo Bla"); assert_eq!(mock.invocation_count(), 1); assert_eq!(mock.last_arg(), track); Ok(()) @@ -2017,7 +2018,7 @@ fn query_track_name() -> TestStep { // When let track_name = track.name(); // Then - assert_eq!(track_name.ok_or("no track name")?.to_str().len(), 0); + assert_eq!(track_name.context("no track name")?.to_str().len(), 0); Ok(()) }) } @@ -2268,7 +2269,7 @@ fn general() -> TestStep { let rev = version.revision(); let os_and_arch = version .os_and_architecture() - .ok_or("REAPER version number doesn't contain os-and-architecture info")?; + .context("REAPER version number doesn't contain os-and-architecture info")?; // Then assert!(resource_path.is_dir()); assert!(resource_path.as_str().to_lowercase().contains("reaper")); @@ -2436,8 +2437,8 @@ fn query_prefs() -> TestStep { let is_enabled = query_track_sel_on_mouse_is_enabled(); // Then if is_enabled { - return Err( - "\"Mouse click on volume/pan faders and track buttons changes track selection\" seems to be enabled. Maybe you are not using the REAPER default preferences?".into(), + bail!( + "\"Mouse click on volume/pan faders and track buttons changes track selection\" seems to be enabled. Maybe you are not using the REAPER default preferences?" ); } Ok(()) @@ -2504,7 +2505,7 @@ fn register_api_functions() -> TestStep { ) // TODO-low This will fail on second test run. Unregister after usage as soon // as possible! - .map_err(|_| "couldn't register API function")?; + .context("couldn't register API function")?; } // Then let ptr = session @@ -2514,7 +2515,7 @@ fn register_api_functions() -> TestStep { assert!(!ptr.is_null()); let restored_function: Option = unsafe { std::mem::transmute(ptr) }; let restored_function = - restored_function.ok_or("couldn't restore API function from ptr")?; + restored_function.context("couldn't restore API function from ptr")?; restored_function(); Ok(()) }) @@ -2543,7 +2544,7 @@ fn low_plugin_context() -> TestStep { assert!(swell_function_provider.is_none()); } else { let swell_function_provider = - swell_function_provider.ok_or("SWELL function provider not available")?; + swell_function_provider.context("SWELL function provider not available")?; let swell_func = unsafe { swell_function_provider(c_str!("DefWindowProc").as_ptr()) }; assert!(!swell_func.is_null()); } @@ -2596,7 +2597,7 @@ fn medium_plugin_context() -> TestStep { }) } -type GetFxChain = Rc Result>; +type GetFxChain = Rc anyhow::Result>; fn query_fx_chain(get_fx_chain: GetFxChain) -> TestStep { step(AllVersions, "Query fx chain", move |_, _| { @@ -2623,7 +2624,7 @@ fn query_fx_chain(get_fx_chain: GetFxChain) -> TestStep { } fn create_fx_steps( prefix: &'static str, - get_fx_chain: impl Fn() -> Result + 'static + Copy, + get_fx_chain: impl Fn() -> anyhow::Result + 'static + Copy, ) -> impl Iterator { let get_fx_chain = Rc::new(get_fx_chain); let steps = vec![ @@ -2667,7 +2668,7 @@ fn query_track_js_fx_by_index(get_fx_chain: GetFxChain) -> TestStep { // When let fx = fx_chain.fx_by_index(2); // Then - let fx = fx.ok_or("No FX found")?; + let fx = fx.context("No FX found")?; assert!(fx.is_available()); assert_eq!(fx.index(), 2); assert_eq!( @@ -2763,11 +2764,11 @@ fn add_track_js_fx_by_original_name(get_fx_chain: GetFxChain) -> TestStep { }); let fx = fx_chain.add_fx_by_original_name("phaser"); // Then - let fx = fx.ok_or("No FX added")?; + let fx = fx.context("No FX added")?; assert_eq!(fx_chain.fx_count(), 3); assert_eq!(fx_chain.fx_by_index(2), Some(fx.clone())); assert_eq!(fx_chain.last_fx(), Some(fx.clone())); - let fx_guid = fx.guid().ok_or("No GUID")?; + let fx_guid = fx.guid().context("No GUID")?; assert!(fx_chain.fx_by_guid(&fx_guid).is_available()); let guid: Guid = "{E64BB283-FB17-4702-ACFA-2DDB7E38F14F}".parse()?; assert!(!fx_chain.fx_by_guid_and_index(&guid, 0).is_available()); @@ -2800,7 +2801,7 @@ fn show_fx_in_floating_window(get_fx_chain: GetFxChain) -> TestStep { step(AllVersions, "Show fx in floating window", move |_, step| { // Given let fx_chain = get_fx_chain()?; - let fx = fx_chain.fx_by_index(0).ok_or("Couldn't find first fx")?; + let fx = fx_chain.fx_by_index(0).context("Couldn't find first fx")?; // When let (fx_opened_mock, _) = observe_invocations(|mock| { Test::control_surface_rx() @@ -2845,7 +2846,7 @@ fn query_fx_floating_window(get_fx_chain: GetFxChain) -> TestStep { move |_session, _| { // Given let fx_chain = get_fx_chain()?; - let fx = fx_chain.fx_by_index(0).ok_or("Couldn't find first fx")?; + let fx = fx_chain.fx_by_index(0).context("Couldn't find first fx")?; fx.hide_floating_window()?; // When // Then @@ -2864,7 +2865,7 @@ fn set_fx_chain_chunk(get_fx_chain: GetFxChain) -> TestStep { step(AllVersions, "Set fx chain chunk", move |_, _| { // Given let fx_chain = get_fx_chain()?; - let track = fx_chain.track().ok_or("no track")?; + let track = fx_chain.track().context("no track")?; let other_fx_chain = if fx_chain.is_input_fx() { track.normal_fx_chain() } else { @@ -2916,12 +2917,12 @@ fn set_fx_state_chunk(get_fx_chain: GetFxChain) -> TestStep { step(AllVersions, "Set fx state chunk", move |_, _| { // Given let fx_chain = get_fx_chain()?; - let midi_fx = fx_chain.fx_by_index(0).ok_or("Couldn't find MIDI fx")?; - let synth_fx = fx_chain.fx_by_index(1).ok_or("Couldn't find synth fx")?; + let midi_fx = fx_chain.fx_by_index(0).context("Couldn't find MIDI fx")?; + let synth_fx = fx_chain.fx_by_index(1).context("Couldn't find synth fx")?; let synth_param_5 = synth_fx.parameter_by_index(5); synth_param_5 .set_reaper_normalized_value(ReaperNormalizedFxParamValue::new(0.0)) - .map_err(|_| "couldn't set parameter value")?; + .context("couldn't set parameter value")?; assert_ne!( synth_param_5 .formatted_value() @@ -2962,8 +2963,8 @@ fn set_fx_tag_chunk(get_fx_chain: GetFxChain) -> TestStep { step(AllVersions, "Set fx tag chunk", move |_, _| { // Given let fx_chain = get_fx_chain()?; - let midi_fx_1 = fx_chain.fx_by_index(0).ok_or("Couldn't find MIDI fx 1")?; - let midi_fx_2 = fx_chain.fx_by_index(1).ok_or("Couldn't find MIDI fx 2")?; + let midi_fx_1 = fx_chain.fx_by_index(0).context("Couldn't find MIDI fx 1")?; + let midi_fx_2 = fx_chain.fx_by_index(1).context("Couldn't find MIDI fx 2")?; let fx_tag_chunk = r#" TestStep { step(AllVersions, "Set fx chunk", move |_, _| { // Given let fx_chain = get_fx_chain()?; - let midi_fx = fx_chain.fx_by_index(0).ok_or("Couldn't find MIDI fx")?; - let synth_fx = fx_chain.fx_by_index(1).ok_or("Couldn't find synth fx")?; + let midi_fx = fx_chain.fx_by_index(0).context("Couldn't find MIDI fx")?; + let synth_fx = fx_chain.fx_by_index(1).context("Couldn't find synth fx")?; let synth_fx_guid_before = synth_fx.guid(); // When synth_fx.set_chunk(midi_fx.chunk()?)?; @@ -3056,8 +3057,8 @@ fn remove_fx(get_fx_chain: GetFxChain) -> TestStep { step(AllVersions, "Remove FX", move |_, step| { // Given let fx_chain = get_fx_chain()?; - let synth_fx = fx_chain.fx_by_index(0).ok_or("Couldn't find synth fx")?; - let midi_fx = fx_chain.fx_by_index(1).ok_or("Couldn't find MIDI fx")?; + let synth_fx = fx_chain.fx_by_index(0).context("Couldn't find synth fx")?; + let midi_fx = fx_chain.fx_by_index(1).context("Couldn't find MIDI fx")?; // When let (mock, _) = observe_invocations(|mock| { Test::control_surface_rx() @@ -3083,8 +3084,8 @@ fn move_fx(get_fx_chain: GetFxChain) -> TestStep { step(AllVersions, "Move FX", move |_, step| { // Given let fx_chain = get_fx_chain()?; - let midi_fx = fx_chain.fx_by_index(0).ok_or("Couldn't find MIDI fx")?; - let synth_fx = fx_chain.fx_by_index(1).ok_or("Couldn't find synth fx")?; + let midi_fx = fx_chain.fx_by_index(0).context("Couldn't find MIDI fx")?; + let synth_fx = fx_chain.fx_by_index(1).context("Couldn't find synth fx")?; let fx_at_index_1 = fx_chain.fx_by_index_untracked(1); // When let (mock, _) = observe_invocations(|mock| { @@ -3116,7 +3117,7 @@ fn move_fx(get_fx_chain: GetFxChain) -> TestStep { assert_eq!(mock.invocation_count(), 0); } else { assert_eq!(mock.invocation_count(), 1); - assert_eq!(mock.last_arg(), *fx_chain.track().ok_or("no track")?); + assert_eq!(mock.last_arg(), *fx_chain.track().context("no track")?); } Ok(()) }) @@ -3129,11 +3130,11 @@ fn fx_parameter_value_changed_with_heuristic_fail(get_fx_chain: GetFxChain) -> T move |_, step| { // Given let fx_chain = get_fx_chain()?; - let fx = fx_chain.fx_by_index(0).ok_or("Couldn't find fx")?; + let fx = fx_chain.fx_by_index(0).context("Couldn't find fx")?; let p = fx.parameter_by_index(0); p.set_reaper_normalized_value(ReaperNormalizedFxParamValue::new(0.5)) - .map_err(|_| "couldn't set parameter value")?; - let track = fx.track().ok_or("no track")?; + .context("couldn't set parameter value")?; + let track = fx.track().context("no track")?; let other_fx_chain = if fx_chain.is_input_fx() { track.normal_fx_chain() } else { @@ -3147,7 +3148,7 @@ fn fx_parameter_value_changed_with_heuristic_fail(get_fx_chain: GetFxChain) -> T // fxChain is input FX chain) p_on_other_fx_chain .set_reaper_normalized_value(ReaperNormalizedFxParamValue::new(0.5)) - .map_err(|_| "couldn't set parameter value")?; + .context("couldn't set parameter value")?; // When let (mock, _) = observe_invocations(|mock| { Test::control_surface_rx() @@ -3158,7 +3159,7 @@ fn fx_parameter_value_changed_with_heuristic_fail(get_fx_chain: GetFxChain) -> T }); }); p.set_reaper_normalized_value(ReaperNormalizedFxParamValue::new(0.5)) - .map_err(|_| "couldn't set parameter value")?; + .context("couldn't set parameter value")?; // Then assert_eq!(mock.invocation_count(), 2); if fx_chain.is_input_fx() && Reaper::get().version() < ReaperVersion::new("5.95") { @@ -3175,7 +3176,7 @@ fn set_fx_parameter_value(get_fx_chain: GetFxChain) -> TestStep { step(AllVersions, "Set fx parameter value", move |_, step| { // Given let fx_chain = get_fx_chain()?; - let fx = fx_chain.fx_by_index(1).ok_or("Couldn't find fx")?; + let fx = fx_chain.fx_by_index(1).context("Couldn't find fx")?; let p = fx.parameter_by_index(5); // When let (mock, _) = observe_invocations(|mock| { @@ -3187,7 +3188,7 @@ fn set_fx_parameter_value(get_fx_chain: GetFxChain) -> TestStep { }); }); p.set_reaper_normalized_value(ReaperNormalizedFxParamValue::new(0.3)) - .map_err(|_| "couldn't set parameter value")?; + .context("couldn't set parameter value")?; // Then let last_touched_fx_param = Reaper::get().last_touched_fx_parameter(); if fx_chain.is_input_fx() && Reaper::get().version() < ReaperVersion::new("5.95") { @@ -3209,7 +3210,7 @@ fn set_fx_parameter_value(get_fx_chain: GetFxChain) -> TestStep { )); assert_eq!( p.format_reaper_normalized_value(p.reaper_normalized_value()) - .map_err(|_| "Cockos plug-ins should be able to do that")? + .context("Cockos plug-ins should be able to do that")? .into_inner() .as_c_str(), c_str!("-4.44 dB") @@ -3234,7 +3235,7 @@ fn check_fx_presets(get_fx_chain: GetFxChain) -> TestStep { step(AllVersions, "Check fx presets", move |_, _| { // Given let fx_chain = get_fx_chain()?; - let fx = fx_chain.fx_by_index(0).ok_or("Couldn't find first fx")?; + let fx = fx_chain.fx_by_index(0).context("Couldn't find first fx")?; // When // Then assert_eq!( @@ -3256,7 +3257,7 @@ fn change_fx_preset(get_fx_chain: GetFxChain) -> TestStep { let fx_chain = get_fx_chain()?; let fx = fx_chain .add_fx_by_original_name("ReaEq (Cockos)") - .ok_or("Couldn't add ReaEq")?; + .context("Couldn't add ReaEq")?; // When let (mock, _) = observe_invocations(|mock| { Test::control_surface_rx() @@ -3278,7 +3279,7 @@ fn check_fx_parameter(get_fx_chain: GetFxChain) -> TestStep { step(AllVersions, "Check fx parameter", move |_, _| { // Given let fx_chain = get_fx_chain()?; - let fx = fx_chain.fx_by_index(0).ok_or("Couldn't find first fx")?; + let fx = fx_chain.fx_by_index(0).context("Couldn't find first fx")?; // When let p = fx.parameter_by_index(5); // Then @@ -3300,7 +3301,7 @@ fn check_fx_parameter(get_fx_chain: GetFxChain) -> TestStep { ); assert_eq!( p.format_reaper_normalized_value(p.reaper_normalized_value()) - .map_err(|_| "Cockos plug-ins should be able to do that")? + .context("Cockos plug-ins should be able to do that")? .into_inner() .as_c_str(), c_str!("0") @@ -3328,12 +3329,12 @@ fn check_track_fx_with_2_fx(get_fx_chain: GetFxChain) -> TestStep { move |_session, _| { // Given let fx_chain = get_fx_chain()?; - let track = fx_chain.track().ok_or("no track")?; + let track = fx_chain.track().context("no track")?; // When - let fx_1 = fx_chain.fx_by_index(0).ok_or("Couldn't find first fx")?; + let fx_1 = fx_chain.fx_by_index(0).context("Couldn't find first fx")?; let fx_2 = fx_chain .add_fx_by_original_name("ReaSynth (Cockos)") - .ok_or("Couldn't add ReaSynth")?; + .context("Couldn't add ReaSynth")?; // Then assert!(fx_1.is_available()); assert!(fx_2.is_available()); @@ -3383,11 +3384,11 @@ fn check_track_fx_with_2_fx(get_fx_chain: GetFxChain) -> TestStep { let fx_1_file_name = fx_1_info .file_name .file_name() - .ok_or("FX 1 has no file name")?; + .context("FX 1 has no file name")?; let fx_2_file_name = fx_2_info .file_name .file_name() - .ok_or("FX 2 has no file name")?; + .context("FX 2 has no file name")?; assert!(matches!( fx_1_file_name .to_str() @@ -3406,8 +3407,8 @@ fn check_track_fx_with_2_fx(get_fx_chain: GetFxChain) -> TestStep { assert_eq!(fx_2_info.sub_type_expression, "VSTi"); assert_eq!(fx_1_info.effect_name, "VST: ReaControlMIDI (Cockos)"); assert_eq!(fx_2_info.effect_name, "VSTi: ReaSynth (Cockos)"); - assert_eq!(fx_1.track().ok_or("no track")?, track); - assert_eq!(fx_2.track().ok_or("no track")?, track); + assert_eq!(fx_1.track().context("no track")?, track); + assert_eq!(fx_2.track().context("no track")?, track); assert_eq!(fx_1.is_input_fx(), fx_chain.is_input_fx()); assert_eq!(fx_2.is_input_fx(), fx_chain.is_input_fx()); assert_eq!(fx_1.chain(), &fx_chain); @@ -3449,7 +3450,7 @@ fn check_track_fx_with_2_fx(get_fx_chain: GetFxChain) -> TestStep { if !fx_chain.is_input_fx() { let first_instrument_fx = fx_chain .first_instrument_fx() - .ok_or("Couldn't find instrument FX")?; + .context("Couldn't find instrument FX")?; assert_eq!(first_instrument_fx.index(), 1); } Ok(()) @@ -3461,7 +3462,7 @@ fn enable_track_fx(get_fx_chain: GetFxChain) -> TestStep { step(AllVersions, "Enable track fx", move |_, step| { // Given let fx_chain = get_fx_chain()?; - let fx_1 = fx_chain.fx_by_index(0).ok_or("Couldn't find first fx")?; + let fx_1 = fx_chain.fx_by_index(0).context("Couldn't find first fx")?; // When let (mock, _) = observe_invocations(|mock| { Test::control_surface_rx() @@ -3484,7 +3485,7 @@ fn disable_track_fx(get_fx_chain: GetFxChain) -> TestStep { step(AllVersions, "Disable track fx", move |_, step| { // Given let fx_chain = get_fx_chain()?; - let fx_1 = fx_chain.fx_by_index(0).ok_or("Couldn't find first fx")?; + let fx_1 = fx_chain.fx_by_index(0).context("Couldn't find first fx")?; // When let (mock, _) = observe_invocations(|mock| { Test::control_surface_rx() @@ -3513,7 +3514,7 @@ fn check_track_fx_with_1_fx(get_fx_chain: GetFxChain) -> TestStep { let fx_chain = get_fx_chain()?; let track = fx_chain.track(); // When - let fx_1 = fx_chain.fx_by_index(0).ok_or("Couldn't find first fx")?; + let fx_1 = fx_chain.fx_by_index(0).context("Couldn't find first fx")?; // Then assert!(fx_1.is_available()); assert_eq!(fx_1.index(), 0); @@ -3545,7 +3546,7 @@ fn check_track_fx_with_1_fx(get_fx_chain: GetFxChain) -> TestStep { assert!(!state_chunk.contains(">")); let fx_1_info: FxInfo = fx_1.info()?; - let file_name = fx_1_info.file_name.file_name().ok_or("No FX file name")?; + let file_name = fx_1_info.file_name.file_name().context("No FX file name")?; dbg!("HEY", file_name); assert!(matches!( file_name @@ -3632,9 +3633,9 @@ fn add_track_fx_by_original_name(get_fx_chain: GetFxChain) -> TestStep { ) } -fn get_track(index: u32) -> Result { +fn get_track(index: u32) -> anyhow::Result { Reaper::get() .current_project() .track_by_index(index) - .ok_or("Track not found") + .context("Track not found") }