diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
commit | 4e8199b572f2035b7749cba276ece3a26630d23e (patch) | |
tree | f09feeed6a0fe39d027b1908aa63ea6b35e4b631 /vendor/windows-sys/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs | |
parent | Adding upstream version 1.66.0+dfsg1. (diff) | |
download | rustc-4e8199b572f2035b7749cba276ece3a26630d23e.tar.xz rustc-4e8199b572f2035b7749cba276ece3a26630d23e.zip |
Adding upstream version 1.67.1+dfsg1.upstream/1.67.1+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs | 802 |
1 files changed, 401 insertions, 401 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs b/vendor/windows-sys/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs index 3501eff15..13bdaff37 100644 --- a/vendor/windows-sys/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs @@ -1,35 +1,21 @@ +pub type IDirectMusic = *mut ::core::ffi::c_void; +pub type IDirectMusic8 = *mut ::core::ffi::c_void; +pub type IDirectMusicBuffer = *mut ::core::ffi::c_void; +pub type IDirectMusicCollection = *mut ::core::ffi::c_void; +pub type IDirectMusicDownload = *mut ::core::ffi::c_void; +pub type IDirectMusicDownloadedInstrument = *mut ::core::ffi::c_void; +pub type IDirectMusicInstrument = *mut ::core::ffi::c_void; +pub type IDirectMusicPort = *mut ::core::ffi::c_void; +pub type IDirectMusicPortDownload = *mut ::core::ffi::c_void; +pub type IDirectMusicSynth = *mut ::core::ffi::c_void; +pub type IDirectMusicSynth8 = *mut ::core::ffi::c_void; +pub type IDirectMusicSynthSink = *mut ::core::ffi::c_void; +pub type IDirectMusicThru = *mut ::core::ffi::c_void; pub const CLSID_DirectMusic: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1667997456, data2: 3197, data3: 4561, data4: [149, 178, 0, 32, 175, 220, 116, 33] }; pub const CLSID_DirectMusicCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1209005232, data2: 10418, data3: 4561, data4: [190, 247, 0, 192, 79, 191, 143, 239] }; pub const CLSID_DirectMusicSynth: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1489155280, data2: 18151, data3: 4561, data4: [137, 172, 0, 160, 201, 5, 65, 41] }; pub const CLSID_DirectMusicSynthSink: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2931916003, data2: 42260, data3: 4561, data4: [175, 166, 0, 170, 0, 36, 216, 182] }; pub const CLSID_DirectSoundPrivate: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 296435392, data2: 9708, data3: 4561, data4: [164, 216, 0, 192, 79, 194, 138, 202] }; -#[repr(C)] -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub struct CONNECTION { - pub usSource: u16, - pub usControl: u16, - pub usDestination: u16, - pub usTransform: u16, - pub lScale: i32, -} -impl ::core::marker::Copy for CONNECTION {} -impl ::core::clone::Clone for CONNECTION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub struct CONNECTIONLIST { - pub cbSize: u32, - pub cConnections: u32, -} -impl ::core::marker::Copy for CONNECTIONLIST {} -impl ::core::clone::Clone for CONNECTIONLIST { - fn clone(&self) -> Self { - *self - } -} #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub const CONN_DST_ATTENUATION: u32 = 1u32; #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] @@ -180,6 +166,289 @@ pub const DAUD_LOW_VOICE_PRIORITY: u32 = 1073741824u32; pub const DAUD_PERSIST_VOICE_PRIORITY: u32 = 268435456u32; #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub const DAUD_STANDARD_VOICE_PRIORITY: u32 = 2147483648u32; +pub const DLSID_GMInHardware: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259684, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; +pub const DLSID_GSInHardware: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259685, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; +pub const DLSID_ManufacturersID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2956857729, data2: 32917, data3: 4562, data4: [161, 239, 0, 96, 8, 51, 219, 216] }; +pub const DLSID_ProductID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2956857730, data2: 32917, data3: 4562, data4: [161, 239, 0, 96, 8, 51, 219, 216] }; +pub const DLSID_SampleMemorySize: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259688, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; +pub const DLSID_SamplePlaybackRate: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 714209043, data2: 42175, data3: 4562, data4: [187, 223, 0, 96, 8, 51, 219, 216] }; +pub const DLSID_SupportsDLS1: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259687, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; +pub const DLSID_SupportsDLS2: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4047870437, data2: 18057, data3: 4562, data4: [175, 166, 0, 170, 0, 36, 216, 182] }; +pub const DLSID_XGInHardware: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259686, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_ADD: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_AND: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_CONST: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_DIVIDE: u32 = 7u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_EQ: u32 = 14u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_GE: u32 = 13u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_GT: u32 = 12u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_LE: u32 = 11u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_LOGICAL_AND: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_LOGICAL_OR: u32 = 9u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_LT: u32 = 10u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_MULTIPLY: u32 = 6u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_NOT: u32 = 15u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_OR: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_QUERY: u32 = 17u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_QUERYSUPPORTED: u32 = 18u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_SUBTRACT: u32 = 5u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DLS_CDL_XOR: u32 = 3u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_CLOCKF_GLOBAL: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_DEFAULT_SIZE_OFFSETTABLE: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_DOWNLOADINFO_INSTRUMENT: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_DOWNLOADINFO_INSTRUMENT2: u32 = 3u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_DOWNLOADINFO_ONESHOTWAVE: u32 = 6u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_DOWNLOADINFO_STREAMINGWAVE: u32 = 5u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_DOWNLOADINFO_WAVE: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_DOWNLOADINFO_WAVEARTICULATION: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_EFFECT_CHORUS: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_EFFECT_DELAY: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_EFFECT_NONE: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_EFFECT_REVERB: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_EVENT_STRUCTURED: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_INSTRUMENT_GM_INSTRUMENT: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_MAX_DESCRIPTION: u32 = 128u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_MAX_DRIVER: u32 = 128u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_MIN_DATA_SIZE: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PC_AUDIOPATH: u32 = 1024u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PC_DIRECTSOUND: u32 = 128u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PC_DLS: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PC_DLS2: u32 = 512u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PC_EXTERNAL: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PC_GMINHARDWARE: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PC_GSINHARDWARE: u32 = 32u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PC_INPUTCLASS: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PC_MEMORYSIZEFIXED: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PC_OUTPUTCLASS: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PC_SHAREABLE: u32 = 256u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PC_SOFTWARESYNTH: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PC_SYSTEMMEMORY: u32 = 2147483647u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PC_WAVE: u32 = 2048u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PC_XGINHARDWARE: u32 = 64u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PORTPARAMS_AUDIOCHANNELS: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PORTPARAMS_CHANNELGROUPS: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PORTPARAMS_EFFECTS: u32 = 32u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PORTPARAMS_FEATURES: u32 = 128u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PORTPARAMS_SAMPLERATE: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PORTPARAMS_SHARE: u32 = 64u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PORTPARAMS_VOICES: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PORT_FEATURE_AUDIOPATH: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PORT_FEATURE_STREAMING: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PORT_KERNEL_MODE: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PORT_USER_MODE_SYNTH: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_PORT_WINMM_DRIVER: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_SYNTHSTATS_CPU_PER_VOICE: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_SYNTHSTATS_FREE_MEMORY: u32 = 32u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_SYNTHSTATS_LOST_NOTES: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_SYNTHSTATS_PEAK_VOLUME: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_SYNTHSTATS_SYSTEMMEMORY: u32 = 2147483647u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_SYNTHSTATS_TOTAL_CPU: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_SYNTHSTATS_VOICES: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_VOLUME_MAX: u32 = 2000u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_VOLUME_MIN: i32 = -20000i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_BACK_CENTER: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_BACK_LEFT: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_BACK_RIGHT: u32 = 5u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_CHORUS_SEND: u32 = 65u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_DYNAMIC_0: u32 = 512u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_FIRST_SPKR_LOC: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_FRONT_CENTER: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_FRONT_LEFT: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_FRONT_LEFT_OF_CENTER: u32 = 6u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_FRONT_RIGHT: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_FRONT_RIGHT_OF_CENTER: u32 = 7u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_LAST_SPKR_LOC: u32 = 17u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_LEFT: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_LOW_FREQUENCY: u32 = 3u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_NULL: u32 = 4294967295u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_REVERB_SEND: u32 = 64u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_RIGHT: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_SIDE_LEFT: u32 = 9u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_SIDE_RIGHT: u32 = 10u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_TOP_BACK_CENTER: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_TOP_BACK_LEFT: u32 = 15u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_TOP_BACK_RIGHT: u32 = 17u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_TOP_CENTER: u32 = 11u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_TOP_FRONT_CENTER: u32 = 13u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_TOP_FRONT_LEFT: u32 = 12u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSBUSID_TOP_FRONT_RIGHT: u32 = 14u32; +pub const DSPROPSETID_DirectSoundDevice: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2221035394, data2: 9708, data3: 4561, data4: [164, 216, 0, 192, 79, 194, 138, 202] }; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DV_AUDIOMODE: u32 = 3840u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DV_AUDIOQU: u32 = 117440512u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DV_AUDIOSMP: u32 = 939524096u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DV_CAP_AUD12Bits: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DV_CAP_AUD16Bits: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DV_DVSD_NTSC_FRAMESIZE: i32 = 120000i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DV_DVSD_PAL_FRAMESIZE: i32 = 144000i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DV_HD: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DV_NTSC: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DV_NTSCPAL: u32 = 2097152u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DV_PAL: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DV_SD: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DV_SL: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DV_SMCHN: u32 = 57344u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DV_STYPE: u32 = 2031616u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const F_INSTRUMENT_DRUMS: u32 = 2147483648u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const F_RGN_OPTION_SELFNONEXCLUSIVE: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const F_WAVELINK_MULTICHANNEL: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const F_WAVELINK_PHASE_MASTER: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const F_WSMP_NO_COMPRESSION: i32 = 2i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const F_WSMP_NO_TRUNCATION: i32 = 1i32; +pub const GUID_DMUS_PROP_DLS1: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259687, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; +pub const GUID_DMUS_PROP_DLS2: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4047870437, data2: 18057, data3: 4562, data4: [175, 166, 0, 170, 0, 36, 216, 182] }; +pub const GUID_DMUS_PROP_Effects: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3450394129, data2: 26698, data3: 4562, data4: [135, 30, 0, 96, 8, 147, 177, 189] }; +pub const GUID_DMUS_PROP_GM_Hardware: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259684, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; +pub const GUID_DMUS_PROP_GS_Capable: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1687595938, data2: 25008, data3: 4562, data4: [175, 166, 0, 170, 0, 36, 216, 182] }; +pub const GUID_DMUS_PROP_GS_Hardware: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259685, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; +pub const GUID_DMUS_PROP_INSTRUMENT2: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2254426994, data2: 40807, data3: 4562, data4: [135, 42, 0, 96, 8, 147, 177, 189] }; +pub const GUID_DMUS_PROP_LegacyCaps: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3483880898, data2: 161, data3: 4562, data4: [170, 213, 0, 0, 248, 117, 172, 18] }; +pub const GUID_DMUS_PROP_MemorySize: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259688, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; +pub const GUID_DMUS_PROP_SampleMemorySize: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259688, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; +pub const GUID_DMUS_PROP_SamplePlaybackRate: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 714209043, data2: 42175, data3: 4562, data4: [187, 223, 0, 96, 8, 51, 219, 216] }; +pub const GUID_DMUS_PROP_SetSynthSink: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 171596709, data2: 14262, data3: 4562, data4: [185, 249, 0, 0, 248, 117, 172, 18] }; +pub const GUID_DMUS_PROP_SinkUsesDSound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3189803095, data2: 35154, data3: 4562, data4: [186, 28, 0, 0, 248, 117, 172, 18] }; +pub const GUID_DMUS_PROP_SynthSink_DSOUND: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 178878532, data2: 51319, data3: 4561, data4: [135, 12, 0, 96, 8, 147, 177, 189] }; +pub const GUID_DMUS_PROP_SynthSink_WAVE: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 178878533, data2: 51319, data3: 4561, data4: [135, 12, 0, 96, 8, 147, 177, 189] }; +pub const GUID_DMUS_PROP_Volume: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4276071973, data2: 58478, data3: 4561, data4: [170, 206, 0, 0, 248, 117, 172, 18] }; +pub const GUID_DMUS_PROP_WavesReverb: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 80434722, data2: 13029, data3: 4562, data4: [175, 166, 0, 170, 0, 36, 216, 182] }; +pub const GUID_DMUS_PROP_WriteLatency: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 646582176, data2: 24818, data3: 4562, data4: [175, 166, 0, 170, 0, 36, 216, 182] }; +pub const GUID_DMUS_PROP_WritePeriod: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 646582177, data2: 24818, data3: 4562, data4: [175, 166, 0, 170, 0, 36, 216, 182] }; +pub const GUID_DMUS_PROP_XG_Capable: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1687595937, data2: 25008, data3: 4562, data4: [175, 166, 0, 170, 0, 36, 216, 182] }; +pub const GUID_DMUS_PROP_XG_Hardware: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259686, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const POOL_CUE_NULL: i32 = -1i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const REFRESH_F_LASTBUFFER: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const REGSTR_PATH_SOFTWARESYNTHS: &str = "Software\\Microsoft\\DirectMusic\\SoftwareSynths"; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const SIZE_DVINFO: u32 = 32u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const WAVELINK_CHANNEL_LEFT: i32 = 1i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const WAVELINK_CHANNEL_RIGHT: i32 = 2i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const WLOOP_TYPE_FORWARD: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const WLOOP_TYPE_RELEASE: u32 = 2u32; #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub type DIRECTSOUNDDEVICE_DATAFLOW = i32; #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] @@ -194,6 +463,57 @@ pub const DIRECTSOUNDDEVICE_TYPE_EMULATED: DIRECTSOUNDDEVICE_TYPE = 0i32; pub const DIRECTSOUNDDEVICE_TYPE_VXD: DIRECTSOUNDDEVICE_TYPE = 1i32; #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub const DIRECTSOUNDDEVICE_TYPE_WDM: DIRECTSOUNDDEVICE_TYPE = 2i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub type DMUS_CLOCKTYPE = i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_CLOCK_SYSTEM: DMUS_CLOCKTYPE = 0i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DMUS_CLOCK_WAVE: DMUS_CLOCKTYPE = 1i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub type DSPROPERTY_DIRECTSOUNDDEVICE = i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A: DSPROPERTY_DIRECTSOUNDDEVICE = 1i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1: DSPROPERTY_DIRECTSOUNDDEVICE = 2i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1: DSPROPERTY_DIRECTSOUNDDEVICE = 3i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W: DSPROPERTY_DIRECTSOUNDDEVICE = 4i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A: DSPROPERTY_DIRECTSOUNDDEVICE = 5i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W: DSPROPERTY_DIRECTSOUNDDEVICE = 6i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A: DSPROPERTY_DIRECTSOUNDDEVICE = 7i32; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub const DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W: DSPROPERTY_DIRECTSOUNDDEVICE = 8i32; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub struct CONNECTION { + pub usSource: u16, + pub usControl: u16, + pub usDestination: u16, + pub usTransform: u16, + pub lScale: i32, +} +impl ::core::marker::Copy for CONNECTION {} +impl ::core::clone::Clone for CONNECTION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] +pub struct CONNECTIONLIST { + pub cbSize: u32, + pub cConnections: u32, +} +impl ::core::marker::Copy for CONNECTIONLIST {} +impl ::core::clone::Clone for CONNECTIONLIST { + fn clone(&self) -> Self { + *self + } +} #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct DLSHEADER { @@ -219,15 +539,6 @@ impl ::core::clone::Clone for DLSID { *self } } -pub const DLSID_GMInHardware: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259684, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; -pub const DLSID_GSInHardware: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259685, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; -pub const DLSID_ManufacturersID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2956857729, data2: 32917, data3: 4562, data4: [161, 239, 0, 96, 8, 51, 219, 216] }; -pub const DLSID_ProductID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2956857730, data2: 32917, data3: 4562, data4: [161, 239, 0, 96, 8, 51, 219, 216] }; -pub const DLSID_SampleMemorySize: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259688, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; -pub const DLSID_SamplePlaybackRate: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 714209043, data2: 42175, data3: 4562, data4: [187, 223, 0, 96, 8, 51, 219, 216] }; -pub const DLSID_SupportsDLS1: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259687, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; -pub const DLSID_SupportsDLS2: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4047870437, data2: 18057, data3: 4562, data4: [175, 166, 0, 170, 0, 36, 216, 182] }; -pub const DLSID_XGInHardware: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259686, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct DLSVERSION { @@ -240,42 +551,6 @@ impl ::core::clone::Clone for DLSVERSION { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_ADD: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_AND: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_CONST: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_DIVIDE: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_EQ: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_GE: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_GT: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_LE: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_LOGICAL_AND: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_LOGICAL_OR: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_LT: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_MULTIPLY: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_NOT: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_OR: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_QUERY: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_QUERYSUPPORTED: u32 = 18u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_SUBTRACT: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DLS_CDL_XOR: u32 = 3u32; #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct DMUS_ARTICPARAMS { @@ -329,8 +604,6 @@ impl ::core::clone::Clone for DMUS_BUFFERDESC { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_CLOCKF_GLOBAL: u32 = 1u32; #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct DMUS_CLOCKINFO7 { @@ -360,12 +633,6 @@ impl ::core::clone::Clone for DMUS_CLOCKINFO8 { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub type DMUS_CLOCKTYPE = i32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_CLOCK_SYSTEM: DMUS_CLOCKTYPE = 0i32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_CLOCK_WAVE: DMUS_CLOCKTYPE = 1i32; #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct DMUS_COPYRIGHT { @@ -378,8 +645,6 @@ impl ::core::clone::Clone for DMUS_COPYRIGHT { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_DEFAULT_SIZE_OFFSETTABLE: u32 = 1u32; #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct DMUS_DOWNLOADINFO { @@ -394,26 +659,6 @@ impl ::core::clone::Clone for DMUS_DOWNLOADINFO { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_DOWNLOADINFO_INSTRUMENT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_DOWNLOADINFO_INSTRUMENT2: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_DOWNLOADINFO_ONESHOTWAVE: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_DOWNLOADINFO_STREAMINGWAVE: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_DOWNLOADINFO_WAVE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_DOWNLOADINFO_WAVEARTICULATION: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_EFFECT_CHORUS: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_EFFECT_DELAY: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_EFFECT_NONE: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_EFFECT_REVERB: u32 = 1u32; #[repr(C, packed(4))] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct DMUS_EVENTHEADER { @@ -428,8 +673,6 @@ impl ::core::clone::Clone for DMUS_EVENTHEADER { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_EVENT_STRUCTURED: u32 = 1u32; #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct DMUS_EXTENSIONCHUNK { @@ -460,8 +703,6 @@ impl ::core::clone::Clone for DMUS_INSTRUMENT { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_INSTRUMENT_GM_INSTRUMENT: u32 = 1u32; #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct DMUS_LFOPARAMS { @@ -478,12 +719,6 @@ impl ::core::clone::Clone for DMUS_LFOPARAMS { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_MAX_DESCRIPTION: u32 = 128u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_MAX_DRIVER: u32 = 128u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_MIN_DATA_SIZE: u32 = 4u32; #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct DMUS_MSCPARAMS { @@ -518,36 +753,6 @@ impl ::core::clone::Clone for DMUS_OFFSETTABLE { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PC_AUDIOPATH: u32 = 1024u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PC_DIRECTSOUND: u32 = 128u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PC_DLS: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PC_DLS2: u32 = 512u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PC_EXTERNAL: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PC_GMINHARDWARE: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PC_GSINHARDWARE: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PC_INPUTCLASS: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PC_MEMORYSIZEFIXED: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PC_OUTPUTCLASS: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PC_SHAREABLE: u32 = 256u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PC_SOFTWARESYNTH: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PC_SYSTEMMEMORY: u32 = 2147483647u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PC_WAVE: u32 = 2048u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PC_XGINHARDWARE: u32 = 64u32; #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct DMUS_PEGPARAMS { @@ -589,6 +794,27 @@ impl ::core::clone::Clone for DMUS_PORTCAPS { #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] +pub struct DMUS_PORTPARAMS7 { + pub dwSize: u32, + pub dwValidParams: u32, + pub dwVoices: u32, + pub dwChannelGroups: u32, + pub dwAudioChannels: u32, + pub dwSampleRate: u32, + pub dwEffectFlags: u32, + pub fShare: super::super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for DMUS_PORTPARAMS7 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for DMUS_PORTPARAMS7 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] pub struct DMUS_PORTPARAMS8 { pub dwSize: u32, pub dwValidParams: u32, @@ -608,30 +834,6 @@ impl ::core::clone::Clone for DMUS_PORTPARAMS8 { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PORTPARAMS_AUDIOCHANNELS: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PORTPARAMS_CHANNELGROUPS: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PORTPARAMS_EFFECTS: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PORTPARAMS_FEATURES: u32 = 128u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PORTPARAMS_SAMPLERATE: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PORTPARAMS_SHARE: u32 = 64u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PORTPARAMS_VOICES: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PORT_FEATURE_AUDIOPATH: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PORT_FEATURE_STREAMING: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PORT_KERNEL_MODE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PORT_USER_MODE_SYNTH: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_PORT_WINMM_DRIVER: u32 = 0u32; #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct DMUS_REGION { @@ -643,8 +845,8 @@ pub struct DMUS_REGION { pub ulNextRegionIdx: u32, pub ulFirstExtCkIdx: u32, pub WaveLink: WAVELINK, - pub WSMP: _rwsmp, - pub WLOOP: [_rloop; 1], + pub WSMP: WSMPL, + pub WLOOP: [WLOOP; 1], } impl ::core::marker::Copy for DMUS_REGION {} impl ::core::clone::Clone for DMUS_REGION { @@ -689,20 +891,6 @@ impl ::core::clone::Clone for DMUS_SYNTHSTATS8 { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_SYNTHSTATS_CPU_PER_VOICE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_SYNTHSTATS_FREE_MEMORY: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_SYNTHSTATS_LOST_NOTES: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_SYNTHSTATS_PEAK_VOLUME: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_SYNTHSTATS_SYSTEMMEMORY: u32 = 2147483647u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_SYNTHSTATS_TOTAL_CPU: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_SYNTHSTATS_VOICES: u32 = 1u32; #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct DMUS_VEGPARAMS { @@ -734,10 +922,6 @@ impl ::core::clone::Clone for DMUS_VOICE_STATE { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_VOLUME_MAX: u32 = 2000u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DMUS_VOLUME_MIN: i32 = -20000i32; #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct DMUS_WAVE { @@ -804,76 +988,6 @@ impl ::core::clone::Clone for DMUS_WAVES_REVERB_PARAMS { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_BACK_CENTER: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_BACK_LEFT: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_BACK_RIGHT: u32 = 5u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_CHORUS_SEND: u32 = 65u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_DYNAMIC_0: u32 = 512u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_FIRST_SPKR_LOC: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_FRONT_CENTER: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_FRONT_LEFT: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_FRONT_LEFT_OF_CENTER: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_FRONT_RIGHT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_FRONT_RIGHT_OF_CENTER: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_LAST_SPKR_LOC: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_LEFT: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_LOW_FREQUENCY: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_NULL: u32 = 4294967295u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_REVERB_SEND: u32 = 64u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_RIGHT: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_SIDE_LEFT: u32 = 9u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_SIDE_RIGHT: u32 = 10u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_TOP_BACK_CENTER: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_TOP_BACK_LEFT: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_TOP_BACK_RIGHT: u32 = 17u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_TOP_CENTER: u32 = 11u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_TOP_FRONT_CENTER: u32 = 13u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_TOP_FRONT_LEFT: u32 = 12u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSBUSID_TOP_FRONT_RIGHT: u32 = 14u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub type DSPROPERTY_DIRECTSOUNDDEVICE = i32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A: DSPROPERTY_DIRECTSOUNDDEVICE = 1i32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1: DSPROPERTY_DIRECTSOUNDDEVICE = 2i32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1: DSPROPERTY_DIRECTSOUNDDEVICE = 3i32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W: DSPROPERTY_DIRECTSOUNDDEVICE = 4i32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A: DSPROPERTY_DIRECTSOUNDDEVICE = 5i32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W: DSPROPERTY_DIRECTSOUNDDEVICE = 6i32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A: DSPROPERTY_DIRECTSOUNDDEVICE = 7i32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W: DSPROPERTY_DIRECTSOUNDDEVICE = 8i32; #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1001,83 +1115,23 @@ impl ::core::clone::Clone for DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_D *self } } -pub const DSPROPSETID_DirectSoundDevice: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2221035394, data2: 9708, data3: 4561, data4: [164, 216, 0, 192, 79, 194, 138, 202] }; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DV_AUDIOMODE: u32 = 3840u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DV_AUDIOQU: u32 = 117440512u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DV_AUDIOSMP: u32 = 939524096u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DV_CAP_AUD12Bits: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DV_CAP_AUD16Bits: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DV_DVSD_NTSC_FRAMESIZE: i32 = 120000i32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DV_DVSD_PAL_FRAMESIZE: i32 = 144000i32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DV_HD: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DV_NTSC: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DV_NTSCPAL: u32 = 2097152u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DV_PAL: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DV_SD: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DV_SL: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DV_SMCHN: u32 = 57344u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const DV_STYPE: u32 = 2031616u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const F_INSTRUMENT_DRUMS: u32 = 2147483648u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const F_RGN_OPTION_SELFNONEXCLUSIVE: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const F_WAVELINK_MULTICHANNEL: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const F_WAVELINK_PHASE_MASTER: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const F_WSMP_NO_COMPRESSION: i32 = 2i32; +#[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const F_WSMP_NO_TRUNCATION: i32 = 1i32; -pub const GUID_DMUS_PROP_DLS1: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259687, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; -pub const GUID_DMUS_PROP_DLS2: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4047870437, data2: 18057, data3: 4562, data4: [175, 166, 0, 170, 0, 36, 216, 182] }; -pub const GUID_DMUS_PROP_Effects: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3450394129, data2: 26698, data3: 4562, data4: [135, 30, 0, 96, 8, 147, 177, 189] }; -pub const GUID_DMUS_PROP_GM_Hardware: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259684, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; -pub const GUID_DMUS_PROP_GS_Capable: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1687595938, data2: 25008, data3: 4562, data4: [175, 166, 0, 170, 0, 36, 216, 182] }; -pub const GUID_DMUS_PROP_GS_Hardware: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259685, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; -pub const GUID_DMUS_PROP_INSTRUMENT2: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2254426994, data2: 40807, data3: 4562, data4: [135, 42, 0, 96, 8, 147, 177, 189] }; -pub const GUID_DMUS_PROP_LegacyCaps: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3483880898, data2: 161, data3: 4562, data4: [170, 213, 0, 0, 248, 117, 172, 18] }; -pub const GUID_DMUS_PROP_MemorySize: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259688, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; -pub const GUID_DMUS_PROP_SampleMemorySize: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259688, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; -pub const GUID_DMUS_PROP_SamplePlaybackRate: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 714209043, data2: 42175, data3: 4562, data4: [187, 223, 0, 96, 8, 51, 219, 216] }; -pub const GUID_DMUS_PROP_SetSynthSink: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 171596709, data2: 14262, data3: 4562, data4: [185, 249, 0, 0, 248, 117, 172, 18] }; -pub const GUID_DMUS_PROP_SinkUsesDSound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3189803095, data2: 35154, data3: 4562, data4: [186, 28, 0, 0, 248, 117, 172, 18] }; -pub const GUID_DMUS_PROP_SynthSink_DSOUND: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 178878532, data2: 51319, data3: 4561, data4: [135, 12, 0, 96, 8, 147, 177, 189] }; -pub const GUID_DMUS_PROP_SynthSink_WAVE: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 178878533, data2: 51319, data3: 4561, data4: [135, 12, 0, 96, 8, 147, 177, 189] }; -pub const GUID_DMUS_PROP_Volume: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4276071973, data2: 58478, data3: 4561, data4: [170, 206, 0, 0, 248, 117, 172, 18] }; -pub const GUID_DMUS_PROP_WavesReverb: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 80434722, data2: 13029, data3: 4562, data4: [175, 166, 0, 170, 0, 36, 216, 182] }; -pub const GUID_DMUS_PROP_WriteLatency: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 646582176, data2: 24818, data3: 4562, data4: [175, 166, 0, 170, 0, 36, 216, 182] }; -pub const GUID_DMUS_PROP_WritePeriod: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 646582177, data2: 24818, data3: 4562, data4: [175, 166, 0, 170, 0, 36, 216, 182] }; -pub const GUID_DMUS_PROP_XG_Capable: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1687595937, data2: 25008, data3: 4562, data4: [175, 166, 0, 170, 0, 36, 216, 182] }; -pub const GUID_DMUS_PROP_XG_Hardware: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 395259686, data2: 50020, data3: 4561, data4: [167, 96, 0, 0, 248, 117, 172, 18] }; -pub type IDirectMusic = *mut ::core::ffi::c_void; -pub type IDirectMusic8 = *mut ::core::ffi::c_void; -pub type IDirectMusicBuffer = *mut ::core::ffi::c_void; -pub type IDirectMusicCollection = *mut ::core::ffi::c_void; -pub type IDirectMusicDownload = *mut ::core::ffi::c_void; -pub type IDirectMusicDownloadedInstrument = *mut ::core::ffi::c_void; -pub type IDirectMusicInstrument = *mut ::core::ffi::c_void; -pub type IDirectMusicPort = *mut ::core::ffi::c_void; -pub type IDirectMusicPortDownload = *mut ::core::ffi::c_void; -pub type IDirectMusicSynth = *mut ::core::ffi::c_void; -pub type IDirectMusicSynth8 = *mut ::core::ffi::c_void; -pub type IDirectMusicSynthSink = *mut ::core::ffi::c_void; -pub type IDirectMusicThru = *mut ::core::ffi::c_void; +pub struct DVAudInfo { + pub bAudStyle: [u8; 2], + pub bAudQu: [u8; 2], + pub bNumAudPin: u8, + pub wAvgSamplesPerPinPerFrm: [u16; 2], + pub wBlkMode: u16, + pub wDIFMode: u16, + pub wBlkDiv: u16, +} +impl ::core::marker::Copy for DVAudInfo {} +impl ::core::clone::Clone for DVAudInfo { + fn clone(&self) -> Self { + *self + } +} #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct INSTHEADER { @@ -1090,15 +1144,6 @@ impl ::core::clone::Clone for INSTHEADER { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub type LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1 = ::core::option::Option<unsafe extern "system" fn(param0: *mut DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA, param1: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL>; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub type LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA = ::core::option::Option<unsafe extern "system" fn(param0: *mut DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA, param1: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL>; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub type LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW = ::core::option::Option<unsafe extern "system" fn(param0: *mut DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA, param1: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL>; #[repr(C, packed(1))] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct MDEVICECAPSEX { @@ -1165,12 +1210,6 @@ impl ::core::clone::Clone for POOLTABLE { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const POOL_CUE_NULL: i32 = -1i32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const REFRESH_F_LASTBUFFER: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const REGSTR_PATH_SOFTWARESYNTHS: &str = "Software\\Microsoft\\DirectMusic\\SoftwareSynths"; #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct RGNHEADER { @@ -1197,25 +1236,6 @@ impl ::core::clone::Clone for RGNRANGE { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const SIZE_DVINFO: u32 = 32u32; -#[repr(C)] -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub struct Tag_DVAudInfo { - pub bAudStyle: [u8; 2], - pub bAudQu: [u8; 2], - pub bNumAudPin: u8, - pub wAvgSamplesPerPinPerFrm: [u16; 2], - pub wBlkMode: u16, - pub wDIFMode: u16, - pub wBlkDiv: u16, -} -impl ::core::marker::Copy for Tag_DVAudInfo {} -impl ::core::clone::Clone for Tag_DVAudInfo { - fn clone(&self) -> Self { - *self - } -} #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] pub struct WAVELINK { @@ -1230,52 +1250,23 @@ impl ::core::clone::Clone for WAVELINK { *self } } -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const WAVELINK_CHANNEL_LEFT: i32 = 1i32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const WAVELINK_CHANNEL_RIGHT: i32 = 2i32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const WLOOP_TYPE_FORWARD: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub const WLOOP_TYPE_RELEASE: u32 = 2u32; -#[repr(C)] -#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub struct _DMUS_PORTPARAMS { - pub dwSize: u32, - pub dwValidParams: u32, - pub dwVoices: u32, - pub dwChannelGroups: u32, - pub dwAudioChannels: u32, - pub dwSampleRate: u32, - pub dwEffectFlags: u32, - pub fShare: super::super::super::Foundation::BOOL, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for _DMUS_PORTPARAMS {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for _DMUS_PORTPARAMS { - fn clone(&self) -> Self { - *self - } -} #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub struct _rloop { +pub struct WLOOP { pub cbSize: u32, pub ulType: u32, pub ulStart: u32, pub ulLength: u32, } -impl ::core::marker::Copy for _rloop {} -impl ::core::clone::Clone for _rloop { +impl ::core::marker::Copy for WLOOP {} +impl ::core::clone::Clone for WLOOP { fn clone(&self) -> Self { *self } } #[repr(C)] #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] -pub struct _rwsmp { +pub struct WSMPL { pub cbSize: u32, pub usUnityNote: u16, pub sFineTune: i16, @@ -1283,9 +1274,18 @@ pub struct _rwsmp { pub fulOptions: u32, pub cSampleLoops: u32, } -impl ::core::marker::Copy for _rwsmp {} -impl ::core::clone::Clone for _rwsmp { +impl ::core::marker::Copy for WSMPL {} +impl ::core::clone::Clone for WSMPL { fn clone(&self) -> Self { *self } } +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1 = ::core::option::Option<unsafe extern "system" fn(param0: *mut DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA, param1: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL>; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA = ::core::option::Option<unsafe extern "system" fn(param0: *mut DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA, param1: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL>; +#[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW = ::core::option::Option<unsafe extern "system" fn(param0: *mut DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA, param1: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL>; |