]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Win32/Media/Audio/Endpoints/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / Media / Audio / Endpoints / mod.rs
CommitLineData
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
4pub struct AUDIO_ENDPOINT_SHARED_CREATE_PARAMS {
5 pub u32Size: u32,
6 pub u32TSSessionId: u32,
7 pub targetEndpointConnectorType: EndpointConnectorType,
8 pub wfxDeviceFormat: super::WAVEFORMATEX,
9}
10impl ::core::marker::Copy for AUDIO_ENDPOINT_SHARED_CREATE_PARAMS {}
11impl ::core::clone::Clone for AUDIO_ENDPOINT_SHARED_CREATE_PARAMS {
12 fn clone(&self) -> Self {
13 *self
14 }
15}
16pub 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")]
19pub 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")]
22pub 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")]
25pub 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")]
28pub 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 30pub type EndpointConnectorType = i32;
04454e1e 31#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"]
5e7ed085 32pub const eHostProcessConnector: EndpointConnectorType = 0i32;
04454e1e 33#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"]
5e7ed085 34pub const eOffloadConnector: EndpointConnectorType = 1i32;
04454e1e 35#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"]
5e7ed085 36pub const eLoopbackConnector: EndpointConnectorType = 2i32;
04454e1e 37#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"]
5e7ed085 38pub const eKeywordDetectorConnector: EndpointConnectorType = 3i32;
04454e1e 39#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"]
5e7ed085
FG
40pub const eConnectorCount: EndpointConnectorType = 4i32;
41pub type IAudioEndpointFormatControl = *mut ::core::ffi::c_void;
42pub type IAudioEndpointLastBufferControl = *mut ::core::ffi::c_void;
43pub type IAudioEndpointOffloadStreamMeter = *mut ::core::ffi::c_void;
44pub type IAudioEndpointOffloadStreamMute = *mut ::core::ffi::c_void;
45pub type IAudioEndpointOffloadStreamVolume = *mut ::core::ffi::c_void;
46pub type IAudioEndpointVolume = *mut ::core::ffi::c_void;
47pub type IAudioEndpointVolumeCallback = *mut ::core::ffi::c_void;
48pub type IAudioEndpointVolumeEx = *mut ::core::ffi::c_void;
49pub type IAudioLfxControl = *mut ::core::ffi::c_void;
50pub type IAudioMeterInformation = *mut ::core::ffi::c_void;
51pub type IHardwareAudioEngineBase = *mut ::core::ffi::c_void;