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