1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] 2 #[link(name = "windows")] 3 extern "system" {} 4 #[repr(C)] 5 pub struct AUDIO_ENDPOINT_SHARED_CREATE_PARAMS { 6 pub u32Size: u32, 7 pub u32TSSessionId: u32, 8 pub targetEndpointConnectorType: EndpointConnectorType, 9 pub wfxDeviceFormat: super::WAVEFORMATEX, 10 } 11 impl ::core::marker::Copy for AUDIO_ENDPOINT_SHARED_CREATE_PARAMS {} 12 impl ::core::clone::Clone for AUDIO_ENDPOINT_SHARED_CREATE_PARAMS { clone(&self) -> Self13 fn clone(&self) -> Self { 14 *self 15 } 16 } 17 pub const DEVINTERFACE_AUDIOENDPOINTPLUGIN: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 18 data1: 2670689126, 19 data2: 26028, 20 data3: 20390, 21 data4: [138, 228, 18, 60, 120, 184, 147, 19], 22 }; 23 #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] 24 pub const DEVPKEY_AudioEndpointPlugin2_FactoryCLSID: super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { 25 fmtid: ::windows_sys::core::GUID { data1: 316160983, data2: 53010, data3: 18110, data4: [133, 64, 129, 39, 16, 211, 2, 28] }, 26 pid: 4u32, 27 }; 28 #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] 29 pub const DEVPKEY_AudioEndpointPlugin_DataFlow: super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { 30 fmtid: ::windows_sys::core::GUID { data1: 316160983, data2: 53010, data3: 18110, data4: [133, 64, 129, 39, 16, 211, 2, 28] }, 31 pid: 2u32, 32 }; 33 #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] 34 pub const DEVPKEY_AudioEndpointPlugin_FactoryCLSID: super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { 35 fmtid: ::windows_sys::core::GUID { data1: 316160983, data2: 53010, data3: 18110, data4: [133, 64, 129, 39, 16, 211, 2, 28] }, 36 pid: 1u32, 37 }; 38 #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] 39 pub const DEVPKEY_AudioEndpointPlugin_PnPInterface: super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { 40 fmtid: ::windows_sys::core::GUID { data1: 316160983, data2: 53010, data3: 18110, data4: [133, 64, 129, 39, 16, 211, 2, 28] }, 41 pid: 3u32, 42 }; 43 pub type EndpointConnectorType = i32; 44 pub const eHostProcessConnector: EndpointConnectorType = 0i32; 45 pub const eOffloadConnector: EndpointConnectorType = 1i32; 46 pub const eLoopbackConnector: EndpointConnectorType = 2i32; 47 pub const eKeywordDetectorConnector: EndpointConnectorType = 3i32; 48 pub const eConnectorCount: EndpointConnectorType = 4i32; 49 pub type IAudioEndpointFormatControl = *mut ::core::ffi::c_void; 50 pub type IAudioEndpointLastBufferControl = *mut ::core::ffi::c_void; 51 pub type IAudioEndpointOffloadStreamMeter = *mut ::core::ffi::c_void; 52 pub type IAudioEndpointOffloadStreamMute = *mut ::core::ffi::c_void; 53 pub type IAudioEndpointOffloadStreamVolume = *mut ::core::ffi::c_void; 54 pub type IAudioEndpointVolume = *mut ::core::ffi::c_void; 55 pub type IAudioEndpointVolumeCallback = *mut ::core::ffi::c_void; 56 pub type IAudioEndpointVolumeEx = *mut ::core::ffi::c_void; 57 pub type IAudioLfxControl = *mut ::core::ffi::c_void; 58 pub type IAudioMeterInformation = *mut ::core::ffi::c_void; 59 pub type IHardwareAudioEngineBase = *mut ::core::ffi::c_void; 60