From 1b6a04ca5504955c571d1c97504fb45ea0befee4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 8 Jan 2024 01:21:28 +0400 Subject: Initial vendor packages Signed-off-by: Valentin Popov --- .../src/Windows/Win32/Media/Audio/Endpoints/mod.rs | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 vendor/windows-sys-0.45.0/src/Windows/Win32/Media/Audio/Endpoints/mod.rs (limited to 'vendor/windows-sys-0.45.0/src/Windows/Win32/Media/Audio/Endpoints') diff --git a/vendor/windows-sys-0.45.0/src/Windows/Win32/Media/Audio/Endpoints/mod.rs b/vendor/windows-sys-0.45.0/src/Windows/Win32/Media/Audio/Endpoints/mod.rs new file mode 100644 index 0000000..f56834f --- /dev/null +++ b/vendor/windows-sys-0.45.0/src/Windows/Win32/Media/Audio/Endpoints/mod.rs @@ -0,0 +1,51 @@ +pub type IAudioEndpointFormatControl = *mut ::core::ffi::c_void; +pub type IAudioEndpointLastBufferControl = *mut ::core::ffi::c_void; +pub type IAudioEndpointOffloadStreamMeter = *mut ::core::ffi::c_void; +pub type IAudioEndpointOffloadStreamMute = *mut ::core::ffi::c_void; +pub type IAudioEndpointOffloadStreamVolume = *mut ::core::ffi::c_void; +pub type IAudioEndpointVolume = *mut ::core::ffi::c_void; +pub type IAudioEndpointVolumeCallback = *mut ::core::ffi::c_void; +pub type IAudioEndpointVolumeEx = *mut ::core::ffi::c_void; +pub type IAudioLfxControl = *mut ::core::ffi::c_void; +pub type IAudioMeterInformation = *mut ::core::ffi::c_void; +pub type IHardwareAudioEngineBase = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] +pub const DEVINTERFACE_AUDIOENDPOINTPLUGIN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9f2f7b66_65ac_4fa6_8ae4_123c78b89313); +#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] +#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] +pub const DEVPKEY_AudioEndpointPlugin2_FactoryCLSID: super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x12d83bd7_cf12_46be_8540_812710d3021c), pid: 4u32 }; +#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] +#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] +pub const DEVPKEY_AudioEndpointPlugin_DataFlow: super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x12d83bd7_cf12_46be_8540_812710d3021c), pid: 2u32 }; +#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] +#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] +pub const DEVPKEY_AudioEndpointPlugin_FactoryCLSID: super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x12d83bd7_cf12_46be_8540_812710d3021c), pid: 1u32 }; +#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] +#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] +pub const DEVPKEY_AudioEndpointPlugin_PnPInterface: super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x12d83bd7_cf12_46be_8540_812710d3021c), pid: 3u32 }; +#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] +pub type EndpointConnectorType = i32; +#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] +pub const eHostProcessConnector: EndpointConnectorType = 0i32; +#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] +pub const eOffloadConnector: EndpointConnectorType = 1i32; +#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] +pub const eLoopbackConnector: EndpointConnectorType = 2i32; +#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] +pub const eKeywordDetectorConnector: EndpointConnectorType = 3i32; +#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] +pub const eConnectorCount: EndpointConnectorType = 4i32; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] +pub struct AUDIO_ENDPOINT_SHARED_CREATE_PARAMS { + pub u32Size: u32, + pub u32TSSessionId: u32, + pub targetEndpointConnectorType: EndpointConnectorType, + pub wfxDeviceFormat: super::WAVEFORMATEX, +} +impl ::core::marker::Copy for AUDIO_ENDPOINT_SHARED_CREATE_PARAMS {} +impl ::core::clone::Clone for AUDIO_ENDPOINT_SHARED_CREATE_PARAMS { + fn clone(&self) -> Self { + *self + } +} -- cgit v1.2.3