From 7730a01bc81f280aa32aef6648fccbd117b9cfb8 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Fri, 6 Sep 2024 11:52:26 -0500 Subject: [PATCH] Factory cache statics don't need to be public (#3261) --- crates/libs/bindgen/src/rust/classes.rs | 3 +- .../src/Windows/AI/MachineLearning/mod.rs | 99 ++++++----------- .../ApplicationModel/AppExtensions/mod.rs | 3 +- .../ApplicationModel/AppService/mod.rs | 6 +- .../Appointments/AppointmentsProvider/mod.rs | 6 +- .../ApplicationModel/Appointments/mod.rs | 15 +-- .../ApplicationModel/Background/mod.rs | 105 ++++++------------ .../ApplicationModel/Calls/Provider/mod.rs | 9 +- .../src/Windows/ApplicationModel/Calls/mod.rs | 33 ++---- .../src/Windows/ApplicationModel/Chat/mod.rs | 27 ++--- .../CommunicationBlocking/mod.rs | 9 +- .../Windows/ApplicationModel/Contacts/mod.rs | 39 +++---- .../ConversationalAgent/mod.rs | 6 +- .../src/Windows/ApplicationModel/Core/mod.rs | 27 ++--- .../DataTransfer/DragDrop/Core/mod.rs | 3 +- .../ApplicationModel/DataTransfer/mod.rs | 33 ++---- .../src/Windows/ApplicationModel/Email/mod.rs | 27 ++--- .../ApplicationModel/Holographic/mod.rs | 3 +- .../ApplicationModel/LockScreen/mod.rs | 3 +- .../ApplicationModel/PackageExtensions/mod.rs | 3 +- .../ApplicationModel/Payments/Provider/mod.rs | 6 +- .../Windows/ApplicationModel/Payments/mod.rs | 36 ++---- .../Preview/Holographic/mod.rs | 6 +- .../Preview/InkWorkspace/mod.rs | 3 +- .../ApplicationModel/Preview/Notes/mod.rs | 3 +- .../ApplicationModel/Resources/Core/mod.rs | 15 +-- .../Resources/Management/mod.rs | 6 +- .../Windows/ApplicationModel/Resources/mod.rs | 15 +-- .../Windows/ApplicationModel/Search/mod.rs | 9 +- .../UserActivities/Core/mod.rs | 3 +- .../ApplicationModel/UserActivities/mod.rs | 24 ++-- .../UserDataAccounts/SystemAccess/mod.rs | 6 +- .../ApplicationModel/UserDataAccounts/mod.rs | 6 +- .../ApplicationModel/UserDataTasks/mod.rs | 3 +- .../ApplicationModel/VoiceCommands/mod.rs | 9 +- .../ApplicationModel/Wallet/System/mod.rs | 3 +- .../Windows/ApplicationModel/Wallet/mod.rs | 15 +-- .../src/Windows/ApplicationModel/mod.rs | 42 +++---- .../libs/windows/src/Windows/Data/Html/mod.rs | 3 +- .../libs/windows/src/Windows/Data/Json/mod.rs | 15 +-- .../libs/windows/src/Windows/Data/Pdf/mod.rs | 3 +- .../libs/windows/src/Windows/Data/Text/mod.rs | 21 ++-- .../windows/src/Windows/Data/Xml/Dom/mod.rs | 3 +- .../windows/src/Windows/Data/Xml/Xsl/mod.rs | 3 +- .../windows/src/Windows/Devices/Adc/mod.rs | 6 +- .../Devices/Bluetooth/Advertisement/mod.rs | 18 +-- .../Devices/Bluetooth/Background/mod.rs | 3 +- .../Bluetooth/GenericAttributeProfile/mod.rs | 45 +++----- .../Windows/Devices/Bluetooth/Rfcomm/mod.rs | 12 +- .../src/Windows/Devices/Bluetooth/mod.rs | 36 ++---- .../windows/src/Windows/Devices/Custom/mod.rs | 9 +- .../src/Windows/Devices/Display/Core/mod.rs | 21 ++-- .../src/Windows/Devices/Display/mod.rs | 3 +- .../Windows/Devices/Enumeration/Pnp/mod.rs | 3 +- .../src/Windows/Devices/Enumeration/mod.rs | 18 +-- .../Devices/Geolocation/Geofencing/mod.rs | 6 +- .../src/Windows/Devices/Geolocation/mod.rs | 24 ++-- .../src/Windows/Devices/Gpio/Provider/mod.rs | 3 +- .../windows/src/Windows/Devices/Gpio/mod.rs | 12 +- .../src/Windows/Devices/Haptics/mod.rs | 9 +- .../Devices/HumanInterfaceDevice/mod.rs | 3 +- .../windows/src/Windows/Devices/I2c/mod.rs | 9 +- .../src/Windows/Devices/Input/Preview/mod.rs | 3 +- .../windows/src/Windows/Devices/Input/mod.rs | 15 +-- .../src/Windows/Devices/Lights/Effects/mod.rs | 18 +-- .../windows/src/Windows/Devices/Lights/mod.rs | 6 +- .../windows/src/Windows/Devices/Midi/mod.rs | 42 +++---- .../src/Windows/Devices/PointOfService/mod.rs | 54 +++------ .../src/Windows/Devices/Portable/mod.rs | 6 +- .../windows/src/Windows/Devices/Power/mod.rs | 6 +- .../Devices/Printers/Extensions/mod.rs | 3 +- .../src/Windows/Devices/Printers/mod.rs | 18 +-- .../windows/src/Windows/Devices/Pwm/mod.rs | 9 +- .../windows/src/Windows/Devices/Radios/mod.rs | 3 +- .../src/Windows/Devices/Scanners/mod.rs | 3 +- .../src/Windows/Devices/Sensors/Custom/mod.rs | 3 +- .../src/Windows/Devices/Sensors/mod.rs | 105 ++++++------------ .../Devices/SerialCommunication/mod.rs | 3 +- .../src/Windows/Devices/SmartCards/mod.rs | 36 ++---- .../windows/src/Windows/Devices/Sms/mod.rs | 21 ++-- .../src/Windows/Devices/Spi/Provider/mod.rs | 3 +- .../windows/src/Windows/Devices/Spi/mod.rs | 9 +- .../windows/src/Windows/Devices/Usb/mod.rs | 18 +-- .../windows/src/Windows/Devices/WiFi/mod.rs | 6 +- .../Devices/WiFiDirect/Services/mod.rs | 6 +- .../src/Windows/Devices/WiFiDirect/mod.rs | 12 +- .../libs/windows/src/Windows/Devices/mod.rs | 6 +- .../Windows/Embedded/DeviceLockdown/mod.rs | 3 +- .../src/Windows/Foundation/Diagnostics/mod.rs | 27 ++--- .../src/Windows/Foundation/Metadata/mod.rs | 3 +- .../windows/src/Windows/Foundation/mod.rs | 21 ++-- .../src/Windows/Gaming/Input/Custom/mod.rs | 6 +- .../Windows/Gaming/Input/ForceFeedback/mod.rs | 6 +- .../src/Windows/Gaming/Input/Preview/mod.rs | 6 +- .../windows/src/Windows/Gaming/Input/mod.rs | 30 ++--- .../Gaming/Preview/GamesEnumeration/mod.rs | 9 +- .../libs/windows/src/Windows/Gaming/UI/mod.rs | 6 +- .../Windows/Gaming/XboxLive/Storage/mod.rs | 3 +- .../Windows/Globalization/Collation/mod.rs | 3 +- .../Globalization/DateTimeFormatting/mod.rs | 6 +- .../src/Windows/Globalization/Fonts/mod.rs | 3 +- .../Globalization/NumberFormatting/mod.rs | 15 +-- .../PhoneNumberFormatting/mod.rs | 9 +- .../windows/src/Windows/Globalization/mod.rs | 63 ++++------- .../src/Windows/Graphics/Capture/mod.rs | 18 +-- .../src/Windows/Graphics/Display/Core/mod.rs | 3 +- .../src/Windows/Graphics/Display/mod.rs | 21 ++-- .../src/Windows/Graphics/Holographic/mod.rs | 15 +-- .../src/Windows/Graphics/Imaging/mod.rs | 21 ++-- .../Graphics/Printing/OptionDetails/mod.rs | 3 +- .../Graphics/Printing/PrintSupport/mod.rs | 3 +- .../Windows/Graphics/Printing/Workflow/mod.rs | 3 +- .../src/Windows/Graphics/Printing/mod.rs | 18 +-- .../src/Windows/Graphics/Printing3D/mod.rs | 24 ++-- .../src/Windows/Management/Core/mod.rs | 3 +- .../Management/Deployment/Preview/mod.rs | 3 +- .../src/Windows/Management/Deployment/mod.rs | 12 +- .../src/Windows/Management/Policies/mod.rs | 3 +- .../src/Windows/Management/Setup/mod.rs | 9 +- .../src/Windows/Management/Update/mod.rs | 12 +- .../src/Windows/Management/Workplace/mod.rs | 9 +- .../windows/src/Windows/Management/mod.rs | 3 +- .../src/Windows/Media/AppBroadcasting/mod.rs | 3 +- .../src/Windows/Media/AppRecording/mod.rs | 3 +- .../windows/src/Windows/Media/Audio/mod.rs | 48 +++----- .../src/Windows/Media/Capture/Frames/mod.rs | 3 +- .../windows/src/Windows/Media/Capture/mod.rs | 27 ++--- .../windows/src/Windows/Media/Casting/mod.rs | 3 +- .../src/Windows/Media/ClosedCaptioning/mod.rs | 6 +- .../Windows/Media/ContentRestrictions/mod.rs | 6 +- .../windows/src/Windows/Media/Control/mod.rs | 3 +- .../src/Windows/Media/Core/Preview/mod.rs | 3 +- .../windows/src/Windows/Media/Core/mod.rs | 51 +++------ .../src/Windows/Media/Devices/Core/mod.rs | 3 +- .../windows/src/Windows/Media/Devices/mod.rs | 9 +- .../src/Windows/Media/DialProtocol/mod.rs | 6 +- .../windows/src/Windows/Media/Editing/mod.rs | 18 +-- .../windows/src/Windows/Media/Effects/mod.rs | 12 +- .../src/Windows/Media/FaceAnalysis/mod.rs | 6 +- .../windows/src/Windows/Media/Import/mod.rs | 6 +- .../src/Windows/Media/MediaProperties/mod.rs | 75 +++++-------- .../libs/windows/src/Windows/Media/Ocr/mod.rs | 3 +- .../windows/src/Windows/Media/PlayTo/mod.rs | 3 +- .../windows/src/Windows/Media/Playback/mod.rs | 18 +-- .../src/Windows/Media/Playlists/mod.rs | 3 +- .../Windows/Media/Protection/PlayReady/mod.rs | 54 +++------ .../src/Windows/Media/Protection/mod.rs | 6 +- .../Windows/Media/SpeechRecognition/mod.rs | 21 ++-- .../src/Windows/Media/SpeechSynthesis/mod.rs | 6 +- .../Windows/Media/Streaming/Adaptive/mod.rs | 3 +- crates/libs/windows/src/Windows/Media/mod.rs | 21 ++-- .../Networking/BackgroundTransfer/mod.rs | 39 +++---- .../Windows/Networking/Connectivity/mod.rs | 12 +- .../Networking/NetworkOperators/mod.rs | 54 +++------ .../src/Windows/Networking/Proximity/mod.rs | 9 +- .../Networking/PushNotifications/mod.rs | 12 +- .../Networking/ServiceDiscovery/Dnssd/mod.rs | 3 +- .../src/Windows/Networking/Sockets/mod.rs | 21 ++-- .../windows/src/Windows/Networking/Vpn/mod.rs | 24 ++-- .../src/Windows/Networking/XboxLive/mod.rs | 12 +- .../windows/src/Windows/Networking/mod.rs | 9 +- .../Windows/Perception/Automation/Core/mod.rs | 3 +- .../src/Windows/Perception/People/mod.rs | 3 +- .../Windows/Perception/Spatial/Preview/mod.rs | 6 +- .../Perception/Spatial/Surfaces/mod.rs | 9 +- .../src/Windows/Perception/Spatial/mod.rs | 27 ++--- .../windows/src/Windows/Perception/mod.rs | 6 +- .../src/Windows/Phone/ApplicationModel/mod.rs | 3 +- .../Windows/Phone/Devices/Notification/mod.rs | 3 +- .../src/Windows/Phone/Devices/Power/mod.rs | 3 +- .../Phone/Management/Deployment/mod.rs | 9 +- .../src/Windows/Phone/Media/Devices/mod.rs | 3 +- .../Phone/Notification/Management/mod.rs | 9 +- .../PersonalInformation/Provisioning/mod.rs | 9 +- .../Windows/Phone/PersonalInformation/mod.rs | 12 +- .../src/Windows/Phone/StartScreen/mod.rs | 3 +- .../src/Windows/Phone/System/Power/mod.rs | 6 +- .../src/Windows/Phone/System/Profile/mod.rs | 3 +- .../UserProfile/GameServices/Core/mod.rs | 6 +- .../windows/src/Windows/Phone/System/mod.rs | 6 +- .../windows/src/Windows/Phone/UI/Input/mod.rs | 6 +- .../Authentication/Identity/Core/mod.rs | 3 +- .../Security/Authentication/Identity/mod.rs | 3 +- .../Security/Authentication/OnlineId/mod.rs | 6 +- .../Security/Authentication/Web/Core/mod.rs | 21 ++-- .../Authentication/Web/Provider/mod.rs | 24 ++-- .../Security/Authentication/Web/mod.rs | 6 +- .../Authorization/AppCapabilityAccess/mod.rs | 3 +- .../Windows/Security/Credentials/UI/mod.rs | 6 +- .../src/Windows/Security/Credentials/mod.rs | 12 +- .../Security/Cryptography/Certificates/mod.rs | 51 +++------ .../Windows/Security/Cryptography/Core/mod.rs | 54 +++------ .../Cryptography/DataProtection/mod.rs | 3 +- .../src/Windows/Security/Cryptography/mod.rs | 3 +- .../Windows/Security/DataProtection/mod.rs | 3 +- .../Windows/Security/EnterpriseData/mod.rs | 33 ++---- .../src/Windows/Security/Isolation/mod.rs | 15 +-- .../src/Windows/Services/Maps/Guidance/mod.rs | 12 +- .../Windows/Services/Maps/LocalSearch/mod.rs | 9 +- .../Windows/Services/Maps/OfflineMaps/mod.rs | 3 +- .../windows/src/Windows/Services/Maps/mod.rs | 39 +++---- .../windows/src/Windows/Services/Store/mod.rs | 9 +- .../Windows/Services/TargetedContent/mod.rs | 6 +- .../src/Windows/Storage/AccessCache/mod.rs | 6 +- .../src/Windows/Storage/BulkAccess/mod.rs | 3 +- .../src/Windows/Storage/Compression/mod.rs | 6 +- .../src/Windows/Storage/FileProperties/mod.rs | 3 +- .../src/Windows/Storage/Pickers/mod.rs | 12 +- .../src/Windows/Storage/Provider/mod.rs | 15 +-- .../windows/src/Windows/Storage/Search/mod.rs | 6 +- .../src/Windows/Storage/Streams/mod.rs | 24 ++-- .../libs/windows/src/Windows/Storage/mod.rs | 75 +++++-------- .../System/Diagnostics/DevicePortal/mod.rs | 3 +- .../System/Diagnostics/Telemetry/mod.rs | 3 +- .../System/Diagnostics/TraceReporting/mod.rs | 3 +- .../src/Windows/System/Diagnostics/mod.rs | 15 +-- .../System/Implementation/FileExplorer/mod.rs | 3 +- .../src/Windows/System/Inventory/mod.rs | 3 +- .../windows/src/Windows/System/Power/mod.rs | 9 +- .../System/Profile/SystemManufacturers/mod.rs | 9 +- .../windows/src/Windows/System/Profile/mod.rs | 45 +++----- .../Windows/System/RemoteDesktop/Input/mod.rs | 6 +- .../System/RemoteDesktop/Provider/mod.rs | 12 +- .../src/Windows/System/RemoteDesktop/mod.rs | 3 +- .../src/Windows/System/RemoteSystems/mod.rs | 57 ++++------ .../src/Windows/System/Threading/Core/mod.rs | 6 +- .../src/Windows/System/Threading/mod.rs | 6 +- .../windows/src/Windows/System/Update/mod.rs | 3 +- .../src/Windows/System/UserProfile/mod.rs | 36 ++---- crates/libs/windows/src/Windows/System/mod.rs | 87 +++++---------- .../src/Windows/UI/ApplicationSettings/mod.rs | 27 ++--- .../Windows/UI/Composition/Diagnostics/mod.rs | 3 +- .../UI/Composition/Interactions/mod.rs | 27 ++--- .../src/Windows/UI/Composition/Scenes/mod.rs | 18 +-- .../windows/src/Windows/UI/Composition/mod.rs | 27 ++--- .../Windows/UI/Core/AnimationMetrics/mod.rs | 3 +- .../src/Windows/UI/Core/Preview/mod.rs | 6 +- .../libs/windows/src/Windows/UI/Core/mod.rs | 21 ++-- .../windows/src/Windows/UI/Input/Core/mod.rs | 3 +- .../src/Windows/UI/Input/Inking/Core/mod.rs | 9 +- .../Windows/UI/Input/Inking/Preview/mod.rs | 3 +- .../src/Windows/UI/Input/Inking/mod.rs | 18 +-- .../Windows/UI/Input/Preview/Injection/mod.rs | 9 +- .../src/Windows/UI/Input/Preview/mod.rs | 3 +- .../src/Windows/UI/Input/Spatial/mod.rs | 12 +- .../libs/windows/src/Windows/UI/Input/mod.rs | 30 ++--- .../UI/Notifications/Management/mod.rs | 3 +- .../Windows/UI/Notifications/Preview/mod.rs | 3 +- .../src/Windows/UI/Notifications/mod.rs | 60 ++++------ .../libs/windows/src/Windows/UI/Popups/mod.rs | 6 +- .../libs/windows/src/Windows/UI/Shell/mod.rs | 18 +-- .../windows/src/Windows/UI/StartScreen/mod.rs | 18 +-- .../windows/src/Windows/UI/Text/Core/mod.rs | 6 +- .../libs/windows/src/Windows/UI/Text/mod.rs | 6 +- .../src/Windows/UI/UIAutomation/Core/mod.rs | 9 +- .../src/Windows/UI/ViewManagement/Core/mod.rs | 12 +- .../src/Windows/UI/ViewManagement/mod.rs | 54 +++------ .../windows/src/Windows/UI/WebUI/Core/mod.rs | 9 +- .../libs/windows/src/Windows/UI/WebUI/mod.rs | 18 +-- .../UI/WindowManagement/Preview/mod.rs | 3 +- .../src/Windows/UI/WindowManagement/mod.rs | 9 +- crates/libs/windows/src/Windows/UI/mod.rs | 9 +- .../windows/src/Windows/Web/AtomPub/mod.rs | 3 +- .../src/Windows/Web/Http/Diagnostics/mod.rs | 3 +- .../src/Windows/Web/Http/Filters/mod.rs | 3 +- .../src/Windows/Web/Http/Headers/mod.rs | 99 ++++++----------- .../libs/windows/src/Windows/Web/Http/mod.rs | 36 ++---- .../src/Windows/Web/Syndication/mod.rs | 36 ++---- .../windows/src/Windows/Web/UI/Interop/mod.rs | 3 +- crates/libs/windows/src/Windows/Web/mod.rs | 3 +- crates/libs/windows/src/lib.rs | 2 +- .../json_validator_winrt/src/bindings.rs | 6 +- .../src/bindings.rs | 6 +- .../tests/misc/standalone/src/b_calendar.rs | 6 +- crates/tests/misc/standalone/src/b_uri.rs | 9 +- .../tests/winrt/constructors/src/bindings.rs | 6 +- .../winrt/constructors_client/src/bindings.rs | 6 +- 277 files changed, 1333 insertions(+), 2671 deletions(-) diff --git a/crates/libs/bindgen/src/rust/classes.rs b/crates/libs/bindgen/src/rust/classes.rs index a7165f8f63..4789a93295 100644 --- a/crates/libs/bindgen/src/rust/classes.rs +++ b/crates/libs/bindgen/src/rust/classes.rs @@ -74,9 +74,8 @@ fn gen_class(writer: &Writer, def: metadata::TypeDef) -> TokenStream { let features = writer.cfg_features(&cfg::type_def_cfg(writer, *def, generics)); return Some(quote! { - #[doc(hidden)] #features - pub fn #interface_type windows_core::Result>( + fn #interface_type windows_core::Result>( callback: F, ) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache<#name, #interface_type> = diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs index c448d16f74..4b1b9cf7c2 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs @@ -1131,8 +1131,7 @@ impl ImageFeatureValue { (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[doc(hidden)] - pub fn IImageFeatureValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IImageFeatureValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1296,8 +1295,7 @@ impl LearningModel { (windows_core::Interface::vtable(this).LoadFromStreamWithOperatorProvider)(windows_core::Interface::as_raw(this), modelstream.param().abi(), operatorprovider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILearningModelStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILearningModelStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1387,8 +1385,7 @@ impl LearningModelBinding { let this = &windows_core::Interface::cast::>(self)?; unsafe { (windows_core::Interface::vtable(this).Split)(windows_core::Interface::as_raw(this), first as *mut _ as _, second as *mut _ as _).ok() } } - #[doc(hidden)] - pub fn ILearningModelBindingFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILearningModelBindingFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1458,13 +1455,11 @@ impl LearningModelDevice { (windows_core::Interface::vtable(this).CreateFromDirect3D11Device)(windows_core::Interface::as_raw(this), device.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILearningModelDeviceFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILearningModelDeviceFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ILearningModelDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILearningModelDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1632,13 +1627,11 @@ impl LearningModelSession { (windows_core::Interface::vtable(this).CreateFromModelOnDeviceWithSessionOptions)(windows_core::Interface::as_raw(this), model.param().abi(), devicetorunon.param().abi(), learningmodelsessionoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILearningModelSessionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILearningModelSessionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ILearningModelSessionFactory2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ILearningModelSessionFactory2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1921,13 +1914,11 @@ impl TensorBoolean { (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITensorBooleanStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorBooleanStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITensorBooleanStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorBooleanStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2044,13 +2035,11 @@ impl TensorDouble { (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITensorDoubleStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorDoubleStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITensorDoubleStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorDoubleStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2229,13 +2218,11 @@ impl TensorFloat { (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITensorFloatStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorFloatStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITensorFloatStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorFloatStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2352,13 +2339,11 @@ impl TensorFloat16Bit { (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITensorFloat16BitStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorFloat16BitStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITensorFloat16BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorFloat16BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2475,13 +2460,11 @@ impl TensorInt16Bit { (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITensorInt16BitStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorInt16BitStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITensorInt16BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorInt16BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2598,13 +2581,11 @@ impl TensorInt32Bit { (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITensorInt32BitStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorInt32BitStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITensorInt32BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorInt32BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2721,13 +2702,11 @@ impl TensorInt64Bit { (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITensorInt64BitStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorInt64BitStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITensorInt64BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorInt64BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2844,13 +2823,11 @@ impl TensorInt8Bit { (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITensorInt8BitStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorInt8BitStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITensorInt8BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorInt8BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2957,13 +2934,11 @@ impl TensorString { (windows_core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), data.len().try_into().unwrap(), core::mem::transmute(data.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITensorStringStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorStringStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITensorStringStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorStringStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3080,13 +3055,11 @@ impl TensorUInt16Bit { (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITensorUInt16BitStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorUInt16BitStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITensorUInt16BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorUInt16BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3203,13 +3176,11 @@ impl TensorUInt32Bit { (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITensorUInt32BitStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorUInt32BitStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITensorUInt32BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorUInt32BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3326,13 +3297,11 @@ impl TensorUInt64Bit { (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITensorUInt64BitStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorUInt64BitStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITensorUInt64BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorUInt64BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3449,13 +3418,11 @@ impl TensorUInt8Bit { (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITensorUInt8BitStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorUInt8BitStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITensorUInt8BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITensorUInt8BitStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs index b3e88b8cd3..9bea2c542d 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs @@ -350,8 +350,7 @@ impl AppExtensionCatalog { (windows_core::Interface::vtable(this).Open)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appextensionname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppExtensionCatalogStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppExtensionCatalogStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs index 75f4441ecd..61c4530b29 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs @@ -180,8 +180,7 @@ impl AppServiceCatalog { (windows_core::Interface::vtable(this).FindAppServiceProvidersAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appservicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppServiceCatalogStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppServiceCatalogStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -338,8 +337,7 @@ impl AppServiceConnection { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[doc(hidden)] - pub fn IAppServiceConnectionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppServiceConnectionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs index 3b0da4bb45..c4f46266bb 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs @@ -144,13 +144,11 @@ impl AppointmentsProviderLaunchActionVerbs { (windows_core::Interface::vtable(this).ShowAppointmentDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppointmentsProviderLaunchActionVerbsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppointmentsProviderLaunchActionVerbsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAppointmentsProviderLaunchActionVerbsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppointmentsProviderLaunchActionVerbsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs index 860bd26388..5284417105 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs @@ -1673,18 +1673,15 @@ impl AppointmentManager { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppointmentManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppointmentManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAppointmentManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppointmentManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAppointmentManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppointmentManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2038,13 +2035,11 @@ impl AppointmentProperties { (windows_core::Interface::vtable(this).DetailsKind)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppointmentPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppointmentPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAppointmentPropertiesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppointmentPropertiesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs index bafd4d2438..9c26084759 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs @@ -1612,8 +1612,7 @@ impl ActivitySensorTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), reportintervalinmilliseconds, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IActivitySensorTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IActivitySensorTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1644,8 +1643,7 @@ impl AlarmApplicationManager { (windows_core::Interface::vtable(this).GetAccessStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IAlarmApplicationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAlarmApplicationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1679,8 +1677,7 @@ impl AppBroadcastTrigger { (windows_core::Interface::vtable(this).CreateAppBroadcastTrigger)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(providerkey), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppBroadcastTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppBroadcastTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1933,18 +1930,15 @@ impl BackgroundExecutionManager { (windows_core::Interface::vtable(this).GetAccessStatusForModernStandbyForApplication)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IBackgroundExecutionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundExecutionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBackgroundExecutionManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundExecutionManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBackgroundExecutionManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundExecutionManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2078,8 +2072,7 @@ impl BackgroundTaskBuilder { (windows_core::Interface::vtable(this).IsRunningTaskInStandbySupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IBackgroundTaskBuilderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundTaskBuilderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2277,13 +2270,11 @@ impl BackgroundTaskRegistration { (windows_core::Interface::vtable(this).GetTaskGroup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(groupid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBackgroundTaskRegistrationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundTaskRegistrationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBackgroundTaskRegistrationStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundTaskRegistrationStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2354,8 +2345,7 @@ impl BackgroundTaskRegistrationGroup { (windows_core::Interface::vtable(this).CreateWithName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBackgroundTaskRegistrationGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundTaskRegistrationGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2398,13 +2388,11 @@ impl BackgroundWorkCost { (windows_core::Interface::vtable(this).AppLastThrottledInStandbyTimestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IBackgroundWorkCostStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundWorkCostStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBackgroundWorkCostStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundWorkCostStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2787,8 +2775,7 @@ impl ContentPrefetchTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), waitinterval, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IContentPrefetchTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IContentPrefetchTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2852,8 +2839,7 @@ impl CustomSystemEventTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(triggerid), recurrence, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICustomSystemEventTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICustomSystemEventTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2905,8 +2891,7 @@ impl DeviceConnectionChangeTrigger { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDeviceConnectionChangeTriggerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDeviceConnectionChangeTriggerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2956,9 +2941,8 @@ impl DeviceManufacturerNotificationTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(triggerqualifier), oneshot, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IDeviceManufacturerNotificationTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IDeviceManufacturerNotificationTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3140,13 +3124,11 @@ impl GattCharacteristicNotificationTrigger { (windows_core::Interface::vtable(this).CreateWithEventTriggeringMode)(windows_core::Interface::as_raw(this), characteristic.param().abi(), eventtriggeringmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGattCharacteristicNotificationTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattCharacteristicNotificationTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGattCharacteristicNotificationTriggerFactory2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattCharacteristicNotificationTriggerFactory2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3206,8 +3188,7 @@ impl GattServiceProviderTrigger { (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(triggerid), serviceuuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGattServiceProviderTriggerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattServiceProviderTriggerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3315,8 +3296,7 @@ impl LocationTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), triggertype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILocationTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILocationTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3359,8 +3339,7 @@ impl MaintenanceTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), freshnesstime, oneshot, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMaintenanceTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMaintenanceTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3610,8 +3589,7 @@ impl NetworkOperatorNotificationTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(networkaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn INetworkOperatorNotificationTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn INetworkOperatorNotificationTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3679,8 +3657,7 @@ impl PhoneTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), r#type, oneshot, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPhoneTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3715,8 +3692,7 @@ impl PushNotificationTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPushNotificationTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPushNotificationTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3888,8 +3864,7 @@ impl SensorDataThresholdTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), threshold.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISensorDataThresholdTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISensorDataThresholdTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3927,8 +3902,7 @@ impl SmartCardTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), triggertype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISmartCardTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmartCardTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3958,8 +3932,7 @@ impl SmsMessageReceivedTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), filterrules.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISmsMessageReceivedTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmsMessageReceivedTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4023,8 +3996,7 @@ impl StorageLibraryChangeTrackerTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), tracker.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStorageLibraryChangeTrackerTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageLibraryChangeTrackerTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4067,8 +4039,7 @@ impl StorageLibraryContentChangedTrigger { (windows_core::Interface::vtable(this).CreateFromLibraries)(windows_core::Interface::as_raw(this), storagelibraries.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStorageLibraryContentChangedTriggerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageLibraryContentChangedTriggerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4102,8 +4073,7 @@ impl SystemCondition { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), conditiontype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISystemConditionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemConditionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4144,8 +4114,7 @@ impl SystemTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), triggertype, oneshot, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISystemTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4211,8 +4180,7 @@ impl TimeTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), freshnesstime, oneshot, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITimeTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ITimeTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4245,8 +4213,7 @@ impl ToastNotificationActionTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IToastNotificationActionTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IToastNotificationActionTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4281,8 +4248,7 @@ impl ToastNotificationHistoryChangedTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IToastNotificationHistoryChangedTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IToastNotificationHistoryChangedTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4311,8 +4277,7 @@ impl UserNotificationChangedTrigger { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), notificationkinds, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUserNotificationChangedTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserNotificationChangedTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs index add919599f..a1d338afc5 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs @@ -261,21 +261,18 @@ impl PhoneCallOriginManager { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IPhoneCallOriginManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneCallOriginManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IPhoneCallOriginManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneCallOriginManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IPhoneCallOriginManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneCallOriginManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs index f837f3827b..8ccc9501cd 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs @@ -1135,8 +1135,7 @@ impl PhoneCall { (windows_core::Interface::vtable(this).GetFromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(callid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPhoneCallStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneCallStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1183,8 +1182,7 @@ impl PhoneCallBlocking { (windows_core::Interface::vtable(this).SetCallBlockingListAsync)(windows_core::Interface::as_raw(this), phonenumberlist.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPhoneCallBlockingStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneCallBlockingStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1475,8 +1473,7 @@ impl PhoneCallHistoryEntryAddress { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(rawaddress), rawaddresskind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPhoneCallHistoryEntryAddressFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneCallHistoryEntryAddressFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1581,13 +1578,11 @@ impl PhoneCallHistoryManager { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPhoneCallHistoryManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneCallHistoryManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPhoneCallHistoryManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneCallHistoryManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1856,13 +1851,11 @@ impl PhoneCallManager { (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPhoneCallManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneCallManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPhoneCallManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneCallManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1942,8 +1935,7 @@ impl PhoneCallVideoCapabilitiesManager { (windows_core::Interface::vtable(this).GetCapabilitiesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(phonenumber), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPhoneCallVideoCapabilitiesManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneCallVideoCapabilitiesManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2253,8 +2245,7 @@ impl PhoneLine { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), lineid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPhoneLineStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneLineStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2521,8 +2512,7 @@ impl PhoneLineTransportDevice { (windows_core::Interface::vtable(this).GetDeviceSelectorForPhoneLineTransport)(windows_core::Interface::as_raw(this), transport, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPhoneLineTransportDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneLineTransportDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2832,8 +2822,7 @@ impl VoipCallCoordinator { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVoipCallCoordinatorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IVoipCallCoordinatorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs index 3c8562d45d..9b13d951b1 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs @@ -843,13 +843,11 @@ impl ChatCapabilitiesManager { (windows_core::Interface::vtable(this).GetCapabilitiesFromNetworkForTransportAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(address), core::mem::transmute_copy(transportid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IChatCapabilitiesManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IChatCapabilitiesManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IChatCapabilitiesManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IChatCapabilitiesManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1538,8 +1536,7 @@ impl ChatMessageAttachment { (windows_core::Interface::vtable(this).CreateChatMessageAttachment)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(mimetype), datastreamreference.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IChatMessageAttachmentFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IChatMessageAttachmentFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1564,8 +1561,7 @@ impl ChatMessageBlocking { (windows_core::Interface::vtable(this).MarkMessageAsBlockedAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localchatmessageid), blocked, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IChatMessageBlockingStatic windows_core::Result>(callback: F) -> windows_core::Result { + fn IChatMessageBlockingStatic windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1767,18 +1763,15 @@ impl ChatMessageManager { (windows_core::Interface::vtable(this).RequestSyncManagerAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IChatMessageManager2Statics windows_core::Result>(callback: F) -> windows_core::Result { + fn IChatMessageManager2Statics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IChatMessageManagerStatic windows_core::Result>(callback: F) -> windows_core::Result { + fn IChatMessageManagerStatic windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IChatMessageManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IChatMessageManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2850,13 +2843,11 @@ impl RcsManager { pub fn RemoveTransportListChanged(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IRcsManagerStatics2(|this| unsafe { (windows_core::Interface::vtable(this).RemoveTransportListChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn IRcsManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRcsManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IRcsManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IRcsManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs index be2b8a6659..dd8dcfcf00 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs @@ -77,8 +77,7 @@ impl CommunicationBlockingAccessManager { pub fn ShowBlockedMessagesUI() -> windows_core::Result<()> { Self::ICommunicationBlockingAccessManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).ShowBlockedMessagesUI)(windows_core::Interface::as_raw(this)).ok() }) } - #[doc(hidden)] - pub fn ICommunicationBlockingAccessManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICommunicationBlockingAccessManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -103,13 +102,11 @@ impl CommunicationBlockingAppManager { (windows_core::Interface::vtable(this).RequestSetAsActiveBlockingAppAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICommunicationBlockingAppManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICommunicationBlockingAppManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICommunicationBlockingAppManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICommunicationBlockingAppManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs index 011bf03064..bbccd1f686 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs @@ -2754,8 +2754,7 @@ impl ContactField { (windows_core::Interface::vtable(this).CreateField_Custom)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(value), r#type, category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IContactFieldFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IContactFieldFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3043,8 +3042,7 @@ impl ContactInstantMessageField { (windows_core::Interface::vtable(this).CreateInstantMessage_All)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(username), category, core::mem::transmute_copy(service), core::mem::transmute_copy(displaytext), verb.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IContactInstantMessageFieldFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IContactInstantMessageFieldFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3206,8 +3204,7 @@ impl ContactLaunchActionVerbs { (windows_core::Interface::vtable(this).VideoCall)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IContactLaunchActionVerbsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IContactLaunchActionVerbsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4045,8 +4042,7 @@ impl ContactLocationField { (windows_core::Interface::vtable(this).CreateLocation_All)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(unstructuredaddress), category, core::mem::transmute_copy(street), core::mem::transmute_copy(city), core::mem::transmute_copy(region), core::mem::transmute_copy(country), core::mem::transmute_copy(postalcode), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IContactLocationFieldFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IContactLocationFieldFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4217,28 +4213,23 @@ impl ContactManager { pub fn SetIncludeMiddleNameInSystemDisplayAndSort(value: bool) -> windows_core::Result<()> { Self::IContactManagerStatics5(|this| unsafe { (windows_core::Interface::vtable(this).SetIncludeMiddleNameInSystemDisplayAndSort)(windows_core::Interface::as_raw(this), value).ok() }) } - #[doc(hidden)] - pub fn IContactManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IContactManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IContactManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IContactManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IContactManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IContactManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IContactManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IContactManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IContactManagerStatics5 windows_core::Result>(callback: F) -> windows_core::Result { + fn IContactManagerStatics5 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4671,8 +4662,7 @@ impl ContactPicker { (windows_core::Interface::vtable(this).IsSupportedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IContactPickerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IContactPickerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4767,8 +4757,7 @@ impl ContactQueryOptions { (windows_core::Interface::vtable(this).CreateWithTextAndFields)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), fields, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IContactQueryOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IContactQueryOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5221,9 +5210,8 @@ impl KnownContactField { (windows_core::Interface::vtable(this).ConvertTypeToName)(windows_core::Interface::as_raw(this), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IKnownContactFieldStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownContactFieldStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5355,8 +5343,7 @@ impl PinnedContactManager { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IPinnedContactManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPinnedContactManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs index 4be3c6b516..d470f89f2c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs @@ -869,8 +869,7 @@ impl ConversationalAgentDetectorManager { (windows_core::Interface::vtable(this).Default)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IConversationalAgentDetectorManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IConversationalAgentDetectorManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1198,8 +1197,7 @@ impl ConversationalAgentSession { (windows_core::Interface::vtable(this).GetCurrentSessionSync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IConversationalAgentSessionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IConversationalAgentSessionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs index a4c492689e..38b427ba82 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs @@ -602,48 +602,39 @@ impl CoreApplication { (windows_core::Interface::vtable(this).CreateNewViewWithViewSource)(windows_core::Interface::as_raw(this), viewsource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICoreApplication windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreApplication windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICoreApplication2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreApplication2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICoreApplication3 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreApplication3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICoreApplicationExit windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreApplicationExit windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICoreApplicationUnhandledError windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreApplicationUnhandledError windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICoreApplicationUseCount windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreApplicationUseCount windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICoreImmersiveApplication windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreImmersiveApplication windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICoreImmersiveApplication2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreImmersiveApplication2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICoreImmersiveApplication3 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreImmersiveApplication3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs index 8486ec660b..1f19b89c10 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs @@ -203,8 +203,7 @@ impl CoreDragDropManager { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICoreDragDropManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreDragDropManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs index 07fd1113d9..9533ce8157 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs @@ -779,13 +779,11 @@ impl Clipboard { pub fn RemoveHistoryEnabledChanged(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IClipboardStatics2(|this| unsafe { (windows_core::Interface::vtable(this).RemoveHistoryEnabledChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn IClipboardStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IClipboardStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IClipboardStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IClipboardStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1957,18 +1955,15 @@ impl DataTransferManager { { Self::IDataTransferManagerStatics3(|this| unsafe { (windows_core::Interface::vtable(this).ShowShareUIWithOptions)(windows_core::Interface::as_raw(this), options.param().abi()).ok() }) } - #[doc(hidden)] - pub fn IDataTransferManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDataTransferManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IDataTransferManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IDataTransferManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IDataTransferManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IDataTransferManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1997,8 +1992,7 @@ impl HtmlFormatHelper { (windows_core::Interface::vtable(this).CreateHtmlFormat)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(htmlfragment), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IHtmlFormatHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHtmlFormatHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2116,8 +2110,7 @@ impl ShareProvider { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(title), displayicon.param().abi(), backgroundcolor, handler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IShareProviderFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IShareProviderFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2314,8 +2307,7 @@ impl SharedStorageAccessManager { pub fn RemoveFile(token: &windows_core::HSTRING) -> windows_core::Result<()> { Self::ISharedStorageAccessManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveFile)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token)).ok() }) } - #[doc(hidden)] - pub fn ISharedStorageAccessManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISharedStorageAccessManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2380,18 +2372,15 @@ impl StandardDataFormats { (windows_core::Interface::vtable(this).UserActivityJsonArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStandardDataFormatsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStandardDataFormatsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IStandardDataFormatsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IStandardDataFormatsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IStandardDataFormatsStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IStandardDataFormatsStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs index e702407a51..4c64f39e8c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs @@ -1056,13 +1056,11 @@ impl EmailAttachment { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filename), data.param().abi(), core::mem::transmute_copy(mimetype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IEmailAttachmentFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IEmailAttachmentFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IEmailAttachmentFactory2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IEmailAttachmentFactory2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1615,8 +1613,7 @@ impl EmailIrmInfo { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), expiration, irmtemplate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IEmailIrmInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IEmailIrmInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1684,8 +1681,7 @@ impl EmailIrmTemplate { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), core::mem::transmute_copy(name), core::mem::transmute_copy(description), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IEmailIrmTemplateFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IEmailIrmTemplateFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2944,18 +2940,15 @@ impl EmailManager { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IEmailManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IEmailManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IEmailManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IEmailManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IEmailManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IEmailManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3737,8 +3730,7 @@ impl EmailQueryOptions { (windows_core::Interface::vtable(this).CreateWithTextAndFields)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), fields, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IEmailQueryOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IEmailQueryOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3852,8 +3844,7 @@ impl EmailRecipient { (windows_core::Interface::vtable(this).CreateWithName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(address), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IEmailRecipientFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IEmailRecipientFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs index 0c928d44ce..5a812b731b 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs @@ -55,8 +55,7 @@ impl HolographicKeyboard { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IHolographicKeyboardStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHolographicKeyboardStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs index 38b9408392..0f155cffa7 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs @@ -117,8 +117,7 @@ impl LockApplicationHost { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILockApplicationHostStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILockApplicationHostStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/PackageExtensions/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/PackageExtensions/mod.rs index c26274d0d3..45d1c0db81 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/PackageExtensions/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/PackageExtensions/mod.rs @@ -310,8 +310,7 @@ impl PackageExtensionCatalog { (windows_core::Interface::vtable(this).Open)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packageextensionname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPackageExtensionCatalogStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPackageExtensionCatalogStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs index 751fa97452..11a1366d18 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs @@ -128,8 +128,7 @@ impl PaymentAppManager { (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPaymentAppManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPaymentAppManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -231,8 +230,7 @@ impl PaymentTransaction { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPaymentTransactionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPaymentTransactionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs index aed1a0f3a9..8ad9bcb980 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs @@ -620,8 +620,7 @@ impl PaymentCanMakePaymentResult { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPaymentCanMakePaymentResultFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPaymentCanMakePaymentResultFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -688,8 +687,7 @@ impl PaymentCurrencyAmount { (windows_core::Interface::vtable(this).CreateWithCurrencySystem)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), core::mem::transmute_copy(currency), core::mem::transmute_copy(currencysystem), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPaymentCurrencyAmountFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPaymentCurrencyAmountFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -800,8 +798,7 @@ impl PaymentDetails { (windows_core::Interface::vtable(this).CreateWithDisplayItems)(windows_core::Interface::as_raw(this), total.param().abi(), displayitems.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPaymentDetailsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPaymentDetailsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -888,8 +885,7 @@ impl PaymentDetailsModifier { (windows_core::Interface::vtable(this).CreateWithAdditionalDisplayItemsAndJsonData)(windows_core::Interface::as_raw(this), supportedmethodids.param().abi(), total.param().abi(), additionaldisplayitems.param().abi(), core::mem::transmute_copy(jsondata), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPaymentDetailsModifierFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPaymentDetailsModifierFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -956,8 +952,7 @@ impl PaymentItem { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(label), amount.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPaymentItemFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPaymentItemFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1073,8 +1068,7 @@ impl PaymentMerchantInfo { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPaymentMerchantInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPaymentMerchantInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1131,8 +1125,7 @@ impl PaymentMethodData { (windows_core::Interface::vtable(this).CreateWithJsonData)(windows_core::Interface::as_raw(this), supportedmethodids.param().abi(), core::mem::transmute_copy(jsondata), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPaymentMethodDataFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPaymentMethodDataFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1319,13 +1312,11 @@ impl PaymentRequest { (windows_core::Interface::vtable(this).CreateWithMerchantInfoOptionsAndId)(windows_core::Interface::as_raw(this), details.param().abi(), methoddata.param().abi(), merchantinfo.param().abi(), options.param().abi(), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPaymentRequestFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPaymentRequestFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPaymentRequestFactory2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPaymentRequestFactory2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1444,8 +1435,7 @@ impl PaymentRequestChangedResult { (windows_core::Interface::vtable(this).CreateWithPaymentDetails)(windows_core::Interface::as_raw(this), changeacceptedbymerchant, updatedpaymentdetails.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPaymentRequestChangedResultFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPaymentRequestChangedResultFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1640,8 +1630,7 @@ impl PaymentShippingOption { (windows_core::Interface::vtable(this).CreateWithSelectedAndTag)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(label), amount.param().abi(), selected, core::mem::transmute_copy(tag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPaymentShippingOptionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPaymentShippingOptionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1689,8 +1678,7 @@ impl PaymentToken { (windows_core::Interface::vtable(this).CreateWithJsonDetails)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(paymentmethodid), core::mem::transmute_copy(jsondetails), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPaymentTokenFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPaymentTokenFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs index ddc59063d9..430ccfa158 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs @@ -67,8 +67,7 @@ impl HolographicApplicationPreview { (windows_core::Interface::vtable(this).IsHolographicActivation)(windows_core::Interface::as_raw(this), activatedeventargs.param().abi(), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IHolographicApplicationPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHolographicApplicationPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -112,9 +111,8 @@ impl HolographicKeyboardPlacementOverridePreview { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IHolographicKeyboardPlacementOverridePreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHolographicKeyboardPlacementOverridePreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs index 51ff1d247c..ad88a45210 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs @@ -41,8 +41,7 @@ impl InkWorkspaceHostedAppManager { (windows_core::Interface::vtable(this).GetForCurrentApp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IInkWorkspaceHostedAppManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IInkWorkspaceHostedAppManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs index 015533dcc8..20d6fde372 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs @@ -284,8 +284,7 @@ impl NotesWindowManagerPreview { (windows_core::Interface::vtable(this).GetForCurrentApp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn INotesWindowManagerPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn INotesWindowManagerPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs index 637f333306..a031b333b0 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs @@ -566,23 +566,19 @@ impl ResourceContext { (windows_core::Interface::vtable(this).GetForUIContext)(windows_core::Interface::as_raw(this), context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IResourceContextStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IResourceContextStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IResourceContextStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IResourceContextStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IResourceContextStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IResourceContextStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IResourceContextStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IResourceContextStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -754,8 +750,7 @@ impl ResourceManager { (windows_core::Interface::vtable(this).IsResourceReference)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(resourcereference), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IResourceManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IResourceManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs index 24c225004c..45d5ec9745 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs @@ -222,15 +222,13 @@ impl ResourceIndexer { (windows_core::Interface::vtable(this).CreateResourceIndexerWithExtension)(windows_core::Interface::as_raw(this), projectroot.param().abi(), extensiondllpath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IResourceIndexerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IResourceIndexerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IResourceIndexerFactory2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IResourceIndexerFactory2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs index 4c70939781..9d11f5d9dd 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs @@ -155,28 +155,23 @@ impl ResourceLoader { (windows_core::Interface::vtable(this).GetDefaultPriPath)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefullname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IResourceLoaderFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IResourceLoaderFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IResourceLoaderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IResourceLoaderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IResourceLoaderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IResourceLoaderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IResourceLoaderStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IResourceLoaderStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IResourceLoaderStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IResourceLoaderStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs index 0e16a325c6..d6960620cf 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs @@ -678,15 +678,13 @@ impl SearchPane { pub fn HideThisApplication() -> windows_core::Result<()> { Self::ISearchPaneStaticsWithHideThisApplication(|this| unsafe { (windows_core::Interface::vtable(this).HideThisApplication)(windows_core::Interface::as_raw(this)).ok() }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn ISearchPaneStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISearchPaneStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn ISearchPaneStaticsWithHideThisApplication windows_core::Result>(callback: F) -> windows_core::Result { + fn ISearchPaneStaticsWithHideThisApplication windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1090,8 +1088,7 @@ impl SearchQueryLinguisticDetails { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), querytextalternatives.param().abi(), querytextcompositionstart, querytextcompositionlength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISearchQueryLinguisticDetailsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISearchQueryLinguisticDetailsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs index f37b082378..6c15cf3a75 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs @@ -28,8 +28,7 @@ impl CoreUserActivityManager { (windows_core::Interface::vtable(this).DeleteUserActivitySessionsInTimeRangeAsync)(windows_core::Interface::as_raw(this), channel.param().abi(), starttime, endtime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICoreUserActivityManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreUserActivityManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs index 44a35ab219..1fbf0acfbf 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs @@ -438,13 +438,11 @@ impl UserActivity { (windows_core::Interface::vtable(this).ToJsonArray)(windows_core::Interface::as_raw(this), activities.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUserActivityFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserActivityFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IUserActivityStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserActivityStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -518,8 +516,7 @@ impl UserActivityAttribution { (windows_core::Interface::vtable(this).CreateWithUri)(windows_core::Interface::as_raw(this), iconuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUserActivityAttributionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserActivityAttributionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -607,18 +604,15 @@ impl UserActivityChannel { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUserActivityChannelStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserActivityChannelStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IUserActivityChannelStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserActivityChannelStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IUserActivityChannelStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserActivityChannelStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -653,8 +647,7 @@ impl UserActivityContentInfo { (windows_core::Interface::vtable(this).FromJson)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUserActivityContentInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserActivityContentInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -721,8 +714,7 @@ impl UserActivityRequestManager { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUserActivityRequestManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserActivityRequestManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs index 41e6d73519..643feaedda 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs @@ -705,13 +705,11 @@ impl UserDataAccountSystemAccessManager { (windows_core::Interface::vtable(this).GetDeviceAccountConfigurationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(accountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUserDataAccountSystemAccessManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserDataAccountSystemAccessManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IUserDataAccountSystemAccessManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserDataAccountSystemAccessManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs index eea986d855..b7c55a2f3e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs @@ -409,13 +409,11 @@ impl UserDataAccountManager { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUserDataAccountManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserDataAccountManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IUserDataAccountManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserDataAccountManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs index a2c905d1c3..24855fe5e2 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs @@ -732,8 +732,7 @@ impl UserDataTaskManager { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUserDataTaskManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserDataTaskManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs index 0a2603a7ca..174d4a97b5 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs @@ -458,8 +458,7 @@ impl VoiceCommandDefinitionManager { (windows_core::Interface::vtable(this).InstalledCommandDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVoiceCommandDefinitionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IVoiceCommandDefinitionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -592,8 +591,7 @@ impl VoiceCommandResponse { (windows_core::Interface::vtable(this).CreateResponseForPromptWithTiles)(windows_core::Interface::as_raw(this), message.param().abi(), repeatmessage.param().abi(), contenttiles.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVoiceCommandResponseStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IVoiceCommandResponseStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -714,8 +712,7 @@ impl VoiceCommandServiceConnection { (windows_core::Interface::vtable(this).FromAppServiceTriggerDetails)(windows_core::Interface::as_raw(this), triggerdetails.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVoiceCommandServiceConnectionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IVoiceCommandServiceConnectionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs index 529fb47f52..93b9edf45a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs @@ -168,9 +168,8 @@ impl WalletManagerSystem { (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IWalletManagerSystemStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWalletManagerSystemStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs index afb8aa508c..e050deff33 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs @@ -596,9 +596,8 @@ impl WalletBarcode { (windows_core::Interface::vtable(this).CreateCustomWalletBarcode)(windows_core::Interface::as_raw(this), streamtobarcodeimage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IWalletBarcodeFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWalletBarcodeFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1015,9 +1014,8 @@ impl WalletItem { (windows_core::Interface::vtable(this).CreateWalletItem)(windows_core::Interface::as_raw(this), kind, core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IWalletItemFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWalletItemFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1119,9 +1117,8 @@ impl WalletItemCustomProperty { (windows_core::Interface::vtable(this).CreateWalletItemCustomProperty)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IWalletItemCustomPropertyFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWalletItemCustomPropertyFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1269,9 +1266,8 @@ impl WalletManager { (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IWalletManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWalletManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1481,9 +1477,8 @@ impl WalletVerb { (windows_core::Interface::vtable(this).CreateWalletVerb)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IWalletVerbFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWalletVerbFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs index b02e811f81..78a2fc3993 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs @@ -1050,8 +1050,7 @@ impl AppInfo { (windows_core::Interface::vtable(this).GetFromAppUserModelIdForUser)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(appusermodelid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1254,8 +1253,7 @@ impl AppInstance { (windows_core::Interface::vtable(this).GetInstances)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppInstanceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppInstanceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1277,8 +1275,7 @@ impl CameraApplicationManager { pub fn ShowInstalledApplicationsUI() -> windows_core::Result<()> { Self::ICameraApplicationManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).ShowInstalledApplicationsUI)(windows_core::Interface::as_raw(this)).ok() }) } - #[doc(hidden)] - pub fn ICameraApplicationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICameraApplicationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1300,13 +1297,11 @@ impl DesignMode { (windows_core::Interface::vtable(this).DesignMode2Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IDesignModeStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDesignModeStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IDesignModeStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IDesignModeStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1405,8 +1400,7 @@ impl FindRelatedPackagesOptions { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), relationship, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IFindRelatedPackagesOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IFindRelatedPackagesOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1493,13 +1487,11 @@ impl FullTrustProcessLauncher { (windows_core::Interface::vtable(this).LaunchFullTrustProcessForAppWithArgumentsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(fulltrustpackagerelativeappid), core::mem::transmute_copy(commandline), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IFullTrustProcessLauncherStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IFullTrustProcessLauncherStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IFullTrustProcessLauncherStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IFullTrustProcessLauncherStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1579,8 +1571,7 @@ impl LimitedAccessFeatures { (windows_core::Interface::vtable(this).TryUnlockFeature)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(featureid), core::mem::transmute_copy(token), core::mem::transmute_copy(attestation), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILimitedAccessFeaturesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILimitedAccessFeaturesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1921,8 +1912,7 @@ impl Package { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Launch)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(parameters)).ok() } } - #[doc(hidden)] - pub fn IPackageStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPackageStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2085,13 +2075,11 @@ impl PackageCatalog { (windows_core::Interface::vtable(this).OpenForPackage)(windows_core::Interface::as_raw(this), package.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPackageCatalogStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPackageCatalogStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPackageCatalogStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPackageCatalogStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2278,8 +2266,7 @@ impl PackageContentGroup { (windows_core::Interface::vtable(this).RequiredGroupName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPackageContentGroupStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPackageContentGroupStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2880,8 +2867,7 @@ impl StartupTask { (windows_core::Interface::vtable(this).GetAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(taskid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStartupTaskStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStartupTaskStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Data/Html/mod.rs b/crates/libs/windows/src/Windows/Data/Html/mod.rs index f7cd7eae5a..4313af52ac 100644 --- a/crates/libs/windows/src/Windows/Data/Html/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Html/mod.rs @@ -15,8 +15,7 @@ impl HtmlUtilities { (windows_core::Interface::vtable(this).ConvertToText)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(html), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IHtmlUtilities windows_core::Result>(callback: F) -> windows_core::Result { + fn IHtmlUtilities windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Data/Json/mod.rs b/crates/libs/windows/src/Windows/Data/Json/mod.rs index aefcfc8120..9ced057a78 100644 --- a/crates/libs/windows/src/Windows/Data/Json/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Json/mod.rs @@ -376,8 +376,7 @@ impl JsonArray { let this = &windows_core::Interface::cast::>(self)?; unsafe { (windows_core::Interface::vtable(this).ReplaceAll)(windows_core::Interface::as_raw(this), items.len().try_into().unwrap(), core::mem::transmute(items.as_ptr())).ok() } } - #[doc(hidden)] - pub fn IJsonArrayStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IJsonArrayStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -418,8 +417,7 @@ impl JsonError { (windows_core::Interface::vtable(this).GetJsonStatus)(windows_core::Interface::as_raw(this), hresult, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IJsonErrorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IJsonErrorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -670,8 +668,7 @@ impl JsonObject { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IJsonObjectStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IJsonObjectStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -802,13 +799,11 @@ impl JsonValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IJsonValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IJsonValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IJsonValueStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IJsonValueStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Data/Pdf/mod.rs b/crates/libs/windows/src/Windows/Data/Pdf/mod.rs index af2ac72b84..a69538f27f 100644 --- a/crates/libs/windows/src/Windows/Data/Pdf/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Pdf/mod.rs @@ -160,8 +160,7 @@ impl PdfDocument { (windows_core::Interface::vtable(this).LoadFromStreamWithPasswordAsync)(windows_core::Interface::as_raw(this), inputstream.param().abi(), core::mem::transmute_copy(password), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPdfDocumentStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPdfDocumentStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Data/Text/mod.rs b/crates/libs/windows/src/Windows/Data/Text/mod.rs index a03a53195d..049877807d 100644 --- a/crates/libs/windows/src/Windows/Data/Text/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Text/mod.rs @@ -370,8 +370,7 @@ impl SelectableWordsSegmenter { (windows_core::Interface::vtable(this).CreateWithLanguage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(language), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISelectableWordsSegmenterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISelectableWordsSegmenterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -421,8 +420,7 @@ impl SemanticTextQuery { (windows_core::Interface::vtable(this).CreateWithLanguage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(aqsfilter), core::mem::transmute_copy(filterlanguage), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISemanticTextQueryFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISemanticTextQueryFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -480,8 +478,7 @@ impl TextConversionGenerator { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(languagetag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITextConversionGeneratorFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ITextConversionGeneratorFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -606,8 +603,7 @@ impl TextPredictionGenerator { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(languagetag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITextPredictionGeneratorFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ITextPredictionGeneratorFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -664,8 +660,7 @@ impl TextReverseConversionGenerator { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(languagetag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITextReverseConversionGeneratorFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ITextReverseConversionGeneratorFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -783,8 +778,7 @@ impl UnicodeCharacters { (windows_core::Interface::vtable(this).GetGeneralCategory)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IUnicodeCharactersStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUnicodeCharactersStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -873,8 +867,7 @@ impl WordsSegmenter { (windows_core::Interface::vtable(this).CreateWithLanguage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(language), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWordsSegmenterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWordsSegmenterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs b/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs index ec66a15312..3364af18fd 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs @@ -2980,8 +2980,7 @@ impl XmlDocument { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetInnerText)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value)).ok() } } - #[doc(hidden)] - pub fn IXmlDocumentStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IXmlDocumentStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs b/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs index c69e0d2b0a..c432c25823 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs @@ -71,8 +71,7 @@ impl XsltProcessor { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), document.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IXsltProcessorFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IXsltProcessorFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Adc/mod.rs b/crates/libs/windows/src/Windows/Devices/Adc/mod.rs index 254d1f32ee..6f444e58e4 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/mod.rs @@ -166,13 +166,11 @@ impl AdcController { (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAdcControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAdcControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAdcControllerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAdcControllerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs index e8c8a021e6..d94a097502 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs @@ -455,8 +455,7 @@ impl BluetoothLEAdvertisementBytePattern { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), datatype, offset, data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBluetoothLEAdvertisementBytePatternFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothLEAdvertisementBytePatternFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -522,8 +521,7 @@ impl BluetoothLEAdvertisementDataSection { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), datatype, data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBluetoothLEAdvertisementDataSectionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothLEAdvertisementDataSectionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -674,8 +672,7 @@ impl BluetoothLEAdvertisementDataTypes { (windows_core::Interface::vtable(this).ManufacturerSpecificData)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IBluetoothLEAdvertisementDataTypesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothLEAdvertisementDataTypesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -834,8 +831,7 @@ impl BluetoothLEAdvertisementPublisher { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), advertisement.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBluetoothLEAdvertisementPublisherFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothLEAdvertisementPublisherFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1135,8 +1131,7 @@ impl BluetoothLEAdvertisementWatcher { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), advertisementfilter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBluetoothLEAdvertisementWatcherFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothLEAdvertisementWatcherFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1227,8 +1222,7 @@ impl BluetoothLEManufacturerData { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), companyid, data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBluetoothLEManufacturerDataFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothLEManufacturerDataFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs index 2509276eab..c69a2d7a22 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs @@ -322,8 +322,7 @@ impl GattServiceProviderConnection { (windows_core::Interface::vtable(this).AllServices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGattServiceProviderConnectionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattServiceProviderConnectionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs index 88d718a4ae..b799b08d27 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs @@ -1149,8 +1149,7 @@ impl GattCharacteristic { (windows_core::Interface::vtable(this).ConvertShortIdToUuid)(windows_core::Interface::as_raw(this), shortid, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IGattCharacteristicStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattCharacteristicStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1655,13 +1654,11 @@ impl GattCharacteristicUuids { (windows_core::Interface::vtable(this).UnreadAlertStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IGattCharacteristicUuidsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattCharacteristicUuidsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGattCharacteristicUuidsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattCharacteristicUuidsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1828,8 +1825,7 @@ impl GattDescriptor { (windows_core::Interface::vtable(this).ConvertShortIdToUuid)(windows_core::Interface::as_raw(this), shortid, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IGattDescriptorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattDescriptorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1884,8 +1880,7 @@ impl GattDescriptorUuids { (windows_core::Interface::vtable(this).ServerCharacteristicConfiguration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IGattDescriptorUuidsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattDescriptorUuidsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2173,13 +2168,11 @@ impl GattDeviceService { (windows_core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceIdAndUuidWithCacheMode)(windows_core::Interface::as_raw(this), bluetoothdeviceid.param().abi(), serviceuuid, cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGattDeviceServiceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattDeviceServiceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGattDeviceServiceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattDeviceServiceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2786,13 +2779,11 @@ impl GattPresentationFormat { (windows_core::Interface::vtable(this).FromParts)(windows_core::Interface::as_raw(this), formattype, exponent, unit, namespaceid, description, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGattPresentationFormatStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattPresentationFormatStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGattPresentationFormatStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattPresentationFormatStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2973,8 +2964,7 @@ impl GattPresentationFormatTypes { (windows_core::Interface::vtable(this).Struct)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IGattPresentationFormatTypesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattPresentationFormatTypesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3086,8 +3076,7 @@ impl GattProtocolError { (windows_core::Interface::vtable(this).InsufficientResources)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IGattProtocolErrorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattProtocolErrorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3412,8 +3401,7 @@ impl GattServiceProvider { (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), serviceuuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGattServiceProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattServiceProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3691,13 +3679,11 @@ impl GattServiceUuids { (windows_core::Interface::vtable(this).TxPower)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IGattServiceUuidsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattServiceUuidsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGattServiceUuidsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattServiceUuidsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3791,8 +3777,7 @@ impl GattSession { (windows_core::Interface::vtable(this).FromDeviceIdAsync)(windows_core::Interface::as_raw(this), deviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGattSessionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGattSessionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs index 50c658d2a7..2ad75adc05 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs @@ -294,13 +294,11 @@ impl RfcommDeviceService { (windows_core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceAndServiceIdWithCacheMode)(windows_core::Interface::as_raw(this), bluetoothdevice.param().abi(), serviceid.param().abi(), cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRfcommDeviceServiceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRfcommDeviceServiceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IRfcommDeviceServiceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IRfcommDeviceServiceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -424,8 +422,7 @@ impl RfcommServiceId { (windows_core::Interface::vtable(this).GenericFileTransfer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRfcommServiceIdStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRfcommServiceIdStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -491,8 +488,7 @@ impl RfcommServiceProvider { (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), serviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRfcommServiceProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRfcommServiceProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs index 99f161243c..6f036738b4 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs @@ -635,8 +635,7 @@ impl BluetoothAdapter { (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBluetoothAdapterStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothAdapterStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -698,8 +697,7 @@ impl BluetoothClassOfDevice { (windows_core::Interface::vtable(this).FromParts)(windows_core::Interface::as_raw(this), majorclass, minorclass, servicecapabilities, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBluetoothClassOfDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothClassOfDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -964,13 +962,11 @@ impl BluetoothDevice { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[doc(hidden)] - pub fn IBluetoothDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBluetoothDeviceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothDeviceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1019,8 +1015,7 @@ impl BluetoothDeviceId { (windows_core::Interface::vtable(this).FromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBluetoothDeviceIdStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothDeviceIdStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1075,8 +1070,7 @@ impl BluetoothLEAppearance { (windows_core::Interface::vtable(this).FromParts)(windows_core::Interface::as_raw(this), appearancecategory, appearancesubcategory, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBluetoothLEAppearanceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothLEAppearanceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1227,8 +1221,7 @@ impl BluetoothLEAppearanceCategories { (windows_core::Interface::vtable(this).OutdoorSportActivity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IBluetoothLEAppearanceCategoriesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothLEAppearanceCategoriesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1406,8 +1399,7 @@ impl BluetoothLEAppearanceSubcategories { (windows_core::Interface::vtable(this).LocationNavigationPod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IBluetoothLEAppearanceSubcategoriesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothLEAppearanceSubcategoriesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1820,13 +1812,11 @@ impl BluetoothLEDevice { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[doc(hidden)] - pub fn IBluetoothLEDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothLEDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBluetoothLEDeviceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothLEDeviceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1894,8 +1884,7 @@ impl BluetoothLEPreferredConnectionParameters { (windows_core::Interface::vtable(this).PowerOptimized)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBluetoothLEPreferredConnectionParametersStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothLEPreferredConnectionParametersStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2037,8 +2026,7 @@ impl BluetoothUuidHelper { (windows_core::Interface::vtable(this).TryGetShortId)(windows_core::Interface::as_raw(this), uuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBluetoothUuidHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBluetoothUuidHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Custom/mod.rs b/crates/libs/windows/src/Windows/Devices/Custom/mod.rs index 2831cdd84c..c36a2b22da 100644 --- a/crates/libs/windows/src/Windows/Devices/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Custom/mod.rs @@ -166,8 +166,7 @@ impl CustomDevice { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), desiredaccess, sharingmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICustomDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICustomDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -230,8 +229,7 @@ impl IOControlCode { (windows_core::Interface::vtable(this).CreateIOControlCode)(windows_core::Interface::as_raw(this), devicetype, function, accessmode, bufferingmethod, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IIOControlCodeFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IIOControlCodeFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -256,8 +254,7 @@ impl KnownDeviceTypes { (windows_core::Interface::vtable(this).Unknown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IKnownDeviceTypesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownDeviceTypesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs b/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs index 7fb9e19982..e1084a845a 100644 --- a/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs @@ -726,8 +726,7 @@ impl DisplayAdapter { (windows_core::Interface::vtable(this).FromId)(windows_core::Interface::as_raw(this), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDisplayAdapterStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDisplayAdapterStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1045,8 +1044,7 @@ impl DisplayManager { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDisplayManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDisplayManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1439,8 +1437,7 @@ impl DisplayMuxDevice { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceinterfaceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDisplayMuxDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDisplayMuxDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1732,13 +1729,11 @@ impl DisplayPrimaryDescription { (windows_core::Interface::vtable(this).CreateWithProperties)(windows_core::Interface::as_raw(this), extraproperties.param().abi(), width, height, pixelformat, colorspace, isstereo, multisampledescription, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDisplayPrimaryDescriptionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IDisplayPrimaryDescriptionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IDisplayPrimaryDescriptionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDisplayPrimaryDescriptionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2384,13 +2379,11 @@ impl DisplayWireFormat { (windows_core::Interface::vtable(this).CreateWithProperties)(windows_core::Interface::as_raw(this), extraproperties.param().abi(), pixelencoding, bitsperchannel, colorspace, eotf, hdrmetadata, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDisplayWireFormatFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IDisplayWireFormatFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IDisplayWireFormatStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDisplayWireFormatStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Display/mod.rs b/crates/libs/windows/src/Windows/Devices/Display/mod.rs index 4f0f9ba904..e4b6ca93d2 100644 --- a/crates/libs/windows/src/Windows/Devices/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Display/mod.rs @@ -226,8 +226,7 @@ impl DisplayMonitor { (windows_core::Interface::vtable(this).FromInterfaceIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceinterfaceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDisplayMonitorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDisplayMonitorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs index 3590d0adbe..09d40cd40e 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs @@ -160,8 +160,7 @@ impl PnpObject { (windows_core::Interface::vtable(this).CreateWatcherAqsFilter)(windows_core::Interface::as_raw(this), r#type, requestedproperties.param().abi(), core::mem::transmute_copy(aqsfilter), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPnpObjectStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPnpObjectStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs index 53026bf775..9d1ab08b79 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs @@ -658,8 +658,7 @@ impl DeviceAccessInformation { (windows_core::Interface::vtable(this).CreateFromDeviceClass)(windows_core::Interface::as_raw(this), deviceclass, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDeviceAccessInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDeviceAccessInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -955,18 +954,15 @@ impl DeviceInformation { (windows_core::Interface::vtable(this).CreateWatcherWithAqsFilterAdditionalPropertiesKindAndSettings)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(aqsfilter), additionalproperties.param().abi(), kind, settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDeviceInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDeviceInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IDeviceInformationStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IDeviceInformationStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IDeviceInformationStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IDeviceInformationStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1223,13 +1219,11 @@ impl DeviceInformationPairing { (windows_core::Interface::vtable(this).TryRegisterForAllInboundPairingRequestsWithProtectionLevel)(windows_core::Interface::as_raw(this), pairingkindssupported, minprotectionlevel, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IDeviceInformationPairingStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDeviceInformationPairingStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IDeviceInformationPairingStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IDeviceInformationPairingStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs index b3b64632e3..8d4f9a5b14 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs @@ -158,8 +158,7 @@ impl Geofence { (windows_core::Interface::vtable(this).CreateWithMonitorStatesDwellTimeStartTimeAndDuration)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), geoshape.param().abi(), monitoredstates, singleuse, dwelltime, starttime, duration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGeofenceFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IGeofenceFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -245,8 +244,7 @@ impl GeofenceMonitor { (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGeofenceMonitorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGeofenceMonitorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs index d1f37838e3..08ea6d0cf0 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs @@ -588,13 +588,11 @@ impl GeoboundingBox { (windows_core::Interface::vtable(this).AltitudeReferenceSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[doc(hidden)] - pub fn IGeoboundingBoxFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IGeoboundingBoxFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGeoboundingBoxStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGeoboundingBoxStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -670,8 +668,7 @@ impl Geocircle { (windows_core::Interface::vtable(this).AltitudeReferenceSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[doc(hidden)] - pub fn IGeocircleFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IGeocircleFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1003,13 +1000,11 @@ impl Geolocator { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetDesiredAccuracyInMeters)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[doc(hidden)] - pub fn IGeolocatorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGeolocatorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGeolocatorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGeolocatorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1091,8 +1086,7 @@ impl Geopath { (windows_core::Interface::vtable(this).AltitudeReferenceSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[doc(hidden)] - pub fn IGeopathFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IGeopathFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1161,8 +1155,7 @@ impl Geopoint { (windows_core::Interface::vtable(this).AltitudeReferenceSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[doc(hidden)] - pub fn IGeopointFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IGeopointFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1304,8 +1297,7 @@ impl GeovisitMonitor { (windows_core::Interface::vtable(this).GetLastReportAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGeovisitMonitorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGeovisitMonitorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs index 77a55afd94..ac9c6077c8 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs @@ -192,8 +192,7 @@ impl GpioPinProviderValueChangedEventArgs { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), edge, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGpioPinProviderValueChangedEventArgsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IGpioPinProviderValueChangedEventArgsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs b/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs index 073d553b80..8a203fac1f 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs @@ -180,8 +180,7 @@ impl GpioChangeCounter { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), pin.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGpioChangeCounterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IGpioChangeCounterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -313,8 +312,7 @@ impl GpioChangeReader { (windows_core::Interface::vtable(this).CreateWithCapacity)(windows_core::Interface::as_raw(this), pin.param().abi(), mincapacity, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGpioChangeReaderFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IGpioChangeReaderFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -386,13 +384,11 @@ impl GpioController { (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGpioControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGpioControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGpioControllerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGpioControllerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs b/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs index 064679e4aa..6c596bcae3 100644 --- a/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs @@ -179,13 +179,11 @@ impl KnownSimpleHapticsControllerWaveforms { (windows_core::Interface::vtable(this).Success)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IKnownSimpleHapticsControllerWaveformsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownSimpleHapticsControllerWaveformsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IKnownSimpleHapticsControllerWaveformsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownSimpleHapticsControllerWaveformsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -368,8 +366,7 @@ impl VibrationDevice { (windows_core::Interface::vtable(this).FindAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVibrationDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IVibrationDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs index 8fa3de7b57..b1e9b954de 100644 --- a/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs @@ -558,8 +558,7 @@ impl HidDevice { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), accessmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IHidDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHidDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs index 678e44029f..0bdb16fecd 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs @@ -149,8 +149,7 @@ impl I2cConnectionSettings { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), slaveaddress, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn II2cConnectionSettingsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn II2cConnectionSettingsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -198,8 +197,7 @@ impl I2cController { (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn II2cControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn II2cControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -294,8 +292,7 @@ impl I2cDevice { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn II2cDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn II2cDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs b/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs index 268f10d291..b46891ee62 100644 --- a/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs @@ -498,8 +498,7 @@ impl GazeInputSourcePreview { (windows_core::Interface::vtable(this).CreateWatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGazeInputSourcePreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGazeInputSourcePreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Input/mod.rs b/crates/libs/windows/src/Windows/Devices/Input/mod.rs index 914864bcd8..2987bee4ae 100644 --- a/crates/libs/windows/src/Windows/Devices/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Input/mod.rs @@ -336,8 +336,7 @@ impl MouseDevice { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMouseDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMouseDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -449,8 +448,7 @@ impl PenButtonListener { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPenButtonListenerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPenButtonListenerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -493,8 +491,7 @@ impl PenDevice { (windows_core::Interface::vtable(this).GetFromPointerId)(windows_core::Interface::as_raw(this), pointerid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPenDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPenDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -571,8 +568,7 @@ impl PenDockListener { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPenDockListenerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPenDockListenerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -742,8 +738,7 @@ impl PointerDevice { (windows_core::Interface::vtable(this).GetPointerDevices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPointerDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPointerDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs b/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs index 81f744f299..74c3201820 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs @@ -335,8 +335,7 @@ impl LampArrayBitmapEffect { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetZIndex)(windows_core::Interface::as_raw(this), value).ok() } } - #[doc(hidden)] - pub fn ILampArrayBitmapEffectFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILampArrayBitmapEffectFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -502,8 +501,7 @@ impl LampArrayBlinkEffect { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetZIndex)(windows_core::Interface::as_raw(this), value).ok() } } - #[doc(hidden)] - pub fn ILampArrayBlinkEffectFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILampArrayBlinkEffectFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -592,8 +590,7 @@ impl LampArrayColorRampEffect { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetZIndex)(windows_core::Interface::as_raw(this), value).ok() } } - #[doc(hidden)] - pub fn ILampArrayColorRampEffectFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILampArrayColorRampEffectFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -672,8 +669,7 @@ impl LampArrayCustomEffect { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetZIndex)(windows_core::Interface::as_raw(this), value).ok() } } - #[doc(hidden)] - pub fn ILampArrayCustomEffectFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILampArrayCustomEffectFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -824,8 +820,7 @@ impl LampArrayEffectPlaylist { (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } - #[doc(hidden)] - pub fn ILampArrayEffectPlaylistStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILampArrayEffectPlaylistStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -930,8 +925,7 @@ impl LampArraySolidEffect { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), lamparray.param().abi(), lampindexes.len().try_into().unwrap(), lampindexes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILampArraySolidEffectFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILampArraySolidEffectFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Lights/mod.rs b/crates/libs/windows/src/Windows/Devices/Lights/mod.rs index 893caa7d49..a4f854404a 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/mod.rs @@ -250,8 +250,7 @@ impl Lamp { (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILampStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILampStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -475,8 +474,7 @@ impl LampArray { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILampArrayStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILampArrayStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs index dad67b820f..37efd9543e 100644 --- a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs @@ -463,8 +463,7 @@ impl MidiChannelPressureMessage { (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[doc(hidden)] - pub fn IMidiChannelPressureMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMidiChannelPressureMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -583,8 +582,7 @@ impl MidiControlChangeMessage { (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[doc(hidden)] - pub fn IMidiControlChangeMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMidiControlChangeMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -644,8 +642,7 @@ impl MidiInPort { (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMidiInPortStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMidiInPortStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -742,8 +739,7 @@ impl MidiNoteOffMessage { (windows_core::Interface::vtable(this).CreateMidiNoteOffMessage)(windows_core::Interface::as_raw(this), channel, note, velocity, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMidiNoteOffMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMidiNoteOffMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -815,8 +811,7 @@ impl MidiNoteOnMessage { (windows_core::Interface::vtable(this).CreateMidiNoteOnMessage)(windows_core::Interface::as_raw(this), channel, note, velocity, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMidiNoteOnMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMidiNoteOnMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -877,8 +872,7 @@ impl MidiOutPort { (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMidiOutPortStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMidiOutPortStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -943,8 +937,7 @@ impl MidiPitchBendChangeMessage { (windows_core::Interface::vtable(this).CreateMidiPitchBendChangeMessage)(windows_core::Interface::as_raw(this), channel, bend, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMidiPitchBendChangeMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMidiPitchBendChangeMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1016,8 +1009,7 @@ impl MidiPolyphonicKeyPressureMessage { (windows_core::Interface::vtable(this).CreateMidiPolyphonicKeyPressureMessage)(windows_core::Interface::as_raw(this), channel, note, pressure, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMidiPolyphonicKeyPressureMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMidiPolyphonicKeyPressureMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1082,8 +1074,7 @@ impl MidiProgramChangeMessage { (windows_core::Interface::vtable(this).CreateMidiProgramChangeMessage)(windows_core::Interface::as_raw(this), channel, program, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMidiProgramChangeMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMidiProgramChangeMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1141,8 +1132,7 @@ impl MidiSongPositionPointerMessage { (windows_core::Interface::vtable(this).CreateMidiSongPositionPointerMessage)(windows_core::Interface::as_raw(this), beats, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMidiSongPositionPointerMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMidiSongPositionPointerMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1200,8 +1190,7 @@ impl MidiSongSelectMessage { (windows_core::Interface::vtable(this).CreateMidiSongSelectMessage)(windows_core::Interface::as_raw(this), song, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMidiSongSelectMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMidiSongSelectMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1389,8 +1378,7 @@ impl MidiSynthesizer { (windows_core::Interface::vtable(this).IsSynthesizer)(windows_core::Interface::as_raw(this), mididevice.param().abi(), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IMidiSynthesizerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMidiSynthesizerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1444,8 +1432,7 @@ impl MidiSystemExclusiveMessage { (windows_core::Interface::vtable(this).CreateMidiSystemExclusiveMessage)(windows_core::Interface::as_raw(this), rawdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMidiSystemExclusiveMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMidiSystemExclusiveMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1557,8 +1544,7 @@ impl MidiTimeCodeMessage { (windows_core::Interface::vtable(this).CreateMidiTimeCodeMessage)(windows_core::Interface::as_raw(this), frametype, values, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMidiTimeCodeMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMidiTimeCodeMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs index 7dfbfe5c90..eb61967c3c 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs @@ -2357,13 +2357,11 @@ impl BarcodeScanner { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[doc(hidden)] - pub fn IBarcodeScannerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBarcodeScannerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBarcodeScannerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IBarcodeScannerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2569,8 +2567,7 @@ impl BarcodeScannerReport { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), scandatatype, scandata.param().abi(), scandatalabel.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBarcodeScannerReportFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IBarcodeScannerReportFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3191,13 +3188,11 @@ impl BarcodeSymbologies { (windows_core::Interface::vtable(this).Gs1DWCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IBarcodeSymbologiesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBarcodeSymbologiesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBarcodeSymbologiesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IBarcodeSymbologiesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3407,13 +3402,11 @@ impl CashDrawer { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[doc(hidden)] - pub fn ICashDrawerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICashDrawerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICashDrawerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICashDrawerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4557,8 +4550,7 @@ impl ClaimedLineDisplay { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[doc(hidden)] - pub fn IClaimedLineDisplayStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IClaimedLineDisplayStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5757,13 +5749,11 @@ impl LineDisplay { (windows_core::Interface::vtable(this).StatisticsCategorySelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILineDisplayStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILineDisplayStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ILineDisplayStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ILineDisplayStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -6650,13 +6640,11 @@ impl MagneticStripeReader { (windows_core::Interface::vtable(this).GetDeviceSelectorWithConnectionTypes)(windows_core::Interface::as_raw(this), connectiontypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMagneticStripeReaderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMagneticStripeReaderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMagneticStripeReaderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMagneticStripeReaderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -7026,8 +7014,7 @@ impl MagneticStripeReaderCardTypes { (windows_core::Interface::vtable(this).ExtendedBase)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IMagneticStripeReaderCardTypesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMagneticStripeReaderCardTypesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -7055,8 +7042,7 @@ impl MagneticStripeReaderEncryptionAlgorithms { (windows_core::Interface::vtable(this).ExtendedBase)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IMagneticStripeReaderEncryptionAlgorithmsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMagneticStripeReaderEncryptionAlgorithmsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -7432,13 +7418,11 @@ impl PosPrinter { (windows_core::Interface::vtable(this).GetDeviceSelectorWithConnectionTypes)(windows_core::Interface::as_raw(this), connectiontypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPosPrinterStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPosPrinterStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPosPrinterStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPosPrinterStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -7563,8 +7547,7 @@ impl PosPrinterCharacterSetIds { (windows_core::Interface::vtable(this).Ansi)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IPosPrinterCharacterSetIdsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPosPrinterCharacterSetIdsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -8670,8 +8653,7 @@ impl UnifiedPosErrorData { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(message), severity, reason, extendedreason, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUnifiedPosErrorDataFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IUnifiedPosErrorDataFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Portable/mod.rs b/crates/libs/windows/src/Windows/Devices/Portable/mod.rs index 52543ed580..17c6cecf5c 100644 --- a/crates/libs/windows/src/Windows/Devices/Portable/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Portable/mod.rs @@ -35,8 +35,7 @@ impl ServiceDevice { (windows_core::Interface::vtable(this).GetDeviceSelectorFromServiceId)(windows_core::Interface::as_raw(this), serviceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IServiceDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IServiceDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -59,8 +58,7 @@ impl StorageDevice { (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStorageDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Power/mod.rs b/crates/libs/windows/src/Windows/Devices/Power/mod.rs index 3369cf893b..a16686eb66 100644 --- a/crates/libs/windows/src/Windows/Devices/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Power/mod.rs @@ -123,8 +123,7 @@ impl Battery { (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBatteryStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBatteryStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -272,8 +271,7 @@ impl PowerGridForecast { pub fn RemoveForecastUpdated(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IPowerGridForecastStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveForecastUpdated)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn IPowerGridForecastStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPowerGridForecastStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs b/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs index 097ab448eb..ed60039b09 100644 --- a/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs @@ -248,8 +248,7 @@ impl PrintExtensionContext { (windows_core::Interface::vtable(this).FromDeviceId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPrintExtensionContextStatic windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrintExtensionContextStatic windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Printers/mod.rs b/crates/libs/windows/src/Windows/Devices/Printers/mod.rs index 1c2641e461..f85ae7c303 100644 --- a/crates/libs/windows/src/Windows/Devices/Printers/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Printers/mod.rs @@ -962,8 +962,7 @@ impl IppAttributeValue { (windows_core::Interface::vtable(this).CreateMimeMediaArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IIppAttributeValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IIppAttributeValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1005,8 +1004,7 @@ impl IppIntegerRange { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), start, end, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IIppIntegerRangeFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IIppIntegerRangeFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1186,8 +1184,7 @@ impl IppPrintDevice { (windows_core::Interface::vtable(this).IsIppPrinter)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(printername), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IIppPrintDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IIppPrintDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1236,8 +1233,7 @@ impl IppResolution { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), width, height, unit, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IIppResolutionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IIppResolutionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1312,8 +1308,7 @@ impl IppTextWithLanguage { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(language), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IIppTextWithLanguageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IIppTextWithLanguageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1493,8 +1488,7 @@ impl Print3DDevice { (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPrint3DDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrint3DDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs b/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs index 1f1956236a..b97547950a 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs @@ -143,18 +143,15 @@ impl PwmController { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPwmControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPwmControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPwmControllerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPwmControllerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPwmControllerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPwmControllerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Radios/mod.rs b/crates/libs/windows/src/Windows/Devices/Radios/mod.rs index 94625df660..4539ee2c12 100644 --- a/crates/libs/windows/src/Windows/Devices/Radios/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Radios/mod.rs @@ -99,8 +99,7 @@ impl Radio { (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRadioStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRadioStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs b/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs index 9e915cdcda..f8963b742a 100644 --- a/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs @@ -484,8 +484,7 @@ impl ImageScanner { (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IImageScannerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IImageScannerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs b/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs index 0f9f27bc43..b667f54338 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs @@ -146,8 +146,7 @@ impl CustomSensor { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sensorid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICustomSensorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICustomSensorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs index 07e71b5f2e..9435511528 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs @@ -1969,18 +1969,15 @@ impl Accelerometer { (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), readingtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAccelerometerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAccelerometerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAccelerometerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAccelerometerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAccelerometerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAccelerometerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2254,8 +2251,7 @@ impl ActivitySensor { (windows_core::Interface::vtable(this).GetSystemHistoryWithDurationAsync)(windows_core::Interface::as_raw(this), fromtime, duration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IActivitySensorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IActivitySensorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2491,8 +2487,7 @@ impl Altimeter { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAltimeterStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAltimeterStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2675,13 +2670,11 @@ impl Barometer { (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBarometerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBarometerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBarometerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IBarometerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2906,13 +2899,11 @@ impl Compass { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICompassStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICompassStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICompassStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICompassStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3204,13 +3195,11 @@ impl Gyrometer { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGyrometerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGyrometerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGyrometerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGyrometerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3550,8 +3539,7 @@ impl HingeAngleSensor { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IHingeAngleSensorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHingeAngleSensorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3781,13 +3769,11 @@ impl HumanPresenceSensor { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IHumanPresenceSensorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHumanPresenceSensorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHumanPresenceSensorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IHumanPresenceSensorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4159,8 +4145,7 @@ impl HumanPresenceSettings { pub fn RemoveSettingsChanged(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IHumanPresenceSettingsStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveSettingsChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn IHumanPresenceSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHumanPresenceSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4303,23 +4288,19 @@ impl Inclinometer { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IInclinometerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IInclinometerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IInclinometerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IInclinometerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IInclinometerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IInclinometerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IInclinometerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IInclinometerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4574,13 +4555,11 @@ impl LightSensor { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILightSensorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILightSensorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ILightSensorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ILightSensorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4845,13 +4824,11 @@ impl Magnetometer { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMagnetometerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMagnetometerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMagnetometerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMagnetometerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5143,23 +5120,19 @@ impl OrientationSensor { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IOrientationSensorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IOrientationSensorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IOrientationSensorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IOrientationSensorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IOrientationSensorStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IOrientationSensorStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IOrientationSensorStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IOrientationSensorStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5363,13 +5336,11 @@ impl Pedometer { (windows_core::Interface::vtable(this).GetReadingsFromTriggerDetails)(windows_core::Interface::as_raw(this), triggerdetails.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPedometerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPedometerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPedometerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPedometerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5400,8 +5371,7 @@ impl PedometerDataThreshold { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), sensor.param().abi(), stepgoal, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPedometerDataThresholdFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPedometerDataThresholdFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5565,13 +5535,11 @@ impl ProximitySensor { (windows_core::Interface::vtable(this).GetReadingsFromTriggerDetails)(windows_core::Interface::as_raw(this), triggerdetails.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IProximitySensorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IProximitySensorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IProximitySensorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IProximitySensorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5602,8 +5570,7 @@ impl ProximitySensorDataThreshold { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), sensor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IProximitySensorDataThresholdFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IProximitySensorDataThresholdFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5929,13 +5896,11 @@ impl SimpleOrientationSensor { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISimpleOrientationSensorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISimpleOrientationSensorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISimpleOrientationSensorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ISimpleOrientationSensorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs b/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs index 4d4b6afc43..56e8049a75 100644 --- a/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs @@ -362,8 +362,7 @@ impl SerialDevice { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISerialDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISerialDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs index 2f5a90c699..6ef1b58a20 100644 --- a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs @@ -873,8 +873,7 @@ impl KnownSmartCardAppletIds { (windows_core::Interface::vtable(this).ProximityPaymentSystemEnvironment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKnownSmartCardAppletIds windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownSmartCardAppletIds windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1055,13 +1054,11 @@ impl SmartCardAppletIdGroup { (windows_core::Interface::vtable(this).MaxAppletIds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn ISmartCardAppletIdGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmartCardAppletIdGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISmartCardAppletIdGroupStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmartCardAppletIdGroupStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1283,8 +1280,7 @@ impl SmartCardAutomaticResponseApdu { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), commandapdu.param().abi(), responseapdu.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISmartCardAutomaticResponseApduFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmartCardAutomaticResponseApduFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1566,13 +1562,11 @@ impl SmartCardCryptogramGenerator { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn ISmartCardCryptogramGeneratorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmartCardCryptogramGeneratorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISmartCardCryptogramGeneratorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmartCardCryptogramGeneratorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2236,18 +2230,15 @@ impl SmartCardEmulator { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn ISmartCardEmulatorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmartCardEmulatorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISmartCardEmulatorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmartCardEmulatorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISmartCardEmulatorStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmartCardEmulatorStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2703,13 +2694,11 @@ impl SmartCardProvisioning { (windows_core::Interface::vtable(this).RequestAttestedVirtualSmartCardCreationAsyncWithCardId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(friendlyname), administrativekey.param().abi(), pinpolicy.param().abi(), cardid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISmartCardProvisioningStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmartCardProvisioningStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISmartCardProvisioningStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmartCardProvisioningStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2813,8 +2802,7 @@ impl SmartCardReader { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISmartCardReaderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmartCardReaderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs index d9bce3ef06..cc40f6bdec 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs @@ -1472,15 +1472,13 @@ impl SmsDevice { (windows_core::Interface::vtable(this).FromNetworkAccountIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(networkaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn ISmsDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmsDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn ISmsDeviceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmsDeviceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1607,8 +1605,7 @@ impl SmsDevice2 { (windows_core::Interface::vtable(this).FromParentId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(parentdeviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISmsDevice2Statics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmsDevice2Statics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1802,8 +1799,7 @@ impl SmsFilterRule { (windows_core::Interface::vtable(this).CreateFilterRule)(windows_core::Interface::as_raw(this), messagetype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISmsFilterRuleFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmsFilterRuleFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1846,8 +1842,7 @@ impl SmsFilterRules { (windows_core::Interface::vtable(this).CreateFilterRules)(windows_core::Interface::as_raw(this), actiontype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISmsFilterRulesFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmsFilterRulesFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2023,8 +2018,7 @@ impl SmsMessageRegistration { (windows_core::Interface::vtable(this).Register)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), filterrules.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISmsMessageRegistrationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmsMessageRegistrationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2408,9 +2402,8 @@ impl SmsTextMessage { (windows_core::Interface::vtable(this).FromBinaryData)(windows_core::Interface::as_raw(this), format, value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn ISmsTextMessageStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmsTextMessageStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs index 28a94d954d..3962136c18 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs @@ -206,8 +206,7 @@ impl ProviderSpiConnectionSettings { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), chipselectline, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IProviderSpiConnectionSettingsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IProviderSpiConnectionSettingsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs index 2120207a1c..b0bfc25b1a 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs @@ -243,8 +243,7 @@ impl SpiConnectionSettings { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), chipselectline, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpiConnectionSettingsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpiConnectionSettingsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -292,8 +291,7 @@ impl SpiController { (windows_core::Interface::vtable(this).GetControllersAsync)(windows_core::Interface::as_raw(this), provider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpiControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpiControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -377,8 +375,7 @@ impl SpiDevice { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(busid), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpiDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpiDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/Usb/mod.rs b/crates/libs/windows/src/Windows/Devices/Usb/mod.rs index 4a82602c18..a76e103cfa 100644 --- a/crates/libs/windows/src/Windows/Devices/Usb/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Usb/mod.rs @@ -702,8 +702,7 @@ impl UsbConfigurationDescriptor { (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), descriptor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUsbConfigurationDescriptorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUsbConfigurationDescriptorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -938,8 +937,7 @@ impl UsbDevice { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUsbDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUsbDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1079,8 +1077,7 @@ impl UsbDeviceClasses { (windows_core::Interface::vtable(this).VendorSpecific)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUsbDeviceClassesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUsbDeviceClassesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1229,8 +1226,7 @@ impl UsbEndpointDescriptor { (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), descriptor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUsbEndpointDescriptorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUsbEndpointDescriptorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1378,8 +1374,7 @@ impl UsbInterfaceDescriptor { (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), descriptor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUsbInterfaceDescriptorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUsbInterfaceDescriptorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1770,8 +1765,7 @@ impl UsbSetupPacket { (windows_core::Interface::vtable(this).CreateWithEightByteBuffer)(windows_core::Interface::as_raw(this), eightbytebuffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUsbSetupPacketFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IUsbSetupPacketFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs index 64bfb6d354..bbefcb0772 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs @@ -304,8 +304,7 @@ impl WiFiAdapter { (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWiFiAdapterStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWiFiAdapterStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -576,8 +575,7 @@ impl WiFiOnDemandHotspotNetwork { (windows_core::Interface::vtable(this).GetOrCreateById)(windows_core::Interface::as_raw(this), networkid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWiFiOnDemandHotspotNetworkStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWiFiOnDemandHotspotNetworkStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs index 71bcdbf1f7..99eb45357c 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs @@ -329,8 +329,7 @@ impl WiFiDirectService { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWiFiDirectServiceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWiFiDirectServiceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -543,8 +542,7 @@ impl WiFiDirectServiceAdvertiser { (windows_core::Interface::vtable(this).CreateWiFiDirectServiceAdvertiser)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(servicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWiFiDirectServiceAdvertiserFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWiFiDirectServiceAdvertiserFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs index 3a9302498e..a000830749 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs @@ -476,8 +476,7 @@ impl WiFiDirectConnectionParameters { (windows_core::Interface::vtable(this).GetDevicePairingKinds)(windows_core::Interface::as_raw(this), configurationmethod, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IWiFiDirectConnectionParametersStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWiFiDirectConnectionParametersStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -623,13 +622,11 @@ impl WiFiDirectDevice { (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), connectionparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWiFiDirectDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWiFiDirectDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IWiFiDirectDeviceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IWiFiDirectDeviceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -721,8 +718,7 @@ impl WiFiDirectInformationElement { (windows_core::Interface::vtable(this).CreateFromDeviceInformation)(windows_core::Interface::as_raw(this), deviceinformation.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWiFiDirectInformationElementStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWiFiDirectInformationElementStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Devices/mod.rs b/crates/libs/windows/src/Windows/Devices/mod.rs index 43f2a24684..6519026552 100644 --- a/crates/libs/windows/src/Windows/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/mod.rs @@ -222,8 +222,7 @@ impl LowLevelDevicesAggregateProvider { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), adc.param().abi(), pwm.param().abi(), gpio.param().abi(), i2c.param().abi(), spi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILowLevelDevicesAggregateProviderFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILowLevelDevicesAggregateProviderFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -257,8 +256,7 @@ impl LowLevelDevicesController { { Self::ILowLevelDevicesControllerStatics(|this| unsafe { (windows_core::Interface::vtable(this).SetDefaultProvider)(windows_core::Interface::as_raw(this), value.param().abi()).ok() }) } - #[doc(hidden)] - pub fn ILowLevelDevicesControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILowLevelDevicesControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs b/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs index eadf43e331..2981e57004 100644 --- a/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs +++ b/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs @@ -49,8 +49,7 @@ impl DeviceLockdownProfile { (windows_core::Interface::vtable(this).GetLockdownProfileInformation)(windows_core::Interface::as_raw(this), profileid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDeviceLockdownProfileStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDeviceLockdownProfileStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs index d0d6d7354f..1ba3de5265 100644 --- a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs @@ -712,8 +712,7 @@ impl AsyncCausalityTracer { pub fn RemoveTracingStatusChanged(cookie: super::EventRegistrationToken) -> windows_core::Result<()> { Self::IAsyncCausalityTracerStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveTracingStatusChanged)(windows_core::Interface::as_raw(this), cookie).ok() }) } - #[doc(hidden)] - pub fn IAsyncCausalityTracerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAsyncCausalityTracerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -753,8 +752,7 @@ impl ErrorDetails { (windows_core::Interface::vtable(this).CreateFromHResultAsync)(windows_core::Interface::as_raw(this), errorcode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IErrorDetailsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IErrorDetailsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -837,8 +835,7 @@ impl FileLoggingSession { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IFileLoggingSessionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IFileLoggingSessionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1034,8 +1031,7 @@ impl LoggingActivity { (windows_core::Interface::vtable(this).StartActivityWithFieldsAndOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(starteventname), fields.param().abi(), level, options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn ILoggingActivityFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILoggingActivityFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1230,13 +1226,11 @@ impl LoggingChannel { (windows_core::Interface::vtable(this).StartActivityWithFieldsAndOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(starteventname), fields.param().abi(), level, options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn ILoggingChannelFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILoggingChannelFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ILoggingChannelFactory2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ILoggingChannelFactory2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1282,8 +1276,7 @@ impl LoggingChannelOptions { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), group, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILoggingChannelOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILoggingChannelOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1869,8 +1862,7 @@ impl LoggingOptions { (windows_core::Interface::vtable(this).CreateWithKeywords)(windows_core::Interface::as_raw(this), keywords, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILoggingOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILoggingOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1942,8 +1934,7 @@ impl LoggingSession { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILoggingSessionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILoggingSessionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs b/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs index f3db6e682a..2dc00e8683 100644 --- a/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs @@ -78,8 +78,7 @@ impl ApiInformation { (windows_core::Interface::vtable(this).IsApiContractPresentByMajorAndMinor)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contractname), majorversion, minorversion, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IApiInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IApiInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Foundation/mod.rs b/crates/libs/windows/src/Windows/Foundation/mod.rs index 7661062d09..109d197f4a 100644 --- a/crates/libs/windows/src/Windows/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/mod.rs @@ -1571,8 +1571,7 @@ impl Deferral { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDeferralFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IDeferralFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1609,8 +1608,7 @@ impl GuidHelper { (windows_core::Interface::vtable(this).Equals)(windows_core::Interface::as_raw(this), &target, &value, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IGuidHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGuidHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1641,8 +1639,7 @@ impl MemoryBuffer { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), capacity, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMemoryBufferFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMemoryBufferFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1898,8 +1895,7 @@ impl PropertyValue { (windows_core::Interface::vtable(this).CreateRectArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPropertyValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPropertyValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2080,13 +2076,11 @@ impl Uri { (windows_core::Interface::vtable(this).DisplayIri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IUriEscapeStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUriEscapeStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IUriRuntimeClassFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IUriRuntimeClassFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2166,8 +2160,7 @@ impl WwwFormUrlDecoder { (windows_core::Interface::vtable(this).CreateWwwFormUrlDecoder)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(query), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWwwFormUrlDecoderRuntimeClassFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWwwFormUrlDecoderRuntimeClassFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs index a09c35bfd5..454f64a044 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs @@ -321,13 +321,11 @@ impl GameControllerFactoryManager { (windows_core::Interface::vtable(this).TryGetFactoryControllerFromGameController)(windows_core::Interface::as_raw(this), factory.param().abi(), gamecontroller.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGameControllerFactoryManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGameControllerFactoryManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGameControllerFactoryManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGameControllerFactoryManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs index 7f78d3ea9b..644a03003f 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs @@ -196,8 +196,7 @@ impl ConditionForceEffect { let this = self; unsafe { (windows_core::Interface::vtable(this).Stop)(windows_core::Interface::as_raw(this)).ok() } } - #[doc(hidden)] - pub fn IConditionForceEffectFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IConditionForceEffectFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -432,8 +431,7 @@ impl PeriodicForceEffect { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), effectkind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPeriodicForceEffectFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPeriodicForceEffectFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs index cd025c5af3..39e3a65a48 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs @@ -98,8 +98,7 @@ impl GameControllerProviderInfo { (windows_core::Interface::vtable(this).GetProviderId)(windows_core::Interface::as_raw(this), provider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGameControllerProviderInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGameControllerProviderInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -275,8 +274,7 @@ impl LegacyGipGameControllerProvider { (windows_core::Interface::vtable(this).IsCopilot)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(controllerproviderid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILegacyGipGameControllerProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILegacyGipGameControllerProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/mod.rs index be63f487e4..654618cb9d 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/mod.rs @@ -512,13 +512,11 @@ impl ArcadeStick { (windows_core::Interface::vtable(this).TryGetBatteryReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IArcadeStickStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IArcadeStickStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IArcadeStickStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IArcadeStickStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -675,8 +673,7 @@ impl FlightStick { (windows_core::Interface::vtable(this).TryGetBatteryReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IFlightStickStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IFlightStickStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -837,13 +834,11 @@ impl Gamepad { (windows_core::Interface::vtable(this).FromGameController)(windows_core::Interface::as_raw(this), gamecontroller.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGamepadStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGamepadStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGamepadStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGamepadStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1077,13 +1072,11 @@ impl RacingWheel { (windows_core::Interface::vtable(this).FromGameController)(windows_core::Interface::as_raw(this), gamecontroller.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRacingWheelStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRacingWheelStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IRacingWheelStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IRacingWheelStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1305,8 +1298,7 @@ impl RawGameController { (windows_core::Interface::vtable(this).FromGameController)(windows_core::Interface::as_raw(this), gamecontroller.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRawGameControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRawGameControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1463,13 +1455,11 @@ impl UINavigationController { (windows_core::Interface::vtable(this).FromGameController)(windows_core::Interface::as_raw(this), gamecontroller.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUINavigationControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUINavigationControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IUINavigationControllerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IUINavigationControllerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs index 13c1cdc470..aba31a1d02 100644 --- a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs @@ -246,13 +246,11 @@ impl GameList { (windows_core::Interface::vtable(this).UnmergeEntryAsync)(windows_core::Interface::as_raw(this), mergedentry.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGameListStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGameListStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGameListStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGameListStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -545,8 +543,7 @@ impl GameModeUserConfiguration { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGameModeUserConfigurationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGameModeUserConfigurationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs index 40d65ed132..d40ed799bb 100644 --- a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs @@ -110,8 +110,7 @@ impl GameBar { (windows_core::Interface::vtable(this).IsInputRedirected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IGameBarStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGameBarStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -198,8 +197,7 @@ impl GameChatOverlay { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGameChatOverlayStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGameChatOverlayStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs b/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs index 0d9ea9a60a..b1aee426d8 100644 --- a/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs @@ -613,8 +613,7 @@ impl GameSaveProvider { (windows_core::Interface::vtable(this).GetSyncOnDemandForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(serviceconfigid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGameSaveProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGameSaveProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs b/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs index be9245df41..92fdd8e55d 100644 --- a/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs @@ -128,8 +128,7 @@ impl CharacterGroupings { (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } - #[doc(hidden)] - pub fn ICharacterGroupingsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICharacterGroupingsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs index a3586a9b95..5e917784d1 100644 --- a/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs @@ -297,13 +297,11 @@ impl DateTimeFormatter { (windows_core::Interface::vtable(this).ShortTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDateTimeFormatterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IDateTimeFormatterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IDateTimeFormatterStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDateTimeFormatterStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs b/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs index 2a89e8f6a8..14f69a32c4 100644 --- a/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs @@ -192,8 +192,7 @@ impl LanguageFontGroup { (windows_core::Interface::vtable(this).CreateLanguageFontGroup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(languagetag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILanguageFontGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILanguageFontGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs index 2e2a4f3b6e..bbd05fc535 100644 --- a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs @@ -754,8 +754,7 @@ impl CurrencyFormatter { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetSignificantDigits)(windows_core::Interface::as_raw(this), value).ok() } } - #[doc(hidden)] - pub fn ICurrencyFormatterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICurrencyFormatterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -978,8 +977,7 @@ impl DecimalFormatter { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetSignificantDigits)(windows_core::Interface::as_raw(this), value).ok() } } - #[doc(hidden)] - pub fn IDecimalFormatterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IDecimalFormatterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1140,8 +1138,7 @@ impl NumeralSystemTranslator { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), languages.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn INumeralSystemTranslatorFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn INumeralSystemTranslatorFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1364,8 +1361,7 @@ impl PercentFormatter { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetSignificantDigits)(windows_core::Interface::as_raw(this), value).ok() } } - #[doc(hidden)] - pub fn IPercentFormatterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPercentFormatterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1588,8 +1584,7 @@ impl PermilleFormatter { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetSignificantDigits)(windows_core::Interface::as_raw(this), value).ok() } } - #[doc(hidden)] - pub fn IPermilleFormatterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPermilleFormatterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs index 5c817f88cb..eddad60803 100644 --- a/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs @@ -132,8 +132,7 @@ impl PhoneNumberFormatter { (windows_core::Interface::vtable(this).WrapWithLeftToRightMarkers)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(number), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPhoneNumberFormatterStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneNumberFormatterStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -240,13 +239,11 @@ impl PhoneNumberInfo { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IPhoneNumberInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneNumberInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPhoneNumberInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhoneNumberInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Globalization/mod.rs b/crates/libs/windows/src/Windows/Globalization/mod.rs index 26a9d70090..d83ab53bc8 100644 --- a/crates/libs/windows/src/Windows/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/mod.rs @@ -685,13 +685,11 @@ impl ApplicationLanguages { (windows_core::Interface::vtable(this).GetLanguagesForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IApplicationLanguagesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationLanguagesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IApplicationLanguagesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationLanguagesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1378,13 +1376,11 @@ impl Calendar { (windows_core::Interface::vtable(this).TimeZoneAsString)(windows_core::Interface::as_raw(this), ideallength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn ICalendarFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICalendarFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICalendarFactory2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICalendarFactory2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1493,18 +1489,15 @@ impl CalendarIdentifiers { (windows_core::Interface::vtable(this).VietnameseLunar)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICalendarIdentifiersStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICalendarIdentifiersStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICalendarIdentifiersStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICalendarIdentifiersStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICalendarIdentifiersStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICalendarIdentifiersStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1526,8 +1519,7 @@ impl ClockIdentifiers { (windows_core::Interface::vtable(this).TwentyFourHour)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IClockIdentifiersStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IClockIdentifiersStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1560,8 +1552,7 @@ impl CurrencyAmount { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(amount), core::mem::transmute_copy(currency), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICurrencyAmountFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICurrencyAmountFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2552,18 +2543,15 @@ impl CurrencyIdentifiers { (windows_core::Interface::vtable(this).VES)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICurrencyIdentifiersStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICurrencyIdentifiersStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICurrencyIdentifiersStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICurrencyIdentifiersStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICurrencyIdentifiersStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICurrencyIdentifiersStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2645,13 +2633,11 @@ impl GeographicRegion { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(geographicregioncode), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IGeographicRegionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IGeographicRegionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGeographicRegionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGeographicRegionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2721,8 +2707,7 @@ impl JapanesePhoneticAnalyzer { (windows_core::Interface::vtable(this).GetWordsWithMonoRubyOption)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), monoruby, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IJapanesePhoneticAnalyzerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IJapanesePhoneticAnalyzerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2819,23 +2804,19 @@ impl Language { (windows_core::Interface::vtable(this).GetMuiCompatibleLanguageListFromLanguageTags)(windows_core::Interface::as_raw(this), languagetags.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILanguageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILanguageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ILanguageStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILanguageStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ILanguageStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ILanguageStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ILanguageStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn ILanguageStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3142,13 +3123,11 @@ impl NumeralSystemIdentifiers { (windows_core::Interface::vtable(this).ZmthMono)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn INumeralSystemIdentifiersStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn INumeralSystemIdentifiersStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn INumeralSystemIdentifiersStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn INumeralSystemIdentifiersStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs index 15c558bc58..63243fce81 100644 --- a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs @@ -332,13 +332,11 @@ impl Direct3D11CaptureFramePool { (windows_core::Interface::vtable(this).CreateFreeThreaded)(windows_core::Interface::as_raw(this), device.param().abi(), pixelformat, numberofbuffers, size, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDirect3D11CaptureFramePoolStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDirect3D11CaptureFramePoolStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IDirect3D11CaptureFramePoolStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IDirect3D11CaptureFramePoolStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -364,8 +362,7 @@ impl GraphicsCaptureAccess { (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), request, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGraphicsCaptureAccessStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGraphicsCaptureAccessStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -429,13 +426,11 @@ impl GraphicsCaptureItem { (windows_core::Interface::vtable(this).TryCreateFromDisplayId)(windows_core::Interface::as_raw(this), displayid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGraphicsCaptureItemStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGraphicsCaptureItemStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGraphicsCaptureItemStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGraphicsCaptureItemStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -559,8 +554,7 @@ impl GraphicsCaptureSession { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IGraphicsCaptureSessionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGraphicsCaptureSessionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs b/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs index a259d5d781..5c1d8d6834 100644 --- a/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs @@ -131,8 +131,7 @@ impl HdmiDisplayInformation { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IHdmiDisplayInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHdmiDisplayInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs index 013d9e917f..79cd3daa59 100644 --- a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs @@ -532,8 +532,7 @@ impl BrightnessOverride { (windows_core::Interface::vtable(this).SaveForSystemAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBrightnessOverrideStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBrightnessOverrideStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -587,8 +586,7 @@ impl BrightnessOverrideSettings { (windows_core::Interface::vtable(this).CreateFromDisplayBrightnessOverrideScenario)(windows_core::Interface::as_raw(this), overridescenario, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBrightnessOverrideSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBrightnessOverrideSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -623,8 +621,7 @@ impl ColorOverrideSettings { (windows_core::Interface::vtable(this).CreateFromDisplayColorOverrideScenario)(windows_core::Interface::as_raw(this), overridescenario, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IColorOverrideSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IColorOverrideSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -751,8 +748,7 @@ impl DisplayEnhancementOverride { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDisplayEnhancementOverrideStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDisplayEnhancementOverrideStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1028,8 +1024,7 @@ impl DisplayInformation { pub fn RemoveDisplayContentsInvalidated(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IDisplayInformationStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveDisplayContentsInvalidated)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn IDisplayInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDisplayInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1173,9 +1168,8 @@ impl DisplayProperties { pub fn RemoveDisplayContentsInvalidated(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IDisplayPropertiesStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveDisplayContentsInvalidated)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IDisplayPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDisplayPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1195,8 +1189,7 @@ impl DisplayServices { (windows_core::Interface::vtable(this).FindAll)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) }) } - #[doc(hidden)] - pub fn IDisplayServicesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDisplayServicesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs index 3a8d6d8690..fece18ef65 100644 --- a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs @@ -1020,8 +1020,7 @@ impl HolographicDisplay { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IHolographicDisplayStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHolographicDisplayStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1450,8 +1449,7 @@ impl HolographicQuadLayer { (windows_core::Interface::vtable(this).CreateWithPixelFormat)(windows_core::Interface::as_raw(this), size, pixelformat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IHolographicQuadLayerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHolographicQuadLayerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1674,18 +1672,15 @@ impl HolographicSpace { (windows_core::Interface::vtable(this).IsConfigured)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IHolographicSpaceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHolographicSpaceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHolographicSpaceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IHolographicSpaceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHolographicSpaceStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IHolographicSpaceStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs index 2c86fc58fe..909a076fdb 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs @@ -890,13 +890,11 @@ impl BitmapDecoder { (windows_core::Interface::vtable(this).GetSoftwareBitmapTransformedAsync)(windows_core::Interface::as_raw(this), pixelformat, alphamode, transform.param().abi(), exiforientationmode, colormanagementmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IBitmapDecoderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBitmapDecoderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBitmapDecoderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IBitmapDecoderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1105,13 +1103,11 @@ impl BitmapEncoder { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetSoftwareBitmap)(windows_core::Interface::as_raw(this), bitmap.param().abi()).ok() } } - #[doc(hidden)] - pub fn IBitmapEncoderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBitmapEncoderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBitmapEncoderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IBitmapEncoderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1560,8 +1556,7 @@ impl BitmapTypedValue { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), value.param().abi(), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBitmapTypedValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IBitmapTypedValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1922,13 +1917,11 @@ impl SoftwareBitmap { (windows_core::Interface::vtable(this).CreateCopyWithAlphaFromSurfaceAsync)(windows_core::Interface::as_raw(this), surface.param().abi(), alpha, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISoftwareBitmapFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISoftwareBitmapFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISoftwareBitmapStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISoftwareBitmapStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs index 763caa5033..a9ab5d943b 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs @@ -2505,8 +2505,7 @@ impl PrintTaskOptionDetails { (windows_core::Interface::vtable(this).DisplayedOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IPrintTaskOptionDetailsStatic windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrintTaskOptionDetailsStatic windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs index 86a54c1309..f49c38e8a8 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs @@ -755,8 +755,7 @@ impl PrintSupportPrintDeviceCapabilitiesUpdatePolicy { (windows_core::Interface::vtable(this).CreatePrintJobRefresh)(windows_core::Interface::as_raw(this), numberofjobs, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs index 06520da816..c138a925dc 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs @@ -1208,8 +1208,7 @@ impl PrintWorkflowObjectModelSourceFileContent { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), xpsstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPrintWorkflowObjectModelSourceFileContentFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrintWorkflowObjectModelSourceFileContentFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs index 7925d9b113..d8f696390a 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs @@ -547,13 +547,11 @@ impl PrintManager { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IPrintManagerStatic windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrintManagerStatic windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPrintManagerStatic2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrintManagerStatic2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -681,8 +679,7 @@ impl PrintPageRange { (windows_core::Interface::vtable(this).CreateWithSinglePage)(windows_core::Interface::as_raw(this), page, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPrintPageRangeFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrintPageRangeFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1377,18 +1374,15 @@ impl StandardPrintTaskOptions { (windows_core::Interface::vtable(this).CustomPageRanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStandardPrintTaskOptionsStatic windows_core::Result>(callback: F) -> windows_core::Result { + fn IStandardPrintTaskOptionsStatic windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IStandardPrintTaskOptionsStatic2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IStandardPrintTaskOptionsStatic2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IStandardPrintTaskOptionsStatic3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IStandardPrintTaskOptionsStatic3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs index 42753a594d..d7cbb91fda 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs @@ -627,8 +627,7 @@ impl Print3DManager { (windows_core::Interface::vtable(this).ShowPrintUIAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPrint3DManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrint3DManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -963,8 +962,7 @@ impl Printing3D3MFPackage { (windows_core::Interface::vtable(this).LoadAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPrinting3D3MFPackageStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrinting3D3MFPackageStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1030,8 +1028,7 @@ impl Printing3DBaseMaterial { (windows_core::Interface::vtable(this).Pla)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPrinting3DBaseMaterialStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrinting3DBaseMaterialStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1074,8 +1071,7 @@ impl Printing3DBaseMaterialGroup { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), materialgroupid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPrinting3DBaseMaterialGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrinting3DBaseMaterialGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1167,8 +1163,7 @@ impl Printing3DColorMaterialGroup { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), materialgroupid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPrinting3DColorMaterialGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrinting3DColorMaterialGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1412,8 +1407,7 @@ impl Printing3DCompositeMaterialGroup { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), materialgroupid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPrinting3DCompositeMaterialGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrinting3DCompositeMaterialGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2061,8 +2055,7 @@ impl Printing3DMultiplePropertyMaterialGroup { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), materialgroupid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPrinting3DMultiplePropertyMaterialGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrinting3DMultiplePropertyMaterialGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2180,8 +2173,7 @@ impl Printing3DTexture2CoordMaterialGroup { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), materialgroupid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPrinting3DTexture2CoordMaterialGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPrinting3DTexture2CoordMaterialGroupFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Management/Core/mod.rs b/crates/libs/windows/src/Windows/Management/Core/mod.rs index 9f90ca270d..ce25a49be5 100644 --- a/crates/libs/windows/src/Windows/Management/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Core/mod.rs @@ -30,8 +30,7 @@ impl ApplicationDataManager { (windows_core::Interface::vtable(this).CreateForPackageFamily)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IApplicationDataManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationDataManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs b/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs index cfa19054f3..3db2a2f96a 100644 --- a/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs @@ -25,8 +25,7 @@ impl ClassicAppManager { (windows_core::Interface::vtable(this).FindInstalledApp)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appuninstallkey), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IClassicAppManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IClassicAppManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs index 3f43b53756..63a4236b77 100644 --- a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs @@ -1074,8 +1074,7 @@ impl AppInstallerManager { (windows_core::Interface::vtable(this).GetForSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppInstallerManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppInstallerManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1250,8 +1249,7 @@ impl AutoUpdateSettingsOptions { (windows_core::Interface::vtable(this).CreateFromAppInstallerInfo)(windows_core::Interface::as_raw(this), appinstallerinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAutoUpdateSettingsOptionsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAutoUpdateSettingsOptionsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2820,8 +2818,7 @@ impl SharedPackageContainerManager { (windows_core::Interface::vtable(this).GetForProvisioning)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISharedPackageContainerManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISharedPackageContainerManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2856,8 +2853,7 @@ impl SharedPackageContainerMember { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISharedPackageContainerMemberFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISharedPackageContainerMemberFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Management/Policies/mod.rs b/crates/libs/windows/src/Windows/Management/Policies/mod.rs index 20c3337742..9a2fca4e00 100644 --- a/crates/libs/windows/src/Windows/Management/Policies/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Policies/mod.rs @@ -56,8 +56,7 @@ impl NamedPolicy { (windows_core::Interface::vtable(this).GetPolicyFromPathForUser)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(area), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn INamedPolicyStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn INamedPolicyStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Management/Setup/mod.rs b/crates/libs/windows/src/Windows/Management/Setup/mod.rs index cf55de53a9..f6c538a621 100644 --- a/crates/libs/windows/src/Windows/Management/Setup/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Setup/mod.rs @@ -454,8 +454,7 @@ impl DeploymentWorkload { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDeploymentWorkloadFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IDeploymentWorkloadFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -507,8 +506,7 @@ impl DeploymentWorkloadBatch { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDeploymentWorkloadBatchFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IDeploymentWorkloadBatchFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -624,8 +622,7 @@ impl MachineProvisioningProgressReporter { (windows_core::Interface::vtable(this).GetForLaunchUri)(windows_core::Interface::as_raw(this), launchuri.param().abi(), heartbeathandler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMachineProvisioningProgressReporterStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMachineProvisioningProgressReporterStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Management/Update/mod.rs b/crates/libs/windows/src/Windows/Management/Update/mod.rs index 6cec9ac370..070a63bf4a 100644 --- a/crates/libs/windows/src/Windows/Management/Update/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Update/mod.rs @@ -336,8 +336,7 @@ impl PreviewBuildsManager { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IPreviewBuildsManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPreviewBuildsManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -759,8 +758,7 @@ impl WindowsUpdateAdministrator { pub fn CancelRestartRequest(requestrestarttoken: &windows_core::HSTRING) -> windows_core::Result<()> { Self::IWindowsUpdateAdministratorStatics(|this| unsafe { (windows_core::Interface::vtable(this).CancelRestartRequest)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(requestrestarttoken)).ok() }) } - #[doc(hidden)] - pub fn IWindowsUpdateAdministratorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWindowsUpdateAdministratorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1186,8 +1184,7 @@ impl WindowsUpdateManager { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(clientid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWindowsUpdateManagerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWindowsUpdateManagerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1337,8 +1334,7 @@ impl WindowsUpdateRestartRequestOptions { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(title), core::mem::transmute_copy(description), moreinfourl.param().abi(), compliancedeadlineindays, compliancegraceperiodindays, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWindowsUpdateRestartRequestOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWindowsUpdateRestartRequestOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Management/Workplace/mod.rs b/crates/libs/windows/src/Windows/Management/Workplace/mod.rs index ecee8ad633..a3e4349b19 100644 --- a/crates/libs/windows/src/Windows/Management/Workplace/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Workplace/mod.rs @@ -60,13 +60,11 @@ impl MdmPolicy { (windows_core::Interface::vtable(this).GetMessagingSyncPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IMdmAllowPolicyStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMdmAllowPolicyStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMdmPolicyStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMdmPolicyStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -82,8 +80,7 @@ impl WorkplaceSettings { (windows_core::Interface::vtable(this).IsMicrosoftAccountOptional)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IWorkplaceSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWorkplaceSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Management/mod.rs b/crates/libs/windows/src/Windows/Management/mod.rs index d49f4828cd..7a6999b21d 100644 --- a/crates/libs/windows/src/Windows/Management/mod.rs +++ b/crates/libs/windows/src/Windows/Management/mod.rs @@ -262,8 +262,7 @@ impl MdmSessionManager { (windows_core::Interface::vtable(this).GetSessionById)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sessionid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMdmSessionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMdmSessionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs b/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs index 136959cff9..e78d06895b 100644 --- a/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs +++ b/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs @@ -242,8 +242,7 @@ impl AppBroadcastingUI { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppBroadcastingUIStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppBroadcastingUIStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs b/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs index 185a248d32..07ae29a555 100644 --- a/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs +++ b/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs @@ -160,8 +160,7 @@ impl AppRecordingManager { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppRecordingManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppRecordingManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Audio/mod.rs b/crates/libs/windows/src/Windows/Media/Audio/mod.rs index 587e247428..34df90d260 100644 --- a/crates/libs/windows/src/Windows/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Audio/mod.rs @@ -1690,8 +1690,7 @@ impl AudioEffectsPackConfiguration { (windows_core::Interface::vtable(this).IsDeviceIdSupported)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(effectspackid), core::mem::transmute_copy(deviceid), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IAudioEffectsPackConfigurationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioEffectsPackConfigurationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2664,8 +2663,7 @@ impl AudioGraph { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[doc(hidden)] - pub fn IAudioGraphStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioGraphStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2841,8 +2839,7 @@ impl AudioGraphSettings { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), audiorendercategory, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAudioGraphSettingsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioGraphSettingsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3010,8 +3007,7 @@ impl AudioNodeEmitter { (windows_core::Interface::vtable(this).CreateAudioNodeEmitter)(windows_core::Interface::as_raw(this), shape.param().abi(), decaymodel.param().abi(), settings, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAudioNodeEmitterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioNodeEmitterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3112,8 +3108,7 @@ impl AudioNodeEmitterDecayModel { (windows_core::Interface::vtable(this).CreateCustom)(windows_core::Interface::as_raw(this), mingain, maxgain, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAudioNodeEmitterDecayModelStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioNodeEmitterDecayModelStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3193,8 +3188,7 @@ impl AudioNodeEmitterShape { (windows_core::Interface::vtable(this).CreateOmnidirectional)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAudioNodeEmitterShapeStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioNodeEmitterShapeStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3361,8 +3355,7 @@ impl AudioPlaybackConnection { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[doc(hidden)] - pub fn IAudioPlaybackConnectionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioPlaybackConnectionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3491,8 +3484,7 @@ impl AudioStateMonitor { (windows_core::Interface::vtable(this).CreateForCaptureMonitoringWithCategoryAndDeviceId)(windows_core::Interface::as_raw(this), category, core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAudioStateMonitorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioStateMonitorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3933,8 +3925,7 @@ impl EchoEffectDefinition { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), audiograph.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IEchoEffectDefinitionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IEchoEffectDefinitionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4042,8 +4033,7 @@ impl EqualizerEffectDefinition { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), audiograph.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IEqualizerEffectDefinitionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IEqualizerEffectDefinitionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4139,8 +4129,7 @@ impl LimiterEffectDefinition { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), audiograph.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILimiterEffectDefinitionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ILimiterEffectDefinitionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4660,8 +4649,7 @@ impl ReverbEffectDefinition { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), audiograph.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IReverbEffectDefinitionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IReverbEffectDefinitionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4770,8 +4758,7 @@ impl SpatialAudioDeviceConfiguration { (windows_core::Interface::vtable(this).GetForDeviceId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpatialAudioDeviceConfigurationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialAudioDeviceConfigurationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4824,8 +4811,7 @@ impl SpatialAudioFormatConfiguration { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpatialAudioFormatConfigurationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialAudioFormatConfigurationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4886,13 +4872,11 @@ impl SpatialAudioFormatSubtype { (windows_core::Interface::vtable(this).DTSXForHomeTheater)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpatialAudioFormatSubtypeStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialAudioFormatSubtypeStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISpatialAudioFormatSubtypeStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialAudioFormatSubtypeStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs index eb973f4ec3..5a58eb0dfb 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs @@ -1069,8 +1069,7 @@ impl MediaFrameSourceGroup { (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMediaFrameSourceGroupStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaFrameSourceGroupStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Capture/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/mod.rs index 5db514f4b0..110bb3a504 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/mod.rs @@ -2591,8 +2591,7 @@ impl AppBroadcastManager { { Self::IAppBroadcastManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).ApplyProviderSettings)(windows_core::Interface::as_raw(this), value.param().abi()).ok() }) } - #[doc(hidden)] - pub fn IAppBroadcastManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppBroadcastManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2729,8 +2728,7 @@ impl AppBroadcastPlugInManager { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppBroadcastPlugInManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppBroadcastPlugInManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3889,13 +3887,11 @@ impl AppCapture { (windows_core::Interface::vtable(this).SetAllowedAsync)(windows_core::Interface::as_raw(this), allowed, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppCaptureStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppCaptureStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAppCaptureStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppCaptureStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4199,8 +4195,7 @@ impl AppCaptureManager { { Self::IAppCaptureManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).ApplySettings)(windows_core::Interface::as_raw(this), appcapturesettings.param().abi()).ok() }) } - #[doc(hidden)] - pub fn IAppCaptureManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppCaptureManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5099,8 +5094,7 @@ impl CameraOptionsUI { { Self::ICameraOptionsUIStatics(|this| unsafe { (windows_core::Interface::vtable(this).Show)(windows_core::Interface::as_raw(this), mediacapture.param().abi()).ok() }) } - #[doc(hidden)] - pub fn ICameraOptionsUIStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICameraOptionsUIStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5556,8 +5550,7 @@ impl GameBarServicesManager { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGameBarServicesManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGameBarServicesManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -6418,8 +6411,7 @@ impl MediaCapture { (windows_core::Interface::vtable(this).StopPreviewAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IMediaCaptureStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaCaptureStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -7326,8 +7318,7 @@ impl ScreenCapture { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IScreenCaptureStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IScreenCaptureStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Casting/mod.rs b/crates/libs/windows/src/Windows/Media/Casting/mod.rs index 9d8d3030c8..e44d0aea9a 100644 --- a/crates/libs/windows/src/Windows/Media/Casting/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Casting/mod.rs @@ -317,8 +317,7 @@ impl CastingDevice { (windows_core::Interface::vtable(this).DeviceInfoSupportsCastingAsync)(windows_core::Interface::as_raw(this), device.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICastingDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICastingDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs b/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs index 4848e2a5fc..4604f69aeb 100644 --- a/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs +++ b/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs @@ -126,13 +126,11 @@ impl ClosedCaptionProperties { pub fn RemovePropertiesChanged(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IClosedCaptionPropertiesStatics2(|this| unsafe { (windows_core::Interface::vtable(this).RemovePropertiesChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn IClosedCaptionPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IClosedCaptionPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IClosedCaptionPropertiesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IClosedCaptionPropertiesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs b/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs index 779629df2b..1bdde4f054 100644 --- a/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs +++ b/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs @@ -185,8 +185,7 @@ impl RatedContentDescription { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), core::mem::transmute_copy(title), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRatedContentDescriptionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IRatedContentDescriptionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -262,8 +261,7 @@ impl RatedContentRestrictions { (windows_core::Interface::vtable(this).CreateWithMaxAgeRating)(windows_core::Interface::as_raw(this), maxagerating, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRatedContentRestrictionsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IRatedContentRestrictionsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Control/mod.rs b/crates/libs/windows/src/Windows/Media/Control/mod.rs index a2b909e3d5..f9ce7fe166 100644 --- a/crates/libs/windows/src/Windows/Media/Control/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Control/mod.rs @@ -436,8 +436,7 @@ impl GlobalSystemMediaTransportControlsSessionManager { (windows_core::Interface::vtable(this).RequestAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGlobalSystemMediaTransportControlsSessionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGlobalSystemMediaTransportControlsSessionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs b/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs index 1d88b2b06e..a4b94712a7 100644 --- a/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs @@ -29,8 +29,7 @@ impl SoundLevelBroker { pub fn RemoveSoundLevelChanged(token: super::super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::ISoundLevelBrokerStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveSoundLevelChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn ISoundLevelBrokerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISoundLevelBrokerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Core/mod.rs index 6c6b9a93d9..fdc41accf5 100644 --- a/crates/libs/windows/src/Windows/Media/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/mod.rs @@ -1898,8 +1898,7 @@ impl AudioStreamDescriptor { (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IAudioStreamDescriptorFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioStreamDescriptorFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2546,8 +2545,7 @@ impl CodecSubtypes { (windows_core::Interface::vtable(this).AudioFormatWMAudioV9)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICodecSubtypesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICodecSubtypesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3127,8 +3125,7 @@ impl LowLightFusion { (windows_core::Interface::vtable(this).FuseAsync)(windows_core::Interface::as_raw(this), frameset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILowLightFusionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILowLightFusionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3579,23 +3576,19 @@ impl MediaSource { (windows_core::Interface::vtable(this).CreateFromDownloadOperation)(windows_core::Interface::as_raw(this), downloadoperation.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMediaSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaSourceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaSourceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaSourceStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaSourceStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaSourceStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaSourceStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3645,8 +3638,7 @@ impl MediaSourceAppServiceConnection { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), appserviceconnection.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMediaSourceAppServiceConnectionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaSourceAppServiceConnectionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3874,13 +3866,11 @@ impl MediaStreamSample { (windows_core::Interface::vtable(this).CreateFromDirect3D11Surface)(windows_core::Interface::as_raw(this), surface.param().abi(), timestamp, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMediaStreamSampleStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaStreamSampleStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaStreamSampleStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaStreamSampleStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4281,8 +4271,7 @@ impl MediaStreamSource { (windows_core::Interface::vtable(this).CreateFromDescriptors)(windows_core::Interface::as_raw(this), descriptor.param().abi(), descriptor2.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMediaStreamSourceFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaStreamSourceFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5007,8 +4996,7 @@ impl MseStreamSource { (windows_core::Interface::vtable(this).IsContentTypeSupported)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contenttype), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IMseStreamSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMseStreamSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5447,8 +5435,7 @@ impl TimedMetadataStreamDescriptor { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), encodingproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITimedMetadataStreamDescriptorFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ITimedMetadataStreamDescriptorFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5610,8 +5597,7 @@ impl TimedMetadataTrack { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), core::mem::transmute_copy(language), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITimedMetadataTrackFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ITimedMetadataTrackFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -6197,13 +6183,11 @@ impl TimedTextSource { (windows_core::Interface::vtable(this).CreateFromUriWithIndexAndLanguage)(windows_core::Interface::as_raw(this), uri.param().abi(), indexuri.param().abi(), core::mem::transmute_copy(defaultlanguage), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITimedTextSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITimedTextSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITimedTextSourceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITimedTextSourceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -6766,8 +6750,7 @@ impl VideoStreamDescriptor { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), encodingproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVideoStreamDescriptorFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IVideoStreamDescriptorFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs index fcd318cc2b..a6f57e137c 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs @@ -395,8 +395,7 @@ impl CameraIntrinsics { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), focallength, principalpoint, radialdistortion, tangentialdistortion, imagewidth, imageheight, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICameraIntrinsicsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICameraIntrinsicsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/mod.rs index e9dad594bf..400f1d579f 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/mod.rs @@ -1329,8 +1329,7 @@ impl AudioDeviceModulesManager { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAudioDeviceModulesManagerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioDeviceModulesManagerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1477,8 +1476,7 @@ impl CallControl { (windows_core::Interface::vtable(this).FromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICallControlStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICallControlStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2904,8 +2902,7 @@ impl MediaDevice { pub fn RemoveDefaultAudioRenderDeviceChanged(cookie: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IMediaDeviceStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveDefaultAudioRenderDeviceChanged)(windows_core::Interface::as_raw(this), cookie).ok() }) } - #[doc(hidden)] - pub fn IMediaDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs index 985fdfe029..8a434ab8c8 100644 --- a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs +++ b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs @@ -286,8 +286,7 @@ impl DialDevice { (windows_core::Interface::vtable(this).DeviceInfoSupportsDialAsync)(windows_core::Interface::as_raw(this), device.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDialDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDialDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -534,8 +533,7 @@ impl DialReceiverApp { (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDialReceiverAppStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDialReceiverAppStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Editing/mod.rs b/crates/libs/windows/src/Windows/Media/Editing/mod.rs index fe8e98f192..d9350db4dc 100644 --- a/crates/libs/windows/src/Windows/Media/Editing/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Editing/mod.rs @@ -383,8 +383,7 @@ impl BackgroundAudioTrack { (windows_core::Interface::vtable(this).CreateFromFileAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBackgroundAudioTrackStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundAudioTrackStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -588,13 +587,11 @@ impl MediaClip { (windows_core::Interface::vtable(this).CreateFromSurface)(windows_core::Interface::as_raw(this), surface.param().abi(), originalduration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMediaClipStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaClipStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaClipStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaClipStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -778,8 +775,7 @@ impl MediaComposition { (windows_core::Interface::vtable(this).LoadAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMediaCompositionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaCompositionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -877,8 +873,7 @@ impl MediaOverlay { (windows_core::Interface::vtable(this).CreateWithPositionAndOpacity)(windows_core::Interface::as_raw(this), clip.param().abi(), position, opacity, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMediaOverlayFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaOverlayFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -940,8 +935,7 @@ impl MediaOverlayLayer { (windows_core::Interface::vtable(this).CreateWithCompositorDefinition)(windows_core::Interface::as_raw(this), compositordefinition.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMediaOverlayLayerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaOverlayLayerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Effects/mod.rs b/crates/libs/windows/src/Windows/Media/Effects/mod.rs index d18aa8175c..604d55c268 100644 --- a/crates/libs/windows/src/Windows/Media/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Effects/mod.rs @@ -772,8 +772,7 @@ impl AudioEffectDefinition { (windows_core::Interface::vtable(this).CreateWithProperties)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activatableclassid), props.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAudioEffectDefinitionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioEffectDefinitionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -820,8 +819,7 @@ impl AudioEffectsManager { (windows_core::Interface::vtable(this).CreateAudioCaptureEffectsManagerWithMode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), category, mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAudioEffectsManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioEffectsManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1093,8 +1091,7 @@ impl VideoCompositorDefinition { (windows_core::Interface::vtable(this).CreateWithProperties)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activatableclassid), props.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVideoCompositorDefinitionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IVideoCompositorDefinitionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1147,8 +1144,7 @@ impl VideoEffectDefinition { (windows_core::Interface::vtable(this).CreateWithProperties)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activatableclassid), props.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVideoEffectDefinitionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IVideoEffectDefinitionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs b/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs index 0581a95b9e..1cd08dea22 100644 --- a/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs +++ b/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs @@ -211,8 +211,7 @@ impl FaceDetector { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IFaceDetectorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IFaceDetectorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -297,8 +296,7 @@ impl FaceTracker { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IFaceTrackerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IFaceTrackerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Import/mod.rs b/crates/libs/windows/src/Windows/Media/Import/mod.rs index 182a424931..da547c1231 100644 --- a/crates/libs/windows/src/Windows/Media/Import/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Import/mod.rs @@ -954,8 +954,7 @@ impl PhotoImportManager { (windows_core::Interface::vtable(this).GetPendingOperations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPhotoImportManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhotoImportManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1337,8 +1336,7 @@ impl PhotoImportSource { (windows_core::Interface::vtable(this).FromFolderAsync)(windows_core::Interface::as_raw(this), sourcerootfolder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPhotoImportSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPhotoImportSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs index 9bbb5365a5..2fcdbe197f 100644 --- a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs @@ -757,13 +757,11 @@ impl AudioEncodingProperties { (windows_core::Interface::vtable(this).Subtype)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IAudioEncodingPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioEncodingPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAudioEncodingPropertiesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioEncodingPropertiesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -854,8 +852,7 @@ impl Av1ProfileIds { (windows_core::Interface::vtable(this).ProfessionalChromaSubsampling422BitDepth12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IAv1ProfileIdsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAv1ProfileIdsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -984,8 +981,7 @@ impl H264ProfileIds { (windows_core::Interface::vtable(this).MultiviewHigh)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IH264ProfileIdsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IH264ProfileIdsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1127,8 +1123,7 @@ impl HevcProfileIds { (windows_core::Interface::vtable(this).MainStillChromaSubsampling444BitDepth16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IHevcProfileIdsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHevcProfileIdsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1240,18 +1235,15 @@ impl ImageEncodingProperties { (windows_core::Interface::vtable(this).Subtype)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IImageEncodingPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IImageEncodingPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IImageEncodingPropertiesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IImageEncodingPropertiesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IImageEncodingPropertiesStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IImageEncodingPropertiesStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1462,23 +1454,19 @@ impl MediaEncodingProfile { (windows_core::Interface::vtable(this).CreateAv1)(windows_core::Interface::as_raw(this), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMediaEncodingProfileStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaEncodingProfileStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaEncodingProfileStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaEncodingProfileStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaEncodingProfileStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaEncodingProfileStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaEncodingProfileStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaEncodingProfileStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1815,38 +1803,31 @@ impl MediaEncodingSubtypes { (windows_core::Interface::vtable(this).Av1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMediaEncodingSubtypesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaEncodingSubtypesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaEncodingSubtypesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaEncodingSubtypesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaEncodingSubtypesStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaEncodingSubtypesStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaEncodingSubtypesStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaEncodingSubtypesStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaEncodingSubtypesStatics5 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaEncodingSubtypesStatics5 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaEncodingSubtypesStatics6 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaEncodingSubtypesStatics6 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaEncodingSubtypesStatics7 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaEncodingSubtypesStatics7 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2038,8 +2019,7 @@ impl Mpeg2ProfileIds { (windows_core::Interface::vtable(this).High)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IMpeg2ProfileIdsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMpeg2ProfileIdsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2124,8 +2104,7 @@ impl TimedMetadataEncodingProperties { (windows_core::Interface::vtable(this).CreateVobSub)(windows_core::Interface::as_raw(this), formatuserdata.len().try_into().unwrap(), formatuserdata.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITimedMetadataEncodingPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITimedMetadataEncodingPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2304,18 +2283,15 @@ impl VideoEncodingProperties { (windows_core::Interface::vtable(this).CreateAv1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVideoEncodingPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IVideoEncodingPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IVideoEncodingPropertiesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IVideoEncodingPropertiesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IVideoEncodingPropertiesStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IVideoEncodingPropertiesStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2352,8 +2328,7 @@ impl Vp9ProfileIds { (windows_core::Interface::vtable(this).Profile2ChromaSubsampling420BitDepth12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IVp9ProfileIdsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IVp9ProfileIdsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Ocr/mod.rs b/crates/libs/windows/src/Windows/Media/Ocr/mod.rs index 7cd02e5cda..a9363d46d6 100644 --- a/crates/libs/windows/src/Windows/Media/Ocr/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Ocr/mod.rs @@ -136,8 +136,7 @@ impl OcrEngine { (windows_core::Interface::vtable(this).TryCreateFromUserProfileLanguages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IOcrEngineStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IOcrEngineStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs index 54a2f32e1f..5266498d42 100644 --- a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs +++ b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs @@ -715,9 +715,8 @@ impl PlayToManager { pub fn ShowPlayToUI() -> windows_core::Result<()> { Self::IPlayToManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).ShowPlayToUI)(windows_core::Interface::as_raw(this)).ok() }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IPlayToManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlayToManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Playback/mod.rs b/crates/libs/windows/src/Windows/Media/Playback/mod.rs index 8b144162bf..deb5e0ab29 100644 --- a/crates/libs/windows/src/Windows/Media/Playback/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playback/mod.rs @@ -1255,9 +1255,8 @@ impl BackgroundMediaPlayer { pub fn Shutdown() -> windows_core::Result<()> { Self::IBackgroundMediaPlayerStatics(|this| unsafe { (windows_core::Interface::vtable(this).Shutdown)(windows_core::Interface::as_raw(this)).ok() }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IBackgroundMediaPlayerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundMediaPlayerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1362,8 +1361,7 @@ impl MediaBreak { (windows_core::Interface::vtable(this).CreateWithPresentationPosition)(windows_core::Interface::as_raw(this), insertionmethod, presentationposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMediaBreakFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaBreakFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2751,18 +2749,15 @@ impl MediaPlaybackItem { (windows_core::Interface::vtable(this).FindFromMediaSource)(windows_core::Interface::as_raw(this), source.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMediaPlaybackItemFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaPlaybackItemFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaPlaybackItemFactory2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaPlaybackItemFactory2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMediaPlaybackItemStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaPlaybackItemStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4663,8 +4658,7 @@ impl PlaybackMediaMarker { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), value, core::mem::transmute_copy(mediamarkettype), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPlaybackMediaMarkerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlaybackMediaMarkerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Playlists/mod.rs b/crates/libs/windows/src/Windows/Media/Playlists/mod.rs index f4faf35e33..975c7ac480 100644 --- a/crates/libs/windows/src/Windows/Media/Playlists/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playlists/mod.rs @@ -90,8 +90,7 @@ impl Playlist { (windows_core::Interface::vtable(this).LoadAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPlaylistStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlaylistStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs index 15a8287a9c..98790919e7 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs @@ -2152,9 +2152,8 @@ impl NDClient { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), downloadengine.param().abi(), streamparser.param().abi(), pmessenger.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn INDClientFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn INDClientFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2203,9 +2202,8 @@ impl NDCustomData { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), customdatatypeidbytes.len().try_into().unwrap(), customdatatypeidbytes.as_ptr(), customdatabytes.len().try_into().unwrap(), customdatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn INDCustomDataFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn INDCustomDataFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2335,9 +2333,8 @@ impl NDLicenseFetchDescriptor { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), contentidtype, contentidbytes.len().try_into().unwrap(), contentidbytes.as_ptr(), licensefetchchallengecustomdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn INDLicenseFetchDescriptorFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn INDLicenseFetchDescriptorFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2504,9 +2501,8 @@ impl NDTCPMessenger { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(remotehostname), remotehostport, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn INDTCPMessengerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn INDTCPMessengerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2649,13 +2645,11 @@ impl PlayReadyContentHeader { (windows_core::Interface::vtable(this).CreateInstanceFromComponents2)(windows_core::Interface::as_raw(this), dwflags, contentkeyids.len().try_into().unwrap(), contentkeyids.as_ptr(), contentkeyidstrings.len().try_into().unwrap(), core::mem::transmute(contentkeyidstrings.as_ptr()), contentencryptionalgorithm, licenseacquisitionurl.param().abi(), licenseacquisitionuserinterfaceurl.param().abi(), core::mem::transmute_copy(customattributes), domainserviceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPlayReadyContentHeaderFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlayReadyContentHeaderFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPlayReadyContentHeaderFactory2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlayReadyContentHeaderFactory2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2681,8 +2675,7 @@ impl PlayReadyContentResolver { (windows_core::Interface::vtable(this).ServiceRequest)(windows_core::Interface::as_raw(this), contentheader.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPlayReadyContentResolver windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlayReadyContentResolver windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2764,8 +2757,7 @@ impl PlayReadyDomainIterable { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), domainaccountid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPlayReadyDomainIterableFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlayReadyDomainIterableFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3503,8 +3495,7 @@ impl PlayReadyLicenseIterable { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), contentheader.param().abi(), fullyevaluated, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPlayReadyLicenseIterableFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlayReadyLicenseIterableFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3603,8 +3594,7 @@ impl PlayReadyLicenseManagement { (windows_core::Interface::vtable(this).DeleteLicenses)(windows_core::Interface::as_raw(this), contentheader.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPlayReadyLicenseManagement windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlayReadyLicenseManagement windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3653,8 +3643,7 @@ impl PlayReadyLicenseSession { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), configuration.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPlayReadyLicenseSessionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlayReadyLicenseSessionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3899,8 +3888,7 @@ impl PlayReadySecureStopIterable { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), publishercertbytes.len().try_into().unwrap(), publishercertbytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPlayReadySecureStopIterableFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlayReadySecureStopIterableFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4115,8 +4103,7 @@ impl PlayReadySecureStopServiceRequest { (windows_core::Interface::vtable(this).ProcessManualEnablingResponse)(windows_core::Interface::as_raw(this), responsebytes.len().try_into().unwrap(), responsebytes.as_ptr(), &mut result__).map(|| result__) } } - #[doc(hidden)] - pub fn IPlayReadySecureStopServiceRequestFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlayReadySecureStopServiceRequestFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4264,28 +4251,23 @@ impl PlayReadyStatics { pub fn ResetHardwareDRMDisabled() -> windows_core::Result<()> { Self::IPlayReadyStatics5(|this| unsafe { (windows_core::Interface::vtable(this).ResetHardwareDRMDisabled)(windows_core::Interface::as_raw(this)).ok() }) } - #[doc(hidden)] - pub fn IPlayReadyStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlayReadyStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPlayReadyStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlayReadyStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPlayReadyStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlayReadyStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPlayReadyStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlayReadyStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPlayReadyStatics5 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlayReadyStatics5 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Protection/mod.rs b/crates/libs/windows/src/Windows/Media/Protection/mod.rs index 4c25ae6f91..019ef44b0e 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/mod.rs @@ -215,8 +215,7 @@ impl ComponentRenewal { (windows_core::Interface::vtable(this).RenewSystemComponentsAsync)(windows_core::Interface::as_raw(this), information.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IComponentRenewalStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IComponentRenewalStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -387,8 +386,7 @@ impl MediaProtectionPMPServer { (windows_core::Interface::vtable(this).CreatePMPServer)(windows_core::Interface::as_raw(this), pproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMediaProtectionPMPServerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaProtectionPMPServerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs index e538d25346..ddd1d903bb 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs @@ -660,8 +660,7 @@ impl SpeechRecognitionGrammarFileConstraint { (windows_core::Interface::vtable(this).CreateWithTag)(windows_core::Interface::as_raw(this), file.param().abi(), core::mem::transmute_copy(tag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpeechRecognitionGrammarFileConstraintFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpeechRecognitionGrammarFileConstraintFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -802,8 +801,7 @@ impl SpeechRecognitionListConstraint { (windows_core::Interface::vtable(this).CreateWithTag)(windows_core::Interface::as_raw(this), commands.param().abi(), core::mem::transmute_copy(tag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpeechRecognitionListConstraintFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpeechRecognitionListConstraintFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1033,8 +1031,7 @@ impl SpeechRecognitionTopicConstraint { (windows_core::Interface::vtable(this).CreateWithTag)(windows_core::Interface::as_raw(this), scenario, core::mem::transmute_copy(topichint), core::mem::transmute_copy(tag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpeechRecognitionTopicConstraintFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpeechRecognitionTopicConstraintFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1282,18 +1279,15 @@ impl SpeechRecognizer { (windows_core::Interface::vtable(this).TrySetSystemSpeechLanguageAsync)(windows_core::Interface::as_raw(this), speechlanguage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpeechRecognizerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpeechRecognizerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISpeechRecognizerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpeechRecognizerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISpeechRecognizerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpeechRecognizerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1467,8 +1461,7 @@ impl VoiceCommandManager { (windows_core::Interface::vtable(this).InstalledCommandSets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVoiceCommandManager windows_core::Result>(callback: F) -> windows_core::Result { + fn IVoiceCommandManager windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs index 81f4ffdab4..7a2c472f8b 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs @@ -322,13 +322,11 @@ impl SpeechSynthesizer { (windows_core::Interface::vtable(this).Options)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IInstalledVoicesStatic windows_core::Result>(callback: F) -> windows_core::Result { + fn IInstalledVoicesStatic windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IInstalledVoicesStatic2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IInstalledVoicesStatic2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs b/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs index 15656caf21..3442144f63 100644 --- a/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs @@ -659,8 +659,7 @@ impl AdaptiveMediaSource { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[doc(hidden)] - pub fn IAdaptiveMediaSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAdaptiveMediaSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Media/mod.rs b/crates/libs/windows/src/Windows/Media/mod.rs index 525c1ef531..960f709815 100644 --- a/crates/libs/windows/src/Windows/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Media/mod.rs @@ -1021,8 +1021,7 @@ impl AudioFrame { (windows_core::Interface::vtable(this).ExtendedProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IAudioFrameFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioFrameFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1330,9 +1329,8 @@ impl MediaControl { (windows_core::Interface::vtable(this).AlbumArt)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IMediaControl windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaControl windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1455,8 +1453,7 @@ impl MediaMarkerTypes { (windows_core::Interface::vtable(this).Bookmark)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMediaMarkerTypesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMediaMarkerTypesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2110,8 +2107,7 @@ impl SystemMediaTransportControls { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISystemMediaTransportControlsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemMediaTransportControlsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2410,8 +2406,7 @@ impl VideoEffects { (windows_core::Interface::vtable(this).VideoStabilization)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVideoEffectsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IVideoEffectsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2594,13 +2589,11 @@ impl VideoFrame { (windows_core::Interface::vtable(this).CreateWithDirect3D11Surface)(windows_core::Interface::as_raw(this), surface.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVideoFrameFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IVideoFrameFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IVideoFrameStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IVideoFrameStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs index 20fd2e53c7..d2697c2b97 100644 --- a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs @@ -1028,24 +1028,20 @@ impl BackgroundDownloader { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetCostPolicy)(windows_core::Interface::as_raw(this), value).ok() } } - #[doc(hidden)] - pub fn IBackgroundDownloaderFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundDownloaderFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBackgroundDownloaderStaticMethods windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundDownloaderStaticMethods windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBackgroundDownloaderStaticMethods2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundDownloaderStaticMethods2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IBackgroundDownloaderUserConsent windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundDownloaderUserConsent windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1180,8 +1176,7 @@ impl BackgroundTransferContentPart { (windows_core::Interface::vtable(this).CreateWithNameAndFileName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(filename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBackgroundTransferContentPartFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundTransferContentPartFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1207,8 +1202,7 @@ impl BackgroundTransferError { (windows_core::Interface::vtable(this).GetStatus)(windows_core::Interface::as_raw(this), hresult, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IBackgroundTransferErrorStaticMethods windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundTransferErrorStaticMethods windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1245,8 +1239,7 @@ impl BackgroundTransferGroup { (windows_core::Interface::vtable(this).CreateGroup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBackgroundTransferGroupStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundTransferGroupStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1575,24 +1568,20 @@ impl BackgroundUploader { (windows_core::Interface::vtable(this).RequestUnconstrainedUploadsAsync)(windows_core::Interface::as_raw(this), operations.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBackgroundUploaderFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundUploaderFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBackgroundUploaderStaticMethods windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundUploaderStaticMethods windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBackgroundUploaderStaticMethods2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundUploaderStaticMethods2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IBackgroundUploaderUserConsent windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundUploaderUserConsent windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1636,13 +1625,11 @@ impl ContentPrefetcher { (windows_core::Interface::vtable(this).LastSuccessfulPrefetchTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IContentPrefetcher windows_core::Result>(callback: F) -> windows_core::Result { + fn IContentPrefetcher windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IContentPrefetcherTime windows_core::Result>(callback: F) -> windows_core::Result { + fn IContentPrefetcherTime windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs index 7829f49213..cdbc1c2d6d 100644 --- a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs @@ -1124,8 +1124,7 @@ impl ConnectivityManager { { Self::IConnectivityManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveHttpRoutePolicy)(windows_core::Interface::as_raw(this), routepolicy.param().abi()).ok() }) } - #[doc(hidden)] - pub fn IConnectivityManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IConnectivityManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1501,13 +1500,11 @@ impl NetworkInformation { (windows_core::Interface::vtable(this).FindConnectionProfilesAsync)(windows_core::Interface::as_raw(this), pprofilefilter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn INetworkInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn INetworkInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn INetworkInformationStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn INetworkInformationStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1800,8 +1797,7 @@ impl RoutePolicy { (windows_core::Interface::vtable(this).CreateRoutePolicy)(windows_core::Interface::as_raw(this), connectionprofile.param().abi(), hostname.param().abi(), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRoutePolicyFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IRoutePolicyFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs b/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs index e2db266fdc..0724e7fe32 100644 --- a/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs @@ -1902,8 +1902,7 @@ impl ESimManager { pub fn RemoveServiceInfoChanged(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IESimManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveServiceInfoChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn IESimManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IESimManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2399,8 +2398,7 @@ impl FdnAccessManager { (windows_core::Interface::vtable(this).RequestUnlockAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contactlistid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IFdnAccessManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IFdnAccessManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2479,8 +2477,7 @@ impl HotspotAuthenticationContext { (windows_core::Interface::vtable(this).TryGetAuthenticationContext)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(eventoken), context as *mut _ as _, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IHotspotAuthenticationContextStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHotspotAuthenticationContextStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2586,8 +2583,7 @@ impl KnownCSimFilePaths { (windows_core::Interface::vtable(this).Gid2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKnownCSimFilePathsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownCSimFilePathsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2618,8 +2614,7 @@ impl KnownRuimFilePaths { (windows_core::Interface::vtable(this).Gid2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKnownRuimFilePathsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownRuimFilePathsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2657,8 +2652,7 @@ impl KnownSimFilePaths { (windows_core::Interface::vtable(this).Gid2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKnownSimFilePathsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownSimFilePathsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2703,8 +2697,7 @@ impl KnownUSimFilePaths { (windows_core::Interface::vtable(this).Gid2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKnownUSimFilePathsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownUSimFilePathsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2780,8 +2773,7 @@ impl MobileBroadbandAccount { (windows_core::Interface::vtable(this).CreateFromNetworkAccountId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(networkaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMobileBroadbandAccountStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMobileBroadbandAccountStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2989,8 +2981,7 @@ impl MobileBroadbandAntennaSar { (windows_core::Interface::vtable(this).CreateWithIndex)(windows_core::Interface::as_raw(this), antennaindex, sarbackoffindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMobileBroadbandAntennaSarFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMobileBroadbandAntennaSarFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4263,8 +4254,7 @@ impl MobileBroadbandModem { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMobileBroadbandModemStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMobileBroadbandModemStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4365,8 +4355,7 @@ impl MobileBroadbandModemIsolation { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(modemdeviceid), core::mem::transmute_copy(rulegroupid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMobileBroadbandModemIsolationFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMobileBroadbandModemIsolationFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5763,23 +5752,19 @@ impl NetworkOperatorTetheringManager { (windows_core::Interface::vtable(this).DisableNoConnectionsTimeoutAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn INetworkOperatorTetheringManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn INetworkOperatorTetheringManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn INetworkOperatorTetheringManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn INetworkOperatorTetheringManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn INetworkOperatorTetheringManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn INetworkOperatorTetheringManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn INetworkOperatorTetheringManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn INetworkOperatorTetheringManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -6019,8 +6004,7 @@ impl ProvisioningAgent { (windows_core::Interface::vtable(this).CreateFromNetworkAccountId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(networkaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IProvisioningAgentStaticMethods windows_core::Result>(callback: F) -> windows_core::Result { + fn IProvisioningAgentStaticMethods windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -6112,8 +6096,7 @@ impl UssdMessage { (windows_core::Interface::vtable(this).CreateMessage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(messagetext), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUssdMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IUssdMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -6191,8 +6174,7 @@ impl UssdSession { (windows_core::Interface::vtable(this).CreateFromNetworkInterfaceId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(networkinterfaceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUssdSessionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUssdSessionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs b/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs index 4ef07993fd..931cdb0ca5 100644 --- a/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs @@ -340,13 +340,11 @@ impl PeerFinder { (windows_core::Interface::vtable(this).CreateWatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPeerFinderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPeerFinderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPeerFinderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPeerFinderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -662,8 +660,7 @@ impl ProximityDevice { (windows_core::Interface::vtable(this).FromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IProximityDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IProximityDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs b/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs index b23cda31bb..827115b242 100644 --- a/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs @@ -248,23 +248,19 @@ impl PushNotificationChannelManager { pub fn RemoveChannelsRevoked(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IPushNotificationChannelManagerStatics4(|this| unsafe { (windows_core::Interface::vtable(this).RemoveChannelsRevoked)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn IPushNotificationChannelManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPushNotificationChannelManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPushNotificationChannelManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPushNotificationChannelManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPushNotificationChannelManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPushNotificationChannelManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPushNotificationChannelManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPushNotificationChannelManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs b/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs index 1cec6cf7cc..29601c5d07 100644 --- a/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs @@ -261,8 +261,7 @@ impl DnssdServiceInstance { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IDnssdServiceInstanceFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IDnssdServiceInstanceFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs index 2074c3a00c..eb0212fa05 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs @@ -1294,8 +1294,7 @@ impl ControlChannelTrigger { (windows_core::Interface::vtable(this).CreateControlChannelTriggerEx)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(channelid), serverkeepaliveintervalinminutes, resourcerequesttype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IControlChannelTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IControlChannelTriggerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1495,8 +1494,7 @@ impl DatagramSocket { (windows_core::Interface::vtable(this).GetEndpointPairsWithSortOptionsAsync)(windows_core::Interface::as_raw(this), remotehostname.param().abi(), core::mem::transmute_copy(remoteservicename), sortoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDatagramSocketStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDatagramSocketStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2356,8 +2354,7 @@ impl SocketActivityContext { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISocketActivityContextFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISocketActivityContextFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2435,8 +2432,7 @@ impl SocketActivityInformation { (windows_core::Interface::vtable(this).AllSockets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISocketActivityInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISocketActivityInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2493,8 +2489,7 @@ impl SocketError { (windows_core::Interface::vtable(this).GetStatus)(windows_core::Interface::as_raw(this), hresult, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn ISocketErrorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISocketErrorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2664,8 +2659,7 @@ impl StreamSocket { (windows_core::Interface::vtable(this).GetEndpointPairsWithSortOptionsAsync)(windows_core::Interface::as_raw(this), remotehostname.param().abi(), core::mem::transmute_copy(remoteservicename), sortoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStreamSocketStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStreamSocketStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3504,8 +3498,7 @@ impl WebSocketError { (windows_core::Interface::vtable(this).GetStatus)(windows_core::Interface::as_raw(this), hresult, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IWebSocketErrorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebSocketErrorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs index 0e17b00672..67ebecaba0 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs @@ -1265,8 +1265,7 @@ impl VpnAppId { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), r#type, core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVpnAppIdFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IVpnAppIdFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1605,8 +1604,7 @@ impl VpnChannel { { Self::IVpnChannelStatics(|this| unsafe { (windows_core::Interface::vtable(this).ProcessEventAsync)(windows_core::Interface::as_raw(this), thirdpartyplugin.param().abi(), event.param().abi()).ok() }) } - #[doc(hidden)] - pub fn IVpnChannelStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IVpnChannelStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2567,8 +2565,7 @@ impl VpnDomainNameInfo { (windows_core::Interface::vtable(this).CreateVpnDomainNameInfo)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), nametype, dnsserverlist.param().abi(), proxyserverlist.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVpnDomainNameInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IVpnDomainNameInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2700,8 +2697,7 @@ impl VpnInterfaceId { (windows_core::Interface::vtable(this).CreateVpnInterfaceId)(windows_core::Interface::as_raw(this), address.len().try_into().unwrap(), address.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVpnInterfaceIdFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IVpnInterfaceIdFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2941,8 +2937,7 @@ impl VpnNamespaceInfo { (windows_core::Interface::vtable(this).CreateVpnNamespaceInfo)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), dnsserverlist.param().abi(), proxyserverlist.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVpnNamespaceInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IVpnNamespaceInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3196,8 +3191,7 @@ impl VpnPacketBuffer { (windows_core::Interface::vtable(this).CreateVpnPacketBuffer)(windows_core::Interface::as_raw(this), parentbuffer.param().abi(), offset, length, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVpnPacketBufferFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IVpnPacketBufferFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3527,8 +3521,7 @@ impl VpnRoute { (windows_core::Interface::vtable(this).CreateVpnRoute)(windows_core::Interface::as_raw(this), address.param().abi(), prefixsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVpnRouteFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IVpnRouteFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3761,8 +3754,7 @@ impl VpnTrafficFilter { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), appid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVpnTrafficFilterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IVpnTrafficFilterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs b/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs index 151f9c3278..a6e8ffe451 100644 --- a/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs @@ -328,8 +328,7 @@ impl XboxLiveDeviceAddress { (windows_core::Interface::vtable(this).MaxSnapshotBytesSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IXboxLiveDeviceAddressStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IXboxLiveDeviceAddressStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -445,8 +444,7 @@ impl XboxLiveEndpointPair { (windows_core::Interface::vtable(this).FindEndpointPairByHostNamesAndPorts)(windows_core::Interface::as_raw(this), localhostname.param().abi(), core::mem::transmute_copy(localport), remotehostname.param().abi(), core::mem::transmute_copy(remoteport), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IXboxLiveEndpointPairStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IXboxLiveEndpointPairStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -663,8 +661,7 @@ impl XboxLiveEndpointPairTemplate { (windows_core::Interface::vtable(this).Templates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IXboxLiveEndpointPairTemplateStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IXboxLiveEndpointPairTemplateStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -889,8 +886,7 @@ impl XboxLiveQualityOfServiceMeasurement { (windows_core::Interface::vtable(this).MaxPrivatePayloadSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IXboxLiveQualityOfServiceMeasurementStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IXboxLiveQualityOfServiceMeasurementStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Networking/mod.rs b/crates/libs/windows/src/Windows/Networking/mod.rs index c62bf5ca81..bd48647f67 100644 --- a/crates/libs/windows/src/Windows/Networking/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/mod.rs @@ -141,8 +141,7 @@ impl EndpointPair { (windows_core::Interface::vtable(this).CreateEndpointPair)(windows_core::Interface::as_raw(this), localhostname.param().abi(), core::mem::transmute_copy(localservicename), remotehostname.param().abi(), core::mem::transmute_copy(remoteservicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IEndpointPairFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IEndpointPairFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -230,13 +229,11 @@ impl HostName { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHostNameFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHostNameFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHostNameStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHostNameStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs b/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs index 38a57c9f2b..1c40e72fbc 100644 --- a/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs @@ -15,8 +15,7 @@ impl CorePerceptionAutomation { { Self::ICorePerceptionAutomationStatics(|this| unsafe { (windows_core::Interface::vtable(this).SetActivationFactoryProvider)(windows_core::Interface::as_raw(this), provider.param().abi()).ok() }) } - #[doc(hidden)] - pub fn ICorePerceptionAutomationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICorePerceptionAutomationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Perception/People/mod.rs b/crates/libs/windows/src/Windows/Perception/People/mod.rs index deb9904cff..6c5ebf34d0 100644 --- a/crates/libs/windows/src/Windows/Perception/People/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/People/mod.rs @@ -145,8 +145,7 @@ impl EyesPose { (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IEyesPoseStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IEyesPoseStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs index a3c9c1d5f1..d48d31fb09 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs @@ -144,13 +144,11 @@ impl SpatialGraphInteropPreview { (windows_core::Interface::vtable(this).TryCreateFrameOfReferenceWithPositionAndOrientation)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), relativeposition, relativeorientation, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpatialGraphInteropPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialGraphInteropPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISpatialGraphInteropPreviewStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialGraphInteropPreviewStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs index eccfa9403e..0dc48a3d3f 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs @@ -392,8 +392,7 @@ impl SpatialSurfaceMeshOptions { (windows_core::Interface::vtable(this).SupportedVertexNormalFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpatialSurfaceMeshOptionsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialSurfaceMeshOptionsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -471,13 +470,11 @@ impl SpatialSurfaceObserver { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn ISpatialSurfaceObserverStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialSurfaceObserverStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISpatialSurfaceObserverStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialSurfaceObserverStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs index d3352cbd59..b278a04baa 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs @@ -514,8 +514,7 @@ impl SpatialAnchor { (windows_core::Interface::vtable(this).TryCreateWithPositionAndOrientationRelativeTo)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), position, orientation, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpatialAnchorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialAnchorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -610,8 +609,7 @@ impl SpatialAnchorExporter { (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpatialAnchorExporterStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialAnchorExporterStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -636,8 +634,7 @@ impl SpatialAnchorManager { (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpatialAnchorManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialAnchorManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -747,9 +744,8 @@ impl SpatialAnchorTransferManager { (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn ISpatialAnchorTransferManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialAnchorTransferManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -803,8 +799,7 @@ impl SpatialBoundingVolume { (windows_core::Interface::vtable(this).FromFrustum)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), frustum, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpatialBoundingVolumeStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialBoundingVolumeStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -897,8 +892,7 @@ impl SpatialEntity { (windows_core::Interface::vtable(this).CreateWithSpatialAnchorAndProperties)(windows_core::Interface::as_raw(this), spatialanchor.param().abi(), propertyset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpatialEntityFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialEntityFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1013,8 +1007,7 @@ impl SpatialEntityStore { (windows_core::Interface::vtable(this).TryGetForRemoteSystemSession)(windows_core::Interface::as_raw(this), session.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpatialEntityStoreStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialEntityStoreStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1346,8 +1339,7 @@ impl SpatialLocator { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpatialLocatorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialLocatorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1532,8 +1524,7 @@ impl SpatialStageFrameOfReference { (windows_core::Interface::vtable(this).RequestNewStageAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpatialStageFrameOfReferenceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialStageFrameOfReferenceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Perception/mod.rs b/crates/libs/windows/src/Windows/Perception/mod.rs index 8870be8d57..cc78c384ae 100644 --- a/crates/libs/windows/src/Windows/Perception/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/mod.rs @@ -94,13 +94,11 @@ impl PerceptionTimestampHelper { (windows_core::Interface::vtable(this).FromSystemRelativeTargetTime)(windows_core::Interface::as_raw(this), targettime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPerceptionTimestampHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPerceptionTimestampHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPerceptionTimestampHelperStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPerceptionTimestampHelperStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs b/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs index 33e244b53b..5152672574 100644 --- a/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs @@ -15,8 +15,7 @@ impl ApplicationProfile { (windows_core::Interface::vtable(this).Modes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IApplicationProfileStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationProfileStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs b/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs index 1853817ff5..3c184da3e9 100644 --- a/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs @@ -36,8 +36,7 @@ impl VibrationDevice { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVibrationDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IVibrationDeviceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs b/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs index eabe81050a..31c3eefd55 100644 --- a/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs @@ -58,8 +58,7 @@ impl Battery { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBatteryStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBatteryStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs b/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs index fb155ecf59..6fa98c776d 100644 --- a/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs @@ -198,8 +198,7 @@ impl EnterpriseEnrollmentManager { (windows_core::Interface::vtable(this).RequestUnenrollmentAsync)(windows_core::Interface::as_raw(this), enterprise.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IEnterpriseEnrollmentManager windows_core::Result>(callback: F) -> windows_core::Result { + fn IEnterpriseEnrollmentManager windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -304,13 +303,11 @@ impl InstallationManager { (windows_core::Interface::vtable(this).FindPackagesByNamePublisher)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagename), core::mem::transmute_copy(packagepublisher), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IInstallationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IInstallationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IInstallationManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IInstallationManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs index b8e7d65e8b..58a3021bca 100644 --- a/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs @@ -63,8 +63,7 @@ impl AudioRoutingManager { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAudioRoutingManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAudioRoutingManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs b/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs index af4388c8f2..1c8264e073 100644 --- a/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs @@ -736,18 +736,15 @@ impl AccessoryManager { pub fn DismissReminderByInstanceId(instanceid: &windows_core::HSTRING) -> windows_core::Result<()> { Self::IAccessoryManager3(|this| unsafe { (windows_core::Interface::vtable(this).DismissReminderByInstanceId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(instanceid)).ok() }) } - #[doc(hidden)] - pub fn IAccessoryManager windows_core::Result>(callback: F) -> windows_core::Result { + fn IAccessoryManager windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAccessoryManager2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAccessoryManager2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAccessoryManager3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAccessoryManager3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs index 11a45e2599..d71120b5ea 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs @@ -66,13 +66,11 @@ impl ContactPartnerProvisioningManager { (windows_core::Interface::vtable(this).AssociateSocialNetworkAccountAsync)(windows_core::Interface::as_raw(this), store.param().abi(), core::mem::transmute_copy(networkname), core::mem::transmute_copy(networkaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IContactPartnerProvisioningManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IContactPartnerProvisioningManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IContactPartnerProvisioningManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IContactPartnerProvisioningManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -103,8 +101,7 @@ impl MessagePartnerProvisioningManager { (windows_core::Interface::vtable(this).ImportMmsToSystemAsync)(windows_core::Interface::as_raw(this), incoming, read, core::mem::transmute_copy(subject), core::mem::transmute_copy(sender), recipients.param().abi(), deliverytime, attachments.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMessagePartnerProvisioningManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMessagePartnerProvisioningManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs index 463a22da25..f33f0b3da7 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs @@ -632,8 +632,7 @@ impl ContactInformation { (windows_core::Interface::vtable(this).ParseVcardAsync)(windows_core::Interface::as_raw(this), vcard.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IContactInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IContactInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -845,8 +844,7 @@ impl ContactStore { (windows_core::Interface::vtable(this).CreateOrOpenWithOptionsAsync)(windows_core::Interface::as_raw(this), access, sharing, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IContactStoreStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IContactStoreStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1075,8 +1073,7 @@ impl KnownContactProperties { (windows_core::Interface::vtable(this).AlternateWorkTelephone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKnownContactPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownContactPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1273,8 +1270,7 @@ impl StoredContact { (windows_core::Interface::vtable(this).CreateStoredContactFromInformation)(windows_core::Interface::as_raw(this), store.param().abi(), contact.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStoredContactFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IStoredContactFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs index 67ff42703a..93cfd3dbce 100644 --- a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs @@ -180,8 +180,7 @@ impl DualSimTile { (windows_core::Interface::vtable(this).CreateToastNotifierForSim2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDualSimTileStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDualSimTileStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs b/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs index 4c47f490a7..5378aa2be5 100644 --- a/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs @@ -44,13 +44,11 @@ impl PowerManager { (windows_core::Interface::vtable(this).PowerSavingModeEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IPowerManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPowerManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPowerManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPowerManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs b/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs index 679cd7749d..8e5fa3780a 100644 --- a/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs @@ -24,9 +24,8 @@ impl RetailMode { (windows_core::Interface::vtable(this).RetailModeEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IRetailModeStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRetailModeStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs b/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs index df64507c06..70ed8337db 100644 --- a/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs @@ -96,13 +96,11 @@ impl GameService { (windows_core::Interface::vtable(this).GetAuthenticationStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IGameService windows_core::Result>(callback: F) -> windows_core::Result { + fn IGameService windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGameService2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGameService2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Phone/System/mod.rs b/crates/libs/windows/src/Windows/Phone/System/mod.rs index 32b85d5f17..6971bbb906 100644 --- a/crates/libs/windows/src/Windows/Phone/System/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/mod.rs @@ -33,13 +33,11 @@ impl SystemProtection { pub fn RequestScreenUnlock() -> windows_core::Result<()> { Self::ISystemProtectionUnlockStatics(|this| unsafe { (windows_core::Interface::vtable(this).RequestScreenUnlock)(windows_core::Interface::as_raw(this)).ok() }) } - #[doc(hidden)] - pub fn ISystemProtectionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemProtectionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISystemProtectionUnlockStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemProtectionUnlockStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs b/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs index bf837f1f8c..1ffc82f50a 100644 --- a/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs @@ -136,13 +136,11 @@ impl HardwareButtons { pub fn RemoveCameraReleased(token: super::super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IHardwareButtonsStatics2(|this| unsafe { (windows_core::Interface::vtable(this).RemoveCameraReleased)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn IHardwareButtonsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHardwareButtonsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHardwareButtonsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IHardwareButtonsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs index ac9a8dad60..a9c31c6dcd 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs @@ -183,8 +183,7 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMicrosoftAccountMultiFactorAuthenticatorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMicrosoftAccountMultiFactorAuthenticatorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs index b97180d18f..0993f7a1b0 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs @@ -106,8 +106,7 @@ impl EnterpriseKeyCredentialRegistrationManager { (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IEnterpriseKeyCredentialRegistrationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IEnterpriseKeyCredentialRegistrationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs index d1cee897ff..f6f7d97242 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs @@ -263,8 +263,7 @@ impl OnlineIdServiceTicketRequest { (windows_core::Interface::vtable(this).CreateOnlineIdServiceTicketRequestAdvanced)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(service), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IOnlineIdServiceTicketRequestFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IOnlineIdServiceTicketRequestFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -299,8 +298,7 @@ impl OnlineIdSystemAuthenticator { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IOnlineIdSystemAuthenticatorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IOnlineIdSystemAuthenticatorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs index e824bf016d..98f2c87844 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs @@ -538,23 +538,19 @@ impl WebAuthenticationCoreManager { (windows_core::Interface::vtable(this).FindSystemAccountProviderWithAuthorityForUserAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(webaccountproviderid), core::mem::transmute_copy(authority), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebAuthenticationCoreManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAuthenticationCoreManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IWebAuthenticationCoreManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAuthenticationCoreManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IWebAuthenticationCoreManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAuthenticationCoreManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IWebAuthenticationCoreManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAuthenticationCoreManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -595,8 +591,7 @@ impl WebProviderError { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), errorcode, core::mem::transmute_copy(errormessage), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebProviderErrorFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebProviderErrorFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -714,8 +709,7 @@ impl WebTokenRequest { (windows_core::Interface::vtable(this).CreateWithScope)(windows_core::Interface::as_raw(this), provider.param().abi(), core::mem::transmute_copy(scope), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebTokenRequestFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebTokenRequestFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -848,8 +842,7 @@ impl WebTokenResponse { (windows_core::Interface::vtable(this).CreateWithTokenAccountAndError)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), webaccount.param().abi(), error.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebTokenResponseFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebTokenResponseFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs index 0871590a6c..72cf8f4b19 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs @@ -595,8 +595,7 @@ impl WebAccountClientView { (windows_core::Interface::vtable(this).CreateWithPairwiseId)(windows_core::Interface::as_raw(this), viewtype, applicationcallbackuri.param().abi(), core::mem::transmute_copy(accountpairwiseid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebAccountClientViewFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAccountClientViewFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -852,33 +851,27 @@ impl WebAccountManager { (windows_core::Interface::vtable(this).GetScope)(windows_core::Interface::as_raw(this), webaccount.param().abi(), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IWebAccountManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAccountManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IWebAccountManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAccountManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IWebAccountManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAccountManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IWebAccountManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAccountManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IWebAccountMapManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAccountMapManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IWebAccountScopeManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAccountScopeManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1426,8 +1419,7 @@ impl WebProviderTokenResponse { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), webtokenresponse.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebProviderTokenResponseFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebProviderTokenResponseFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs index 4deb309e31..94ae60ff61 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs @@ -107,13 +107,11 @@ impl WebAuthenticationBroker { (windows_core::Interface::vtable(this).AuthenticateSilentlyWithOptionsAsync)(windows_core::Interface::as_raw(this), requesturi.param().abi(), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebAuthenticationBrokerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAuthenticationBrokerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IWebAuthenticationBrokerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAuthenticationBrokerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs b/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs index 7986bdb086..e5f5ea1433 100644 --- a/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs @@ -150,8 +150,7 @@ impl AppCapability { (windows_core::Interface::vtable(this).CreateWithProcessIdForUser)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(capabilityname), pid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppCapabilityStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppCapabilityStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs index fd80a6c3b3..0dd52af2a1 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs @@ -94,8 +94,7 @@ impl CredentialPicker { (windows_core::Interface::vtable(this).PickWithCaptionAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(targetname), core::mem::transmute_copy(message), core::mem::transmute_copy(caption), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICredentialPickerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICredentialPickerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -321,8 +320,7 @@ impl UserConsentVerifier { (windows_core::Interface::vtable(this).RequestVerificationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(message), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUserConsentVerifierStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserConsentVerifierStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs index 9724aef734..1a12ed9a91 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs @@ -381,8 +381,7 @@ impl KeyCredentialManager { (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKeyCredentialManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKeyCredentialManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -518,8 +517,7 @@ impl PasswordCredential { (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn ICredentialFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICredentialFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -806,8 +804,7 @@ impl WebAccount { (windows_core::Interface::vtable(this).CreateWebAccount)(windows_core::Interface::as_raw(this), webaccountprovider.param().abi(), core::mem::transmute_copy(username), state, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebAccountFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAccountFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -889,8 +886,7 @@ impl WebAccountProvider { (windows_core::Interface::vtable(this).CreateWebAccountProvider)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), core::mem::transmute_copy(displayname), iconuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebAccountProviderFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAccountProviderFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs index 6c52e77e0d..1aa60db75c 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs @@ -852,8 +852,7 @@ impl Certificate { (windows_core::Interface::vtable(this).CreateCertificate)(windows_core::Interface::as_raw(this), certblob.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICertificateFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICertificateFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -957,18 +956,15 @@ impl CertificateEnrollmentManager { (windows_core::Interface::vtable(this).ImportPfxDataToKspWithParametersAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(pfxdata), core::mem::transmute_copy(password), pfximportparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICertificateEnrollmentManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICertificateEnrollmentManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICertificateEnrollmentManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICertificateEnrollmentManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICertificateEnrollmentManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICertificateEnrollmentManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1584,13 +1580,11 @@ impl CertificateStores { (windows_core::Interface::vtable(this).GetUserStoreByName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(storename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICertificateStoresStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICertificateStoresStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICertificateStoresStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICertificateStoresStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1803,13 +1797,11 @@ impl CmsAttachedSignature { (windows_core::Interface::vtable(this).GenerateSignatureAsync)(windows_core::Interface::as_raw(this), data.param().abi(), signers.param().abi(), certificates.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICmsAttachedSignatureFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICmsAttachedSignatureFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICmsAttachedSignatureStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICmsAttachedSignatureStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1880,13 +1872,11 @@ impl CmsDetachedSignature { (windows_core::Interface::vtable(this).GenerateSignatureAsync)(windows_core::Interface::as_raw(this), data.param().abi(), signers.param().abi(), certificates.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICmsDetachedSignatureFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICmsDetachedSignatureFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICmsDetachedSignatureStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICmsDetachedSignatureStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2062,13 +2052,11 @@ impl KeyAlgorithmNames { (windows_core::Interface::vtable(this).Ecdh)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKeyAlgorithmNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKeyAlgorithmNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IKeyAlgorithmNamesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IKeyAlgorithmNamesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2096,13 +2084,11 @@ impl KeyAttestationHelper { (windows_core::Interface::vtable(this).DecryptTpmAttestationCredentialWithContainerNameAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(credential), core::mem::transmute_copy(containername), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKeyAttestationHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKeyAttestationHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IKeyAttestationHelperStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IKeyAttestationHelperStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2136,13 +2122,11 @@ impl KeyStorageProviderNames { (windows_core::Interface::vtable(this).PassportKeyStorageProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKeyStorageProviderNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKeyStorageProviderNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IKeyStorageProviderNamesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IKeyStorageProviderNamesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2272,8 +2256,7 @@ impl StandardCertificateStoreNames { (windows_core::Interface::vtable(this).IntermediateCertificationAuthorities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStandardCertificateStoreNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStandardCertificateStoreNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs index f814221901..2d62a34ac2 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs @@ -652,13 +652,11 @@ impl AsymmetricAlgorithmNames { (windows_core::Interface::vtable(this).EcdsaSha512)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAsymmetricAlgorithmNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAsymmetricAlgorithmNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAsymmetricAlgorithmNamesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAsymmetricAlgorithmNamesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -749,8 +747,7 @@ impl AsymmetricKeyAlgorithmProvider { (windows_core::Interface::vtable(this).OpenAlgorithm)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(algorithm), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAsymmetricKeyAlgorithmProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAsymmetricKeyAlgorithmProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -911,13 +908,11 @@ impl CryptographicEngine { (windows_core::Interface::vtable(this).SignHashedDataAsync)(windows_core::Interface::as_raw(this), key.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICryptographicEngineStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICryptographicEngineStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICryptographicEngineStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICryptographicEngineStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1295,8 +1290,7 @@ impl EccCurveNames { (windows_core::Interface::vtable(this).AllEccCurveNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IEccCurveNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IEccCurveNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1370,8 +1364,7 @@ impl HashAlgorithmNames { (windows_core::Interface::vtable(this).Sha512)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IHashAlgorithmNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHashAlgorithmNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1422,8 +1415,7 @@ impl HashAlgorithmProvider { (windows_core::Interface::vtable(this).OpenAlgorithm)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(algorithm), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IHashAlgorithmProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHashAlgorithmProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1562,13 +1554,11 @@ impl KeyDerivationAlgorithmNames { (windows_core::Interface::vtable(this).CapiKdfSha512)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKeyDerivationAlgorithmNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKeyDerivationAlgorithmNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IKeyDerivationAlgorithmNamesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IKeyDerivationAlgorithmNamesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1605,8 +1595,7 @@ impl KeyDerivationAlgorithmProvider { (windows_core::Interface::vtable(this).OpenAlgorithm)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(algorithm), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKeyDerivationAlgorithmProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKeyDerivationAlgorithmProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1703,13 +1692,11 @@ impl KeyDerivationParameters { (windows_core::Interface::vtable(this).BuildForCapi1Kdf)(windows_core::Interface::as_raw(this), capi1kdftargetalgorithm, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKeyDerivationParametersStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKeyDerivationParametersStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IKeyDerivationParametersStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IKeyDerivationParametersStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1764,8 +1751,7 @@ impl MacAlgorithmNames { (windows_core::Interface::vtable(this).AesCmac)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMacAlgorithmNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMacAlgorithmNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1820,8 +1806,7 @@ impl MacAlgorithmProvider { (windows_core::Interface::vtable(this).OpenAlgorithm)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(algorithm), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMacAlgorithmProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMacAlgorithmProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1860,8 +1845,7 @@ impl PersistedKeyProvider { (windows_core::Interface::vtable(this).OpenPublicKeyFromCertificate)(windows_core::Interface::as_raw(this), certificate.param().abi(), core::mem::transmute_copy(hashalgorithmname), padding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPersistedKeyProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPersistedKeyProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1985,8 +1969,7 @@ impl SymmetricAlgorithmNames { (windows_core::Interface::vtable(this).Rc4)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISymmetricAlgorithmNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISymmetricAlgorithmNamesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2030,8 +2013,7 @@ impl SymmetricKeyAlgorithmProvider { (windows_core::Interface::vtable(this).OpenAlgorithm)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(algorithm), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISymmetricKeyAlgorithmProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISymmetricKeyAlgorithmProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs index 03d5c75f72..6608bf5575 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs @@ -95,8 +95,7 @@ impl DataProtectionProvider { (windows_core::Interface::vtable(this).CreateOverloadExplicit)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(protectiondescriptor), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDataProtectionProviderFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IDataProtectionProviderFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs index 255e7d04b5..fcf0dca41a 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs @@ -144,8 +144,7 @@ impl CryptographicBuffer { (windows_core::Interface::vtable(this).ConvertBinaryToString)(windows_core::Interface::as_raw(this), encoding, buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICryptographicBufferStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICryptographicBufferStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs b/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs index 59d68088f6..e324512a51 100644 --- a/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs @@ -213,8 +213,7 @@ impl UserDataProtectionManager { (windows_core::Interface::vtable(this).TryGetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUserDataProtectionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserDataProtectionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs index e2dfa341d1..2e0a306a1c 100644 --- a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs @@ -548,8 +548,7 @@ impl DataProtectionManager { (windows_core::Interface::vtable(this).GetStreamProtectionInfoAsync)(windows_core::Interface::as_raw(this), protectedstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDataProtectionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDataProtectionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -730,18 +729,15 @@ impl FileProtectionManager { (windows_core::Interface::vtable(this).UnprotectWithOptionsAsync)(windows_core::Interface::as_raw(this), target.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IFileProtectionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IFileProtectionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IFileProtectionManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IFileProtectionManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IFileProtectionManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IFileProtectionManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -788,9 +784,8 @@ impl FileRevocationManager { (windows_core::Interface::vtable(this).GetStatusAsync)(windows_core::Interface::as_raw(this), storageitem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IFileRevocationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IFileRevocationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -821,8 +816,7 @@ impl FileUnprotectOptions { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), audit, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IFileUnprotectOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IFileUnprotectOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1099,8 +1093,7 @@ impl ProtectionPolicyAuditInfo { (windows_core::Interface::vtable(this).CreateWithActionAndDataDescription)(windows_core::Interface::as_raw(this), action, core::mem::transmute_copy(datadescription), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IProtectionPolicyAuditInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IProtectionPolicyAuditInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1428,23 +1421,19 @@ impl ProtectionPolicyManager { (windows_core::Interface::vtable(this).GetPrimaryManagedIdentityForIdentity)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identity), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IProtectionPolicyManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IProtectionPolicyManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IProtectionPolicyManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IProtectionPolicyManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IProtectionPolicyManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IProtectionPolicyManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IProtectionPolicyManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IProtectionPolicyManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs index df5acd1c29..326d8a53c5 100644 --- a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs @@ -908,9 +908,8 @@ impl IsolatedWindowsEnvironment { (windows_core::Interface::vtable(this).FindByOwnerId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(environmentownerid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IIsolatedWindowsEnvironmentFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IIsolatedWindowsEnvironmentFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1068,9 +1067,8 @@ impl IsolatedWindowsEnvironmentHost { (windows_core::Interface::vtable(this).HostErrors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IIsolatedWindowsEnvironmentHostStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IIsolatedWindowsEnvironmentHostStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1344,9 +1342,8 @@ impl IsolatedWindowsEnvironmentOwnerRegistration { pub fn Unregister(ownername: &windows_core::HSTRING) -> windows_core::Result<()> { Self::IIsolatedWindowsEnvironmentOwnerRegistrationStatics(|this| unsafe { (windows_core::Interface::vtable(this).Unregister)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(ownername)).ok() }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IIsolatedWindowsEnvironmentOwnerRegistrationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IIsolatedWindowsEnvironmentOwnerRegistrationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1931,15 +1928,13 @@ impl IsolatedWindowsHostMessenger { pub fn UnregisterHostMessageReceiver(receiverid: windows_core::GUID) -> windows_core::Result<()> { Self::IIsolatedWindowsHostMessengerStatics2(|this| unsafe { (windows_core::Interface::vtable(this).UnregisterHostMessageReceiver)(windows_core::Interface::as_raw(this), receiverid).ok() }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IIsolatedWindowsHostMessengerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IIsolatedWindowsHostMessengerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IIsolatedWindowsHostMessengerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IIsolatedWindowsHostMessengerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs index 4a597fe71e..1ebc918751 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs @@ -724,13 +724,11 @@ impl GuidanceNavigator { (windows_core::Interface::vtable(this).UseAppProvidedVoice)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IGuidanceNavigatorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGuidanceNavigatorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGuidanceNavigatorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGuidanceNavigatorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -993,8 +991,7 @@ impl GuidanceRoute { (windows_core::Interface::vtable(this).TryCreateFromMapRoute)(windows_core::Interface::as_raw(this), maproute.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGuidanceRouteStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGuidanceRouteStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1059,8 +1056,7 @@ impl GuidanceTelemetryCollector { (windows_core::Interface::vtable(this).GetCurrent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGuidanceTelemetryCollectorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGuidanceTelemetryCollectorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs index 9b757c95ec..bbc500aad9 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs @@ -155,8 +155,7 @@ impl LocalCategories { (windows_core::Interface::vtable(this).Shop)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILocalCategoriesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILocalCategoriesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -266,8 +265,7 @@ impl LocalLocationFinder { (windows_core::Interface::vtable(this).FindLocalLocationsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(searchterm), searcharea.param().abi(), core::mem::transmute_copy(localcategory), maxresults, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILocalLocationFinderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILocalLocationFinderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -398,8 +396,7 @@ impl PlaceInfoHelper { (windows_core::Interface::vtable(this).CreateFromLocalLocation)(windows_core::Interface::as_raw(this), location.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPlaceInfoHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlaceInfoHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs index f742a566ca..61ce9b3ff4 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs @@ -139,8 +139,7 @@ impl OfflineMapPackage { (windows_core::Interface::vtable(this).FindPackagesInGeocircleAsync)(windows_core::Interface::as_raw(this), querycircle.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IOfflineMapPackageStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IOfflineMapPackageStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Services/Maps/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/mod.rs index 2d1c10919a..c2a09eb137 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/mod.rs @@ -522,8 +522,7 @@ impl EnhancedWaypoint { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), point.param().abi(), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IEnhancedWaypointFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IEnhancedWaypointFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -791,13 +790,11 @@ impl MapLocationFinder { (windows_core::Interface::vtable(this).FindLocationsAtWithAccuracyAsync)(windows_core::Interface::as_raw(this), querypoint.param().abi(), accuracy, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMapLocationFinderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMapLocationFinderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMapLocationFinderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMapLocationFinderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -846,8 +843,7 @@ impl MapManager { pub fn ShowMapsUpdateUI() -> windows_core::Result<()> { Self::IMapManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).ShowMapsUpdateUI)(windows_core::Interface::as_raw(this)).ok() }) } - #[doc(hidden)] - pub fn IMapManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMapManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1179,18 +1175,15 @@ impl MapRouteFinder { (windows_core::Interface::vtable(this).GetDrivingRouteFromEnhancedWaypointsWithOptionsAsync)(windows_core::Interface::as_raw(this), waypoints.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMapRouteFinderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMapRouteFinderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMapRouteFinderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMapRouteFinderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMapRouteFinderStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMapRouteFinderStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1430,23 +1423,19 @@ impl MapService { (windows_core::Interface::vtable(this).DataUsagePreference)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IMapServiceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMapServiceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMapServiceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMapServiceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMapServiceStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMapServiceStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMapServiceStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMapServiceStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1562,13 +1551,11 @@ impl PlaceInfo { (windows_core::Interface::vtable(this).CreateFromAddressWithName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displayaddress), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPlaceInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlaceInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IPlaceInfoStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlaceInfoStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Services/Store/mod.rs b/crates/libs/windows/src/Windows/Services/Store/mod.rs index fa9703151d..7039536252 100644 --- a/crates/libs/windows/src/Windows/Services/Store/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Store/mod.rs @@ -1410,8 +1410,7 @@ impl StoreContext { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStoreContextStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStoreContextStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2117,8 +2116,7 @@ impl StorePurchaseProperties { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStorePurchasePropertiesFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorePurchasePropertiesFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2390,8 +2388,7 @@ impl StoreRequestHelper { (windows_core::Interface::vtable(this).SendRequestAsync)(windows_core::Interface::as_raw(this), context.param().abi(), requestkind, core::mem::transmute_copy(parametersasjson), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStoreRequestHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStoreRequestHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs index 0bbb1dc234..498dac0b62 100644 --- a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs +++ b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs @@ -419,8 +419,7 @@ impl TargetedContentContainer { (windows_core::Interface::vtable(this).GetAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contentid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITargetedContentContainerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITargetedContentContainerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -745,8 +744,7 @@ impl TargetedContentSubscription { (windows_core::Interface::vtable(this).GetOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(subscriptionid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITargetedContentSubscriptionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITargetedContentSubscriptionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs index 6f5589664b..69191a41bb 100644 --- a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs @@ -345,13 +345,11 @@ impl StorageApplicationPermissions { (windows_core::Interface::vtable(this).GetMostRecentlyUsedListForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStorageApplicationPermissionsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageApplicationPermissionsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IStorageApplicationPermissionsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageApplicationPermissionsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs index b2e7bdca02..1356d6a8a9 100644 --- a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs @@ -681,8 +681,7 @@ impl FileInformationFactory { (windows_core::Interface::vtable(this).CreateWithModeAndSizeAndOptionsAndFlags)(windows_core::Interface::as_raw(this), queryresult.param().abi(), mode, requestedthumbnailsize, thumbnailoptions, delayload, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IFileInformationFactoryFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IFileInformationFactoryFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Storage/Compression/mod.rs b/crates/libs/windows/src/Windows/Storage/Compression/mod.rs index 89e5c8fd0f..f198ee3d3f 100644 --- a/crates/libs/windows/src/Windows/Storage/Compression/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Compression/mod.rs @@ -116,8 +116,7 @@ impl Compressor { (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn ICompressorFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICompressorFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -174,8 +173,7 @@ impl Decompressor { (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IDecompressorFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IDecompressorFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs index fa700eb9a3..a5782aa4a7 100644 --- a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs @@ -433,8 +433,7 @@ impl GeotagHelper { (windows_core::Interface::vtable(this).SetGeotagAsync)(windows_core::Interface::as_raw(this), file.param().abi(), geopoint.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGeotagHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGeotagHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs index b3648ff431..934d203652 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs @@ -482,13 +482,11 @@ impl FileOpenPicker { (windows_core::Interface::vtable(this).PickSingleFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(pickeroperationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IFileOpenPickerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IFileOpenPickerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IFileOpenPickerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IFileOpenPickerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -835,8 +833,7 @@ impl FileSavePicker { (windows_core::Interface::vtable(this).CreateForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IFileSavePickerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IFileSavePickerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -955,8 +952,7 @@ impl FolderPicker { (windows_core::Interface::vtable(this).CreateForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IFolderPickerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IFolderPickerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs index da37fa4425..a6633be75d 100644 --- a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs @@ -639,8 +639,7 @@ impl CachedFileUpdater { { Self::ICachedFileUpdaterStatics(|this| unsafe { (windows_core::Interface::vtable(this).SetUpdateInformation)(windows_core::Interface::as_raw(this), file.param().abi(), core::mem::transmute_copy(contentid), readmode, writemode, options).ok() }) } - #[doc(hidden)] - pub fn ICachedFileUpdaterStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICachedFileUpdaterStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -865,8 +864,7 @@ impl StorageProviderFileTypeInfo { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(fileextension), core::mem::transmute_copy(iconresource), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStorageProviderFileTypeInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageProviderFileTypeInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1001,8 +999,7 @@ impl StorageProviderItemProperties { (windows_core::Interface::vtable(this).SetAsync)(windows_core::Interface::as_raw(this), item.param().abi(), itemproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStorageProviderItemPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageProviderItemPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1777,13 +1774,11 @@ impl StorageProviderSyncRootManager { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IStorageProviderSyncRootManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageProviderSyncRootManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IStorageProviderSyncRootManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageProviderSyncRootManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Storage/Search/mod.rs b/crates/libs/windows/src/Windows/Storage/Search/mod.rs index 5e393b9386..c455350bb7 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/mod.rs @@ -701,8 +701,7 @@ impl ContentIndexer { (windows_core::Interface::vtable(this).GetIndexer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IContentIndexerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IContentIndexerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -999,8 +998,7 @@ impl QueryOptions { (windows_core::Interface::vtable(this).StorageProviderIdFilter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IQueryOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IQueryOptionsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs index 0784a50a14..c82b074584 100644 --- a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs @@ -999,13 +999,11 @@ impl Buffer { (windows_core::Interface::vtable(this).CreateMemoryBufferOverIBuffer)(windows_core::Interface::as_raw(this), input.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBufferFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IBufferFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBufferStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBufferStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1220,13 +1218,11 @@ impl DataReader { (windows_core::Interface::vtable(this).FromBuffer)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDataReaderFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IDataReaderFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IDataReaderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDataReaderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1411,8 +1407,7 @@ impl DataWriter { (windows_core::Interface::vtable(this).CreateDataWriter)(windows_core::Interface::as_raw(this), outputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDataWriterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IDataWriterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1661,8 +1656,7 @@ impl FileRandomAccessStream { (windows_core::Interface::vtable(this).CanWrite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } - #[doc(hidden)] - pub fn IFileRandomAccessStreamStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IFileRandomAccessStreamStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1898,8 +1892,7 @@ impl RandomAccessStream { (windows_core::Interface::vtable(this).CopyAndCloseAsync)(windows_core::Interface::as_raw(this), source.param().abi(), destination.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRandomAccessStreamStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRandomAccessStreamStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2053,8 +2046,7 @@ impl RandomAccessStreamReference { (windows_core::Interface::vtable(this).CreateFromStream)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRandomAccessStreamReferenceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRandomAccessStreamReferenceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Storage/mod.rs b/crates/libs/windows/src/Windows/Storage/mod.rs index 870a660e83..63aa12a3b4 100644 --- a/crates/libs/windows/src/Windows/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/mod.rs @@ -1892,8 +1892,7 @@ impl AppDataPaths { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppDataPathsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppDataPathsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2055,13 +2054,11 @@ impl ApplicationData { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).Close)(windows_core::Interface::as_raw(this)).ok() } } - #[doc(hidden)] - pub fn IApplicationDataStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationDataStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IApplicationDataStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationDataStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2409,8 +2406,7 @@ impl CachedFileManager { (windows_core::Interface::vtable(this).CompleteUpdatesAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICachedFileManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICachedFileManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2484,13 +2480,11 @@ impl DownloadsFolder { (windows_core::Interface::vtable(this).CreateFolderForUserWithCollisionOptionAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(desiredname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDownloadsFolderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDownloadsFolderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IDownloadsFolderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IDownloadsFolderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2651,8 +2645,7 @@ impl FileIO { (windows_core::Interface::vtable(this).WriteBytesAsync)(windows_core::Interface::as_raw(this), file.param().abi(), buffer.len().try_into().unwrap(), buffer.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IFileIOStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IFileIOStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2772,38 +2765,31 @@ impl KnownFolders { (windows_core::Interface::vtable(this).GetFolderAsync)(windows_core::Interface::as_raw(this), folderid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKnownFoldersCameraRollStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownFoldersCameraRollStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IKnownFoldersPlaylistsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownFoldersPlaylistsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IKnownFoldersSavedPicturesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownFoldersSavedPicturesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IKnownFoldersStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownFoldersStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IKnownFoldersStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownFoldersStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IKnownFoldersStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownFoldersStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IKnownFoldersStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownFoldersStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2929,8 +2915,7 @@ impl PathIO { (windows_core::Interface::vtable(this).WriteBytesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), buffer.len().try_into().unwrap(), buffer.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPathIOStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPathIOStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3396,13 +3381,11 @@ impl StorageFile { (windows_core::Interface::vtable(this).Provider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IStorageFileStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageFileStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IStorageFileStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageFileStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3847,13 +3830,11 @@ impl StorageFolder { (windows_core::Interface::vtable(this).Provider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IStorageFolderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageFolderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IStorageFolderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageFolderStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3949,13 +3930,11 @@ impl StorageLibrary { (windows_core::Interface::vtable(this).GetLibraryForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), libraryid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStorageLibraryStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageLibraryStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IStorageLibraryStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageLibraryStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4154,8 +4133,7 @@ impl StorageLibraryLastChangeId { (windows_core::Interface::vtable(this).Unknown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IStorageLibraryLastChangeIdStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStorageLibraryLastChangeIdStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4444,8 +4422,7 @@ impl SystemDataPaths { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISystemDataPathsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemDataPathsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4793,8 +4770,7 @@ impl SystemProperties { (windows_core::Interface::vtable(this).Image)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISystemProperties windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemProperties windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -5009,8 +4985,7 @@ impl UserDataPaths { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUserDataPathsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserDataPathsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs index 248a5ccaf9..e844d1fbf1 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs @@ -187,8 +187,7 @@ impl DevicePortalConnection { (windows_core::Interface::vtable(this).GetServerStreamWebSocketForRequest2)(windows_core::Interface::as_raw(this), request.param().abi(), core::mem::transmute_copy(protocol), outboundbuffersizeinbytes, nodelay, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IDevicePortalConnectionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDevicePortalConnectionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs index 74a08d0776..0d6a636660 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs @@ -46,8 +46,7 @@ impl PlatformTelemetryClient { (windows_core::Interface::vtable(this).RegisterWithSettings)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPlatformTelemetryClientStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlatformTelemetryClientStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs index 1a565761c7..3dc8a4ed23 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs @@ -103,8 +103,7 @@ impl PlatformDiagnosticActions { (windows_core::Interface::vtable(this).GetKnownTraceList)(windows_core::Interface::as_raw(this), slottype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPlatformDiagnosticActionsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlatformDiagnosticActionsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs index 31916658b6..d93cac79c7 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs @@ -316,8 +316,7 @@ impl DiagnosticInvoker { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IDiagnosticInvokerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDiagnosticInvokerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -479,13 +478,11 @@ impl ProcessDiagnosticInfo { (windows_core::Interface::vtable(this).TryGetForProcessId)(windows_core::Interface::as_raw(this), processid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IProcessDiagnosticInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IProcessDiagnosticInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IProcessDiagnosticInfoStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IProcessDiagnosticInfoStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -815,13 +812,11 @@ impl SystemDiagnosticInfo { (windows_core::Interface::vtable(this).PreferredArchitecture)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn ISystemDiagnosticInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemDiagnosticInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISystemDiagnosticInfoStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemDiagnosticInfoStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs index c834dd653e..14af187c7e 100644 --- a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs +++ b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs @@ -132,8 +132,7 @@ impl SysStorageProviderEventReceivedEventArgs { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(json), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISysStorageProviderEventReceivedEventArgsFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISysStorageProviderEventReceivedEventArgsFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/Inventory/mod.rs b/crates/libs/windows/src/Windows/System/Inventory/mod.rs index e9660d9622..761c8f8442 100644 --- a/crates/libs/windows/src/Windows/System/Inventory/mod.rs +++ b/crates/libs/windows/src/Windows/System/Inventory/mod.rs @@ -70,8 +70,7 @@ impl InstalledDesktopApp { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IInstalledDesktopAppStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IInstalledDesktopAppStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/Power/mod.rs b/crates/libs/windows/src/Windows/System/Power/mod.rs index 54b1f43df9..87e874546f 100644 --- a/crates/libs/windows/src/Windows/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/System/Power/mod.rs @@ -219,9 +219,8 @@ impl BackgroundEnergyManager { pub fn RemoveRecentEnergyUsageReturnedToLow(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IBackgroundEnergyManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveRecentEnergyUsageReturnedToLow)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IBackgroundEnergyManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBackgroundEnergyManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -304,9 +303,8 @@ impl ForegroundEnergyManager { pub fn RemoveRecentEnergyUsageReturnedToLow(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IForegroundEnergyManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveRecentEnergyUsageReturnedToLow)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IForegroundEnergyManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IForegroundEnergyManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -407,8 +405,7 @@ impl PowerManager { pub fn RemoveRemainingDischargeTimeChanged(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IPowerManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveRemainingDischargeTimeChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn IPowerManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPowerManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs b/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs index 5d916de7c2..dd624f0825 100644 --- a/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs +++ b/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs @@ -99,8 +99,7 @@ impl SmbiosInformation { (windows_core::Interface::vtable(this).SerialNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISmbiosInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmbiosInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -195,13 +194,11 @@ impl SystemSupportInfo { (windows_core::Interface::vtable(this).LocalDeviceInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISystemSupportInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemSupportInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISystemSupportInfoStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemSupportInfoStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/Profile/mod.rs b/crates/libs/windows/src/Windows/System/Profile/mod.rs index afb8731a43..6f6a3b0655 100644 --- a/crates/libs/windows/src/Windows/System/Profile/mod.rs +++ b/crates/libs/windows/src/Windows/System/Profile/mod.rs @@ -269,13 +269,11 @@ impl AnalyticsInfo { (windows_core::Interface::vtable(this).GetSystemPropertiesAsync)(windows_core::Interface::as_raw(this), attributenames.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAnalyticsInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAnalyticsInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAnalyticsInfoStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAnalyticsInfoStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -334,8 +332,7 @@ impl AppApplicability { (windows_core::Interface::vtable(this).GetUnsupportedAppRequirements)(windows_core::Interface::as_raw(this), capabilities.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppApplicabilityStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppApplicabilityStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -351,8 +348,7 @@ impl EducationSettings { (windows_core::Interface::vtable(this).IsEducationEnvironment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IEducationSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IEducationSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -372,8 +368,7 @@ impl HardwareIdentification { (windows_core::Interface::vtable(this).GetPackageSpecificToken)(windows_core::Interface::as_raw(this), nonce.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IHardwareIdentificationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHardwareIdentificationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -557,8 +552,7 @@ impl KnownRetailInfoProperties { (windows_core::Interface::vtable(this).WindowsEdition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKnownRetailInfoPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownRetailInfoPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -574,8 +568,7 @@ impl PlatformAutomaticAppSignInManager { (windows_core::Interface::vtable(this).Policy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IPlatformAutomaticAppSignInManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlatformAutomaticAppSignInManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -609,8 +602,7 @@ impl PlatformDiagnosticsAndUsageDataSettings { (windows_core::Interface::vtable(this).CanCollectDiagnostics)(windows_core::Interface::as_raw(this), level, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IPlatformDiagnosticsAndUsageDataSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPlatformDiagnosticsAndUsageDataSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -633,8 +625,7 @@ impl RetailInfo { (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRetailInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRetailInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -656,13 +647,11 @@ impl SharedModeSettings { (windows_core::Interface::vtable(this).ShouldAvoidLocalStorage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn ISharedModeSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISharedModeSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISharedModeSettingsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ISharedModeSettingsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -690,8 +679,7 @@ impl SmartAppControlPolicy { pub fn RemoveChanged(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::ISmartAppControlPolicyStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn ISmartAppControlPolicyStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISmartAppControlPolicyStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -716,8 +704,7 @@ impl SystemIdentification { (windows_core::Interface::vtable(this).GetSystemIdForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISystemIdentificationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemIdentificationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -778,8 +765,7 @@ impl SystemSetupInfo { pub fn RemoveOutOfBoxExperienceStateChanged(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::ISystemSetupInfoStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveOutOfBoxExperienceStateChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn ISystemSetupInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemSetupInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -857,8 +843,7 @@ impl WindowsIntegrityPolicy { pub fn RemovePolicyChanged(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IWindowsIntegrityPolicyStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemovePolicyChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn IWindowsIntegrityPolicyStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWindowsIntegrityPolicyStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs b/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs index 78dd27125b..491c05be75 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs @@ -93,13 +93,11 @@ impl RemoteTextConnection { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), connectionid, pduforwarder.param().abi(), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteTextConnectionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteTextConnectionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IRemoteTextConnectionFactory2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteTextConnectionFactory2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/RemoteDesktop/Provider/mod.rs b/crates/libs/windows/src/Windows/System/RemoteDesktop/Provider/mod.rs index a19b12a4e9..bb10094402 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/Provider/mod.rs @@ -145,8 +145,7 @@ impl RemoteDesktopConnectionInfo { (windows_core::Interface::vtable(this).GetForLaunchUri)(windows_core::Interface::as_raw(this), launchuri.param().abi(), windowid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteDesktopConnectionInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteDesktopConnectionInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -220,8 +219,7 @@ impl RemoteDesktopConnectionRemoteInfo { (windows_core::Interface::vtable(this).GetForLaunchUri)(windows_core::Interface::as_raw(this), launchuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteDesktopConnectionRemoteInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteDesktopConnectionRemoteInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -263,8 +261,7 @@ impl RemoteDesktopInfo { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteDesktopInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteDesktopInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -296,8 +293,7 @@ impl RemoteDesktopRegistrar { (windows_core::Interface::vtable(this).IsSwitchToLocalSessionEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IRemoteDesktopRegistrarStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteDesktopRegistrarStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs b/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs index 6581c52eb2..d92f25a309 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs @@ -19,8 +19,7 @@ impl InteractiveSession { (windows_core::Interface::vtable(this).IsRemote)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IInteractiveSessionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IInteractiveSessionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs index 1f5f0d27ee..dd2b36ec6c 100644 --- a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs @@ -771,8 +771,7 @@ impl KnownRemoteSystemCapabilities { (windows_core::Interface::vtable(this).SpatialEntity)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKnownRemoteSystemCapabilitiesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownRemoteSystemCapabilitiesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -928,18 +927,15 @@ impl RemoteSystem { (windows_core::Interface::vtable(this).CreateWatcherWithFiltersForUser)(windows_core::Interface::as_raw(this), user.param().abi(), filters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteSystemStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IRemoteSystemStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IRemoteSystemStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1091,8 +1087,7 @@ impl RemoteSystemAppRegistration { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteSystemAppRegistrationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemAppRegistrationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1128,8 +1123,7 @@ impl RemoteSystemAuthorizationKindFilter { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), remotesystemauthorizationkind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteSystemAuthorizationKindFilterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemAuthorizationKindFilterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1168,8 +1162,7 @@ impl RemoteSystemConnectionInfo { (windows_core::Interface::vtable(this).TryCreateFromAppServiceConnection)(windows_core::Interface::as_raw(this), connection.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteSystemConnectionInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemConnectionInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1245,18 +1238,15 @@ impl RemoteSystemConnectionRequest { (windows_core::Interface::vtable(this).CreateFromConnectionTokenForUser)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(connectiontoken), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteSystemConnectionRequestFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemConnectionRequestFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IRemoteSystemConnectionRequestStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemConnectionRequestStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IRemoteSystemConnectionRequestStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemConnectionRequestStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1292,8 +1282,7 @@ impl RemoteSystemDiscoveryTypeFilter { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), discoverytype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteSystemDiscoveryTypeFilterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemDiscoveryTypeFilterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1351,8 +1340,7 @@ impl RemoteSystemKindFilter { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), remotesystemkinds.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteSystemKindFilterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemKindFilterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1419,13 +1407,11 @@ impl RemoteSystemKinds { (windows_core::Interface::vtable(this).Laptop)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteSystemKindStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemKindStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IRemoteSystemKindStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemKindStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1526,8 +1512,7 @@ impl RemoteSystemSession { (windows_core::Interface::vtable(this).CreateWatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteSystemSessionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemSessionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1620,8 +1605,7 @@ impl RemoteSystemSessionController { (windows_core::Interface::vtable(this).CreateControllerWithSessionOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displayname), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteSystemSessionControllerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemSessionControllerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2002,8 +1986,7 @@ impl RemoteSystemSessionMessageChannel { (windows_core::Interface::vtable(this).CreateWithReliability)(windows_core::Interface::as_raw(this), session.param().abi(), core::mem::transmute_copy(channelname), reliability, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteSystemSessionMessageChannelFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemSessionMessageChannelFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2391,8 +2374,7 @@ impl RemoteSystemStatusTypeFilter { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), remotesystemstatustype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteSystemStatusTypeFilterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemStatusTypeFilterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2586,8 +2568,7 @@ impl RemoteSystemWebAccountFilter { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), account.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteSystemWebAccountFilterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteSystemWebAccountFilterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs b/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs index 157487b397..3fd3f4bc76 100644 --- a/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs +++ b/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs @@ -79,8 +79,7 @@ impl PreallocatedWorkItem { (windows_core::Interface::vtable(this).CreateWorkItemWithPriorityAndOptions)(windows_core::Interface::as_raw(this), handler.param().abi(), priority, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPreallocatedWorkItemFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IPreallocatedWorkItemFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -146,8 +145,7 @@ impl SignalNotifier { (windows_core::Interface::vtable(this).AttachToSemaphoreWithTimeout)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), handler.param().abi(), timeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISignalNotifierStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISignalNotifierStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/Threading/mod.rs b/crates/libs/windows/src/Windows/System/Threading/mod.rs index e1c3bf1b3b..d24ac6081d 100644 --- a/crates/libs/windows/src/Windows/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/System/Threading/mod.rs @@ -63,8 +63,7 @@ impl ThreadPool { (windows_core::Interface::vtable(this).RunWithPriorityAndOptionsAsync)(windows_core::Interface::as_raw(this), handler.param().abi(), priority, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IThreadPoolStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IThreadPoolStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -133,8 +132,7 @@ impl ThreadPoolTimer { (windows_core::Interface::vtable(this).CreateTimerWithCompletion)(windows_core::Interface::as_raw(this), handler.param().abi(), delay, destroyed.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IThreadPoolTimerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IThreadPoolTimerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/Update/mod.rs b/crates/libs/windows/src/Windows/System/Update/mod.rs index 39f55440be..eaa54581f7 100644 --- a/crates/libs/windows/src/Windows/System/Update/mod.rs +++ b/crates/libs/windows/src/Windows/System/Update/mod.rs @@ -315,8 +315,7 @@ impl SystemUpdateManager { pub fn StartCancelUpdates() -> windows_core::Result<()> { Self::ISystemUpdateManagerStatics(|this| unsafe { (windows_core::Interface::vtable(this).StartCancelUpdates)(windows_core::Interface::as_raw(this)).ok() }) } - #[doc(hidden)] - pub fn ISystemUpdateManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemUpdateManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/UserProfile/mod.rs b/crates/libs/windows/src/Windows/System/UserProfile/mod.rs index 08e4fe0936..7f09fe7bbc 100644 --- a/crates/libs/windows/src/Windows/System/UserProfile/mod.rs +++ b/crates/libs/windows/src/Windows/System/UserProfile/mod.rs @@ -310,13 +310,11 @@ impl AdvertisingManager { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAdvertisingManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAdvertisingManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAdvertisingManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAdvertisingManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -397,8 +395,7 @@ impl AssignedAccessSettings { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAssignedAccessSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAssignedAccessSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -449,8 +446,7 @@ impl DiagnosticsSettings { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDiagnosticsSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDiagnosticsSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -517,8 +513,7 @@ impl FirstSignInSettings { let this = &windows_core::Interface::cast::>(self)?; unsafe { (windows_core::Interface::vtable(this).Split)(windows_core::Interface::as_raw(this), first as *mut _ as _, second as *mut _ as _).ok() } } - #[doc(hidden)] - pub fn IFirstSignInSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IFirstSignInSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -619,18 +614,15 @@ impl GlobalizationPreferences { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IGlobalizationPreferencesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IGlobalizationPreferencesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGlobalizationPreferencesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGlobalizationPreferencesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IGlobalizationPreferencesStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IGlobalizationPreferencesStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -760,13 +752,11 @@ impl LockScreen { (windows_core::Interface::vtable(this).SetImageStreamAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILockScreenImageFeedStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILockScreenImageFeedStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ILockScreenStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILockScreenStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -899,9 +889,8 @@ impl UserInformation { (windows_core::Interface::vtable(this).GetDomainNameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IUserInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserInformationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -949,8 +938,7 @@ impl UserProfilePersonalizationSettings { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IUserProfilePersonalizationSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserProfilePersonalizationSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/System/mod.rs b/crates/libs/windows/src/Windows/System/mod.rs index 8e3c6c5634..420008af84 100644 --- a/crates/libs/windows/src/Windows/System/mod.rs +++ b/crates/libs/windows/src/Windows/System/mod.rs @@ -1223,13 +1223,11 @@ impl AppDiagnosticInfo { (windows_core::Interface::vtable(this).RequestInfoForAppUserModelId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appusermodelid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppDiagnosticInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppDiagnosticInfoStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAppDiagnosticInfoStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppDiagnosticInfoStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1886,8 +1884,7 @@ impl AppUriHandlerHost { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppUriHandlerHostFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppUriHandlerHostFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2034,13 +2031,11 @@ impl AppUriHandlerRegistrationManager { (windows_core::Interface::vtable(this).GetForPackageForUser)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAppUriHandlerRegistrationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppUriHandlerRegistrationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAppUriHandlerRegistrationManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppUriHandlerRegistrationManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2062,8 +2057,7 @@ impl DateTimeSettings { pub fn SetSystemDateTime(utcdatetime: super::Foundation::DateTime) -> windows_core::Result<()> { Self::IDateTimeSettingsStatics(|this| unsafe { (windows_core::Interface::vtable(this).SetSystemDateTime)(windows_core::Interface::as_raw(this), utcdatetime).ok() }) } - #[doc(hidden)] - pub fn IDateTimeSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDateTimeSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2144,8 +2138,7 @@ impl DispatcherQueue { (windows_core::Interface::vtable(this).GetForCurrentThread)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDispatcherQueueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDispatcherQueueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2187,8 +2180,7 @@ impl DispatcherQueueController { (windows_core::Interface::vtable(this).CreateOnDedicatedThread)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IDispatcherQueueControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDispatcherQueueControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2408,13 +2400,11 @@ impl KnownUserProperties { (windows_core::Interface::vtable(this).AgeEnforcementRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKnownUserPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownUserPropertiesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IKnownUserPropertiesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownUserPropertiesStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2731,28 +2721,23 @@ impl Launcher { (windows_core::Interface::vtable(this).LaunchFolderPathWithOptionsForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(path), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ILauncherStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ILauncherStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ILauncherStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ILauncherStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ILauncherStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn ILauncherStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ILauncherStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn ILauncherStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ILauncherStatics5 windows_core::Result>(callback: F) -> windows_core::Result { + fn ILauncherStatics5 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3063,23 +3048,19 @@ impl MemoryManager { (windows_core::Interface::vtable(this).ExpectedAppMemoryUsageLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IMemoryManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IMemoryManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMemoryManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMemoryManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMemoryManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMemoryManagerStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IMemoryManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IMemoryManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3104,8 +3085,7 @@ impl ProcessLauncher { (windows_core::Interface::vtable(this).RunToCompletionAsyncWithOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filename), core::mem::transmute_copy(args), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IProcessLauncherStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IProcessLauncherStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3318,8 +3298,7 @@ impl RemoteLauncher { (windows_core::Interface::vtable(this).LaunchUriWithDataAsync)(windows_core::Interface::as_raw(this), remotesystemconnectionrequest.param().abi(), uri.param().abi(), options.param().abi(), inputdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteLauncherStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteLauncherStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3394,13 +3373,11 @@ impl ShutdownManager { pub fn EnterPowerStateWithTimeSpan(powerstate: PowerState, wakeupafter: super::Foundation::TimeSpan) -> windows_core::Result<()> { Self::IShutdownManagerStatics2(|this| unsafe { (windows_core::Interface::vtable(this).EnterPowerStateWithTimeSpan)(windows_core::Interface::as_raw(this), powerstate, wakeupafter).ok() }) } - #[doc(hidden)] - pub fn IShutdownManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IShutdownManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IShutdownManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IShutdownManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3438,13 +3415,11 @@ impl TimeZoneSettings { (windows_core::Interface::vtable(this).AutoUpdateTimeZoneAsync)(windows_core::Interface::as_raw(this), timeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITimeZoneSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITimeZoneSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITimeZoneSettingsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITimeZoneSettingsStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3550,13 +3525,11 @@ impl User { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUserStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IUserStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3694,8 +3667,7 @@ impl UserDeviceAssociation { pub fn RemoveUserDeviceAssociationChanged(token: super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IUserDeviceAssociationStatics(|this| unsafe { (windows_core::Interface::vtable(this).RemoveUserDeviceAssociationChanged)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn IUserDeviceAssociationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserDeviceAssociationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3792,8 +3764,7 @@ impl UserPicker { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IUserPickerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserPickerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs index 007f9c47dd..e50710d63e 100644 --- a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs @@ -337,18 +337,15 @@ impl AccountsSettingsPane { (windows_core::Interface::vtable(this).ShowAddAccountForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAccountsSettingsPaneStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAccountsSettingsPaneStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAccountsSettingsPaneStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAccountsSettingsPaneStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IAccountsSettingsPaneStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IAccountsSettingsPaneStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -498,8 +495,7 @@ impl CredentialCommand { (windows_core::Interface::vtable(this).CreateCredentialCommandWithHandler)(windows_core::Interface::as_raw(this), passwordcredential.param().abi(), deleted.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICredentialCommandFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICredentialCommandFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -585,13 +581,11 @@ impl SettingsCommand { let this = self; unsafe { (windows_core::Interface::vtable(this).SetId)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[doc(hidden)] - pub fn ISettingsCommandFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISettingsCommandFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISettingsCommandStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISettingsCommandStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -651,9 +645,8 @@ impl SettingsPane { (windows_core::Interface::vtable(this).Edge)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn ISettingsPaneStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISettingsPaneStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -769,8 +762,7 @@ impl WebAccountCommand { (windows_core::Interface::vtable(this).CreateWebAccountCommand)(windows_core::Interface::as_raw(this), webaccount.param().abi(), invoked.param().abi(), actions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebAccountCommandFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAccountCommandFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -839,8 +831,7 @@ impl WebAccountProviderCommand { (windows_core::Interface::vtable(this).CreateWebAccountProviderCommand)(windows_core::Interface::as_raw(this), webaccountprovider.param().abi(), invoked.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebAccountProviderCommandFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebAccountProviderCommandFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs index 5bdf33574f..698c4828ac 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs @@ -95,8 +95,7 @@ impl CompositionDebugSettings { (windows_core::Interface::vtable(this).TryGetSettings)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICompositionDebugSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICompositionDebugSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs index 0221a2e8d2..2718790178 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs @@ -797,8 +797,7 @@ impl CompositionConditionalValue { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).StartAnimationWithController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), animation.param().abi(), animationcontroller.param().abi()).ok() } } - #[doc(hidden)] - pub fn ICompositionConditionalValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICompositionConditionalValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1588,13 +1587,11 @@ impl InteractionTracker { (windows_core::Interface::vtable(this).GetBindingMode)(windows_core::Interface::as_raw(this), boundtracker1.param().abi(), boundtracker2.param().abi(), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IInteractionTrackerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IInteractionTrackerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IInteractionTrackerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IInteractionTrackerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1949,8 +1946,7 @@ impl InteractionTrackerInertiaMotion { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IInteractionTrackerInertiaMotionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IInteractionTrackerInertiaMotionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2116,8 +2112,7 @@ impl InteractionTrackerInertiaNaturalMotion { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IInteractionTrackerInertiaNaturalMotionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IInteractionTrackerInertiaNaturalMotionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2283,8 +2278,7 @@ impl InteractionTrackerInertiaRestingValue { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IInteractionTrackerInertiaRestingValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IInteractionTrackerInertiaRestingValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2756,8 +2750,7 @@ impl InteractionTrackerVector2InertiaNaturalMotion { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IInteractionTrackerVector2InertiaNaturalMotionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IInteractionTrackerVector2InertiaNaturalMotionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3110,13 +3103,11 @@ impl VisualInteractionSource { (windows_core::Interface::vtable(this).CreateFromIVisualElement)(windows_core::Interface::as_raw(this), source.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IVisualInteractionSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IVisualInteractionSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IVisualInteractionSourceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IVisualInteractionSourceStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs index 44e5eed031..63a70d52c5 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs @@ -1313,8 +1313,7 @@ impl SceneMesh { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISceneMeshStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISceneMeshStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1694,8 +1693,7 @@ impl SceneMeshRendererComponent { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISceneMeshRendererComponentStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISceneMeshRendererComponentStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2006,8 +2004,7 @@ impl SceneMetallicRoughnessMaterial { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetOcclusionStrength)(windows_core::Interface::as_raw(this), value).ok() } } - #[doc(hidden)] - pub fn ISceneMetallicRoughnessMaterialStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISceneMetallicRoughnessMaterialStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2381,8 +2378,7 @@ impl SceneNode { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISceneNodeStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISceneNodeStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3304,8 +3300,7 @@ impl SceneSurfaceMaterialInput { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISceneSurfaceMaterialInputStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISceneSurfaceMaterialInputStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3728,8 +3723,7 @@ impl SceneVisual { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetIsPixelSnappingEnabled)(windows_core::Interface::as_raw(this), value).ok() } } - #[doc(hidden)] - pub fn ISceneVisualStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISceneVisualStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Composition/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/mod.rs index e109bba5d9..581a9b292c 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/mod.rs @@ -3202,8 +3202,7 @@ impl AnimationController { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).StartAnimationWithController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), animation.param().abi(), animationcontroller.param().abi()).ok() } } - #[doc(hidden)] - pub fn IAnimationControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAnimationControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -6134,8 +6133,7 @@ impl CompositionCapabilities { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICompositionCapabilitiesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICompositionCapabilitiesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -7531,8 +7529,7 @@ impl CompositionEasingFunction { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).StartAnimationWithController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), animation.param().abi(), animationcontroller.param().abi()).ok() } } - #[doc(hidden)] - pub fn ICompositionEasingFunctionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICompositionEasingFunctionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -7854,8 +7851,7 @@ impl CompositionEffectSourceParameter { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICompositionEffectSourceParameterFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICompositionEffectSourceParameterFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -10200,8 +10196,7 @@ impl CompositionObject { { Self::ICompositionObjectStatics(|this| unsafe { (windows_core::Interface::vtable(this).StartAnimationGroupWithIAnimationObject)(windows_core::Interface::as_raw(this), target.param().abi(), animation.param().abi()).ok() }) } - #[doc(hidden)] - pub fn ICompositionObjectStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICompositionObjectStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -10235,8 +10230,7 @@ impl CompositionPath { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), source.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICompositionPathFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICompositionPathFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -10939,8 +10933,7 @@ impl CompositionProjectedShadowCasterCollection { (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn ICompositionProjectedShadowCasterCollectionStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICompositionProjectedShadowCasterCollectionStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -15360,8 +15353,7 @@ impl Compositor { (windows_core::Interface::vtable(this).CreateVisualSurface)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn ICompositorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICompositorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -16332,8 +16324,7 @@ impl DelegatedInkTrailVisual { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetIsPixelSnappingEnabled)(windows_core::Interface::as_raw(this), value).ok() } } - #[doc(hidden)] - pub fn IDelegatedInkTrailVisualStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IDelegatedInkTrailVisualStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs index 279ff4f8ca..dfe52d5a59 100644 --- a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs @@ -150,8 +150,7 @@ impl AnimationDescription { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), effect, target, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAnimationDescriptionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IAnimationDescriptionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs index 9a2e800a66..b66da14a44 100644 --- a/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs @@ -63,8 +63,7 @@ impl CoreAppWindowPreview { (windows_core::Interface::vtable(this).GetIdFromWindow)(windows_core::Interface::as_raw(this), window.param().abi(), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn ICoreAppWindowPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreAppWindowPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -142,8 +141,7 @@ impl SystemNavigationManagerPreview { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISystemNavigationManagerPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemNavigationManagerPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Core/mod.rs index 443c8e6b77..37a630fd53 100644 --- a/crates/libs/windows/src/Windows/UI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/mod.rs @@ -2083,8 +2083,7 @@ impl CoreCursor { (windows_core::Interface::vtable(this).CreateCursor)(windows_core::Interface::as_raw(this), r#type, id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICoreCursorFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreCursorFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2516,8 +2515,7 @@ impl CoreIndependentInputSourceController { (windows_core::Interface::vtable(this).CreateForIVisualElement)(windows_core::Interface::as_raw(this), visualelement.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICoreIndependentInputSourceControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreIndependentInputSourceControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3012,8 +3010,7 @@ impl CoreWindow { (windows_core::Interface::vtable(this).UIContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn ICoreWindowStatic windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreWindowStatic windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3150,8 +3147,7 @@ impl CoreWindowDialog { (windows_core::Interface::vtable(this).CreateWithTitle)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(title), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICoreWindowDialogFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreWindowDialogFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3303,8 +3299,7 @@ impl CoreWindowFlyout { (windows_core::Interface::vtable(this).CreateWithTitle)(windows_core::Interface::as_raw(this), position, core::mem::transmute_copy(title), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICoreWindowFlyoutFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreWindowFlyoutFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3365,8 +3360,7 @@ impl CoreWindowResizeManager { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICoreWindowResizeManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreWindowResizeManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3579,8 +3573,7 @@ impl SystemNavigationManager { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISystemNavigationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemNavigationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs index cdc819ea6c..7ba01adffc 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs @@ -73,8 +73,7 @@ impl RadialControllerIndependentInputSource { (windows_core::Interface::vtable(this).CreateForView)(windows_core::Interface::as_raw(this), view.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRadialControllerIndependentInputSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRadialControllerIndependentInputSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs index 7a21fca250..edbcd71988 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs @@ -213,8 +213,7 @@ impl CoreIncrementalInkStroke { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), drawingattributes.param().abi(), pointtransform, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICoreIncrementalInkStrokeFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreIncrementalInkStrokeFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -373,8 +372,7 @@ impl CoreInkIndependentInputSource { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), inkpresenter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICoreInkIndependentInputSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreInkIndependentInputSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -574,8 +572,7 @@ impl CoreWetStrokeUpdateSource { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), inkpresenter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICoreWetStrokeUpdateSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreWetStrokeUpdateSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs index 1e4da6065c..10001e0370 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs @@ -53,8 +53,7 @@ impl PalmRejectionDelayZonePreview { (windows_core::Interface::vtable(this).CreateForVisualWithViewportClip)(windows_core::Interface::as_raw(this), inputpanelvisual.param().abi(), inputpanelrect, viewportvisual.param().abi(), viewportrect, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPalmRejectionDelayZonePreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPalmRejectionDelayZonePreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs index 3f75f77c49..8ca0947a4c 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs @@ -1085,8 +1085,7 @@ impl InkDrawingAttributes { (windows_core::Interface::vtable(this).CreateForPencil)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IInkDrawingAttributesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IInkDrawingAttributesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1539,13 +1538,11 @@ impl InkPoint { (windows_core::Interface::vtable(this).CreateInkPointWithTiltAndTimestamp)(windows_core::Interface::as_raw(this), position, pressure, tiltx, tilty, timestamp, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IInkPointFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IInkPointFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IInkPointFactory2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IInkPointFactory2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1855,8 +1852,7 @@ impl InkPresenterProtractor { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetTransform)(windows_core::Interface::as_raw(this), value).ok() } } - #[doc(hidden)] - pub fn IInkPresenterProtractorFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IInkPresenterProtractorFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1985,8 +1981,7 @@ impl InkPresenterRuler { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetTransform)(windows_core::Interface::as_raw(this), value).ok() } } - #[doc(hidden)] - pub fn IInkPresenterRulerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IInkPresenterRulerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2921,8 +2916,7 @@ impl PenAndInkSettings { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPenAndInkSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPenAndInkSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs index 02c0073b05..78ef24bad0 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs @@ -263,8 +263,7 @@ impl InjectedInputGamepadInfo { (windows_core::Interface::vtable(this).CreateInstanceFromGamepadReading)(windows_core::Interface::as_raw(this), reading, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IInjectedInputGamepadInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IInjectedInputGamepadInfoFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -674,13 +673,11 @@ impl InputInjector { (windows_core::Interface::vtable(this).TryCreateForAppBroadcastOnly)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IInputInjectorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IInputInjectorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IInputInjectorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IInputInjectorStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs index e1e398cf1b..580ee7fc17 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs @@ -24,8 +24,7 @@ impl InputActivationListenerPreview { (windows_core::Interface::vtable(this).CreateForApplicationWindow)(windows_core::Interface::as_raw(this), window.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IInputActivationListenerPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IInputActivationListenerPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs index 45c9e2997c..96101356c4 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs @@ -843,8 +843,7 @@ impl SpatialGestureRecognizer { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), settings, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpatialGestureRecognizerFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialGestureRecognizerFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1278,13 +1277,11 @@ impl SpatialInteractionManager { (windows_core::Interface::vtable(this).IsSourceKindSupported)(windows_core::Interface::as_raw(this), kind, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn ISpatialInteractionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialInteractionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISpatialInteractionManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialInteractionManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2060,8 +2057,7 @@ impl SpatialPointerPose { (windows_core::Interface::vtable(this).TryGetAtTimestamp)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), timestamp.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISpatialPointerPoseStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISpatialPointerPoseStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Input/mod.rs b/crates/libs/windows/src/Windows/UI/Input/mod.rs index 8e112750ca..d6f5d468dd 100644 --- a/crates/libs/windows/src/Windows/UI/Input/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/mod.rs @@ -1118,8 +1118,7 @@ impl EdgeGesture { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IEdgeGestureStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IEdgeGestureStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1800,8 +1799,7 @@ impl KeyboardDeliveryInterceptor { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKeyboardDeliveryInterceptorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKeyboardDeliveryInterceptorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2201,8 +2199,7 @@ impl PointerPoint { (windows_core::Interface::vtable(this).GetIntermediatePointsTransformed)(windows_core::Interface::as_raw(this), pointerid, transform.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPointerPointStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPointerPointStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2441,8 +2438,7 @@ impl PointerVisualizationSettings { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IPointerVisualizationSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IPointerVisualizationSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2645,8 +2641,7 @@ impl RadialController { (windows_core::Interface::vtable(this).CreateForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRadialControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRadialControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2871,13 +2866,11 @@ impl RadialControllerConfiguration { (windows_core::Interface::vtable(this).IsAppControllerEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IRadialControllerConfigurationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRadialControllerConfigurationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IRadialControllerConfigurationStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IRadialControllerConfigurationStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3063,13 +3056,11 @@ impl RadialControllerMenuItem { (windows_core::Interface::vtable(this).CreateFromFontGlyphWithUri)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displaytext), core::mem::transmute_copy(glyph), core::mem::transmute_copy(fontfamily), fonturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRadialControllerMenuItemStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRadialControllerMenuItemStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IRadialControllerMenuItemStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IRadialControllerMenuItemStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3392,8 +3383,7 @@ impl SystemButtonEventController { (windows_core::Interface::vtable(this).CreateForDispatcherQueue)(windows_core::Interface::as_raw(this), queue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISystemButtonEventControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISystemButtonEventControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs b/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs index 6152a2f2ee..8e4d910daf 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs @@ -88,8 +88,7 @@ impl UserNotificationListener { (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUserNotificationListenerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUserNotificationListenerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Notifications/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/Notifications/Preview/mod.rs index 2ff17459f2..8088246df5 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/Preview/mod.rs @@ -12,8 +12,7 @@ impl ToastOcclusionManagerPreview { pub fn SetToastWindowMargin(appwindowid: super::super::WindowId, margin: f64) -> windows_core::Result<()> { Self::IToastOcclusionManagerPreviewStatics(|this| unsafe { (windows_core::Interface::vtable(this).SetToastWindowMargin)(windows_core::Interface::as_raw(this), appwindowid, margin).ok() }) } - #[doc(hidden)] - pub fn IToastOcclusionManagerPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IToastOcclusionManagerPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs index 7fc6c0f50e..20af277ae3 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs @@ -1016,8 +1016,7 @@ impl BadgeNotification { (windows_core::Interface::vtable(this).CreateBadgeNotification)(windows_core::Interface::as_raw(this), content.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBadgeNotificationFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IBadgeNotificationFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1071,13 +1070,11 @@ impl BadgeUpdateManager { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IBadgeUpdateManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IBadgeUpdateManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IBadgeUpdateManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IBadgeUpdateManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1217,8 +1214,7 @@ impl KnownAdaptiveNotificationHints { (windows_core::Interface::vtable(this).Align)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKnownAdaptiveNotificationHintsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownAdaptiveNotificationHintsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1342,8 +1338,7 @@ impl KnownAdaptiveNotificationTextStyles { (windows_core::Interface::vtable(this).HeaderNumeralSubtle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKnownAdaptiveNotificationTextStylesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownAdaptiveNotificationTextStylesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1359,8 +1354,7 @@ impl KnownNotificationBindings { (windows_core::Interface::vtable(this).ToastGeneric)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IKnownNotificationBindingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IKnownNotificationBindingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1528,8 +1522,7 @@ impl NotificationData { (windows_core::Interface::vtable(this).CreateNotificationDataWithValues)(windows_core::Interface::as_raw(this), initialvalues.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn INotificationDataFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn INotificationDataFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1656,8 +1649,7 @@ impl ScheduledTileNotification { (windows_core::Interface::vtable(this).CreateScheduledTileNotification)(windows_core::Interface::as_raw(this), content.param().abi(), deliverytime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IScheduledTileNotificationFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IScheduledTileNotificationFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1808,8 +1800,7 @@ impl ScheduledToastNotification { (windows_core::Interface::vtable(this).CreateScheduledToastNotificationRecurring)(windows_core::Interface::as_raw(this), content.param().abi(), deliverytime, snoozeinterval, maximumsnoozecount, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IScheduledToastNotificationFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IScheduledToastNotificationFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1931,8 +1922,7 @@ impl TileFlyoutNotification { (windows_core::Interface::vtable(this).CreateTileFlyoutNotification)(windows_core::Interface::as_raw(this), content.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITileFlyoutNotificationFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ITileFlyoutNotificationFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1976,8 +1966,7 @@ impl TileFlyoutUpdateManager { (windows_core::Interface::vtable(this).GetTemplateContent)(windows_core::Interface::as_raw(this), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITileFlyoutUpdateManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITileFlyoutUpdateManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2085,8 +2074,7 @@ impl TileNotification { (windows_core::Interface::vtable(this).CreateTileNotification)(windows_core::Interface::as_raw(this), content.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITileNotificationFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ITileNotificationFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2140,13 +2128,11 @@ impl TileUpdateManager { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITileUpdateManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITileUpdateManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ITileUpdateManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ITileUpdateManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2397,8 +2383,7 @@ impl ToastCollection { (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(collectionid), core::mem::transmute_copy(displayname), core::mem::transmute_copy(launchargs), iconuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IToastCollectionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IToastCollectionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2707,8 +2692,7 @@ impl ToastNotification { (windows_core::Interface::vtable(this).CreateToastNotification)(windows_core::Interface::as_raw(this), content.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IToastNotificationFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IToastNotificationFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2892,23 +2876,19 @@ impl ToastNotificationManager { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IToastNotificationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IToastNotificationManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IToastNotificationManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IToastNotificationManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IToastNotificationManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IToastNotificationManagerStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IToastNotificationManagerStatics5 windows_core::Result>(callback: F) -> windows_core::Result { + fn IToastNotificationManagerStatics5 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Popups/mod.rs b/crates/libs/windows/src/Windows/UI/Popups/mod.rs index 50838c4442..0d3ac534b4 100644 --- a/crates/libs/windows/src/Windows/UI/Popups/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Popups/mod.rs @@ -206,8 +206,7 @@ impl MessageDialog { (windows_core::Interface::vtable(this).CreateWithTitle)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(content), core::mem::transmute_copy(title), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IMessageDialogFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IMessageDialogFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -350,8 +349,7 @@ impl UICommand { (windows_core::Interface::vtable(this).CreateWithHandlerAndId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(label), action.param().abi(), commandid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUICommandFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IUICommandFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Shell/mod.rs b/crates/libs/windows/src/Windows/UI/Shell/mod.rs index 2f7f34a0d7..9ce9397ed2 100644 --- a/crates/libs/windows/src/Windows/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Shell/mod.rs @@ -332,8 +332,7 @@ impl AdaptiveCardBuilder { (windows_core::Interface::vtable(this).CreateAdaptiveCardFromJson)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IAdaptiveCardBuilderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAdaptiveCardBuilderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -433,8 +432,7 @@ impl FocusSessionManager { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IFocusSessionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IFocusSessionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -584,8 +582,7 @@ impl ShareWindowCommandSource { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IShareWindowCommandSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IShareWindowCommandSourceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -688,8 +685,7 @@ impl TaskbarManager { (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ITaskbarManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITaskbarManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1042,8 +1038,7 @@ impl WindowTabIcon { (windows_core::Interface::vtable(this).CreateFromImage)(windows_core::Interface::as_raw(this), image.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWindowTabIconStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWindowTabIconStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1153,8 +1148,7 @@ impl WindowTabManager { (windows_core::Interface::vtable(this).IsTabTearOutSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IWindowTabManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWindowTabManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs index 3bee53efaa..7d22823b38 100644 --- a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs @@ -423,8 +423,7 @@ impl JumpList { (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IJumpListStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IJumpListStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -526,8 +525,7 @@ impl JumpListItem { (windows_core::Interface::vtable(this).CreateSeparator)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IJumpListItemStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IJumpListItemStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -885,18 +883,15 @@ impl SecondaryTile { (windows_core::Interface::vtable(this).FindAllForPackageAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISecondaryTileFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISecondaryTileFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISecondaryTileFactory2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ISecondaryTileFactory2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ISecondaryTileStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISecondaryTileStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1171,8 +1166,7 @@ impl StartScreenManager { (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStartScreenManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStartScreenManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs index 906e4f19de..94cd965664 100644 --- a/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs @@ -916,8 +916,7 @@ impl CoreTextServicesConstants { (windows_core::Interface::vtable(this).HiddenCharacter)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn ICoreTextServicesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreTextServicesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -965,8 +964,7 @@ impl CoreTextServicesManager { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICoreTextServicesManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreTextServicesManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/Text/mod.rs b/crates/libs/windows/src/Windows/UI/Text/mod.rs index 5a3d05a01d..2f130c5028 100644 --- a/crates/libs/windows/src/Windows/UI/Text/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Text/mod.rs @@ -1953,8 +1953,7 @@ impl FontWeights { (windows_core::Interface::vtable(this).Thin)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IFontWeightsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IFontWeightsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2586,8 +2585,7 @@ impl TextConstants { (windows_core::Interface::vtable(this).UndefinedFontStyle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn ITextConstantsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ITextConstantsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs index d90988c6c8..198898fe81 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs @@ -242,8 +242,7 @@ impl CoreAutomationRegistrar { pub fn UnregisterAnnotationType(registration: AutomationAnnotationTypeRegistration) -> windows_core::Result<()> { Self::ICoreAutomationRegistrarStatics(|this| unsafe { (windows_core::Interface::vtable(this).UnregisterAnnotationType)(windows_core::Interface::as_raw(this), registration).ok() }) } - #[doc(hidden)] - pub fn ICoreAutomationRegistrarStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreAutomationRegistrarStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -424,8 +423,7 @@ impl RemoteAutomationClientSession { (windows_core::Interface::vtable(this).CreateInstance2)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), sessionid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IRemoteAutomationClientSessionFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteAutomationClientSessionFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -504,8 +502,7 @@ impl RemoteAutomationServer { pub fn ReportSession(sessionid: windows_core::GUID) -> windows_core::Result<()> { Self::IRemoteAutomationServerStatics(|this| unsafe { (windows_core::Interface::vtable(this).ReportSession)(windows_core::Interface::as_raw(this), sessionid).ok() }) } - #[doc(hidden)] - pub fn IRemoteAutomationServerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IRemoteAutomationServerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs b/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs index 6a46118fe0..9a4fa3c89f 100644 --- a/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs @@ -271,8 +271,7 @@ impl CoreFrameworkInputView { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICoreFrameworkInputViewStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreFrameworkInputViewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -537,13 +536,11 @@ impl CoreInputView { (windows_core::Interface::vtable(this).GetForUIContext)(windows_core::Interface::as_raw(this), context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ICoreInputViewStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreInputViewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICoreInputViewStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn ICoreInputViewStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -808,8 +805,7 @@ impl UISettingsController { (windows_core::Interface::vtable(this).RequestDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUISettingsControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUISettingsControllerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs b/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs index c85362343b..9612bb054e 100644 --- a/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs @@ -1029,35 +1029,29 @@ impl ApplicationView { (windows_core::Interface::vtable(this).UIContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IApplicationViewFullscreenStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationViewFullscreenStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IApplicationViewInteropStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationViewInteropStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] #[cfg(feature = "deprecated")] - pub fn IApplicationViewStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationViewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IApplicationViewStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationViewStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IApplicationViewStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationViewStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IApplicationViewStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationViewStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1123,8 +1117,7 @@ impl ApplicationViewScaling { (windows_core::Interface::vtable(this).TrySetDisableLayoutScaling)(windows_core::Interface::as_raw(this), disablelayoutscaling, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IApplicationViewScalingStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationViewScalingStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1204,18 +1197,15 @@ impl ApplicationViewSwitcher { (windows_core::Interface::vtable(this).TryShowAsViewModeWithPreferencesAsync)(windows_core::Interface::as_raw(this), viewid, viewmode, viewmodepreferences.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IApplicationViewSwitcherStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationViewSwitcherStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IApplicationViewSwitcherStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationViewSwitcherStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IApplicationViewSwitcherStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationViewSwitcherStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1438,8 +1428,7 @@ impl ApplicationViewTransferContext { (windows_core::Interface::vtable(this).DataPackageFormatId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IApplicationViewTransferContextStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IApplicationViewTransferContextStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1534,13 +1523,11 @@ impl InputPane { (windows_core::Interface::vtable(this).GetForUIContext)(windows_core::Interface::as_raw(this), context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IInputPaneStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IInputPaneStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IInputPaneStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IInputPaneStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1656,13 +1643,11 @@ impl ProjectionManager { (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IProjectionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IProjectionManagerStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IProjectionManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IProjectionManagerStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1776,8 +1761,7 @@ impl StatusBar { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IStatusBarStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IStatusBarStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2148,8 +2132,7 @@ impl UIViewSettings { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IUIViewSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IUIViewSettingsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2199,8 +2182,7 @@ impl ViewModePreferences { (windows_core::Interface::vtable(this).CreateDefault)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IViewModePreferencesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IViewModePreferencesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs b/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs index 1b995b6249..56cb950d18 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs @@ -304,8 +304,7 @@ impl WebUICommandBar { (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebUICommandBarStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebUICommandBarStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -358,8 +357,7 @@ impl WebUICommandBarBitmapIcon { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebUICommandBarBitmapIconFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebUICommandBarBitmapIconFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -605,8 +603,7 @@ impl WebUICommandBarSymbolIcon { (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(symbol), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebUICommandBarSymbolIconFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebUICommandBarSymbolIconFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs index aebafde973..c58624c78b 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs @@ -800,23 +800,19 @@ impl WebUIApplication { pub fn RemoveBackgroundActivated(token: super::super::Foundation::EventRegistrationToken) -> windows_core::Result<()> { Self::IWebUIActivationStatics4(|this| unsafe { (windows_core::Interface::vtable(this).RemoveBackgroundActivated)(windows_core::Interface::as_raw(this), token).ok() }) } - #[doc(hidden)] - pub fn IWebUIActivationStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebUIActivationStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IWebUIActivationStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebUIActivationStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IWebUIActivationStatics3 windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebUIActivationStatics3 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IWebUIActivationStatics4 windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebUIActivationStatics4 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1251,8 +1247,7 @@ impl WebUIBackgroundTaskInstance { (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebUIBackgroundTaskInstanceStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebUIBackgroundTaskInstanceStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4780,8 +4775,7 @@ impl WebUIView { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).AddInitializeScript)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(script)).ok() } } - #[doc(hidden)] - pub fn IWebUIViewStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebUIViewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs index b39bb3c72d..49b9f3890c 100644 --- a/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs @@ -26,8 +26,7 @@ impl WindowManagementPreview { { Self::IWindowManagementPreviewStatics(|this| unsafe { (windows_core::Interface::vtable(this).SetPreferredMinSize)(windows_core::Interface::as_raw(this), window.param().abi(), preferredframeminsize).ok() }) } - #[doc(hidden)] - pub fn IWindowManagementPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWindowManagementPreviewStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs b/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs index 4b178110c9..94251a1288 100644 --- a/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs @@ -528,8 +528,7 @@ impl AppWindow { pub fn ClearPersistedState(key: &windows_core::HSTRING) -> windows_core::Result<()> { Self::IAppWindowStatics(|this| unsafe { (windows_core::Interface::vtable(this).ClearPersistedState)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key)).ok() }) } - #[doc(hidden)] - pub fn IAppWindowStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IAppWindowStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1265,8 +1264,7 @@ impl WindowServices { (windows_core::Interface::vtable(this).FindAllTopLevelWindowIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWindowServicesStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWindowServicesStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1329,8 +1327,7 @@ impl WindowingEnvironment { (windows_core::Interface::vtable(this).FindAllWithKind)(windows_core::Interface::as_raw(this), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWindowingEnvironmentStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWindowingEnvironmentStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/UI/mod.rs b/crates/libs/windows/src/Windows/UI/mod.rs index 4369728165..7ef7829912 100644 --- a/crates/libs/windows/src/Windows/UI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/mod.rs @@ -243,13 +243,11 @@ impl ColorHelper { (windows_core::Interface::vtable(this).ToDisplayName)(windows_core::Interface::as_raw(this), color, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IColorHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IColorHelperStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IColorHelperStatics2 windows_core::Result>(callback: F) -> windows_core::Result { + fn IColorHelperStatics2 windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1117,8 +1115,7 @@ impl Colors { (windows_core::Interface::vtable(this).YellowGreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IColorsStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IColorsStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs index d4d49e6c84..22f94275bd 100644 --- a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs +++ b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs @@ -337,8 +337,7 @@ impl AtomPubClient { (windows_core::Interface::vtable(this).RetrieveFeedAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IAtomPubClientFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IAtomPubClientFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs index e7890beae7..6f86e787c0 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs @@ -166,8 +166,7 @@ impl HttpDiagnosticProvider { (windows_core::Interface::vtable(this).CreateFromProcessDiagnosticInfo)(windows_core::Interface::as_raw(this), processdiagnosticinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IHttpDiagnosticProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpDiagnosticProviderStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs b/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs index 814198dfaa..bc97498ccd 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs @@ -383,8 +383,7 @@ impl HttpBaseProtocolFilter { (windows_core::Interface::vtable(this).SendRequestAsync)(windows_core::Interface::as_raw(this), request.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpBaseProtocolFilterStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpBaseProtocolFilterStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs b/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs index 6e24e975ec..4af10811b1 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs @@ -1042,13 +1042,11 @@ impl HttpChallengeHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpChallengeHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpChallengeHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpChallengeHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpChallengeHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1252,13 +1250,11 @@ impl HttpConnectionOptionHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpConnectionOptionHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpConnectionOptionHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpConnectionOptionHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpConnectionOptionHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1462,13 +1458,11 @@ impl HttpContentCodingHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpContentCodingHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpContentCodingHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpContentCodingHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpContentCodingHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1685,13 +1679,11 @@ impl HttpContentCodingWithQualityHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpContentCodingWithQualityHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpContentCodingWithQualityHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpContentCodingWithQualityHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpContentCodingWithQualityHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1954,13 +1946,11 @@ impl HttpContentDispositionHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpContentDispositionHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpContentDispositionHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpContentDispositionHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpContentDispositionHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2299,13 +2289,11 @@ impl HttpContentRangeHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpContentRangeHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpContentRangeHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpContentRangeHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpContentRangeHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2377,13 +2365,11 @@ impl HttpCookiePairHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpCookiePairHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpCookiePairHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpCookiePairHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpCookiePairHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2608,13 +2594,11 @@ impl HttpCredentialsHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpCredentialsHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpCredentialsHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpCredentialsHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpCredentialsHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2670,8 +2654,7 @@ impl HttpDateOrDeltaHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpDateOrDeltaHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpDateOrDeltaHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2751,13 +2734,11 @@ impl HttpExpectationHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpExpectationHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpExpectationHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpExpectationHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpExpectationHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3123,13 +3104,11 @@ impl HttpLanguageRangeWithQualityHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpLanguageRangeWithQualityHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpLanguageRangeWithQualityHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpLanguageRangeWithQualityHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpLanguageRangeWithQualityHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3356,13 +3335,11 @@ impl HttpMediaTypeHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpMediaTypeHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpMediaTypeHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpMediaTypeHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpMediaTypeHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3460,13 +3437,11 @@ impl HttpMediaTypeWithQualityHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpMediaTypeWithQualityHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpMediaTypeWithQualityHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpMediaTypeWithQualityHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpMediaTypeWithQualityHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3836,13 +3811,11 @@ impl HttpNameValueHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpNameValueHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpNameValueHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpNameValueHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpNameValueHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3910,13 +3883,11 @@ impl HttpProductHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpProductHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpProductHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpProductHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpProductHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -3984,13 +3955,11 @@ impl HttpProductInfoHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpProductInfoHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpProductInfoHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpProductInfoHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpProductInfoHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -4712,13 +4681,11 @@ impl HttpTransferCodingHeaderValue { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpTransferCodingHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpTransferCodingHeaderValueFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpTransferCodingHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpTransferCodingHeaderValueStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Web/Http/mod.rs b/crates/libs/windows/src/Windows/Web/Http/mod.rs index 07702a88d1..71a424f0ce 100644 --- a/crates/libs/windows/src/Windows/Web/Http/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/mod.rs @@ -592,8 +592,7 @@ impl HttpBufferContent { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpBufferContentFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpBufferContentFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -869,8 +868,7 @@ impl HttpClient { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpClientFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpClientFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -974,8 +972,7 @@ impl HttpCookie { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpCookieFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpCookieFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1218,8 +1215,7 @@ impl HttpFormUrlEncodedContent { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpFormUrlEncodedContentFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpFormUrlEncodedContentFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1501,13 +1497,11 @@ impl HttpMethod { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpMethodFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpMethodFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IHttpMethodStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpMethodStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1632,8 +1626,7 @@ impl HttpMultipartContent { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpMultipartContentFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpMultipartContentFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1782,8 +1775,7 @@ impl HttpMultipartFormDataContent { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpMultipartFormDataContentFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpMultipartFormDataContentFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1926,8 +1918,7 @@ impl HttpRequestMessage { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpRequestMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpRequestMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2126,8 +2117,7 @@ impl HttpResponseMessage { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpResponseMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpResponseMessageFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2227,8 +2217,7 @@ impl HttpStreamContent { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpStreamContentFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpStreamContentFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2338,8 +2327,7 @@ impl HttpStringContent { (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IHttpStringContentFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IHttpStringContentFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs index 3aacff897a..e677a27946 100644 --- a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs @@ -747,8 +747,7 @@ impl SyndicationAttribute { (windows_core::Interface::vtable(this).CreateSyndicationAttribute)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(attributename), core::mem::transmute_copy(attributenamespace), core::mem::transmute_copy(attributevalue), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISyndicationAttributeFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISyndicationAttributeFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -905,8 +904,7 @@ impl SyndicationCategory { (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn ISyndicationCategoryFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISyndicationCategoryFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1024,8 +1022,7 @@ impl SyndicationClient { (windows_core::Interface::vtable(this).CreateSyndicationClient)(windows_core::Interface::as_raw(this), servercredential.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISyndicationClientFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISyndicationClientFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1204,8 +1201,7 @@ impl SyndicationContent { let this = &windows_core::Interface::cast::(self)?; unsafe { (windows_core::Interface::vtable(this).SetXml)(windows_core::Interface::as_raw(this), value.param().abi()).ok() } } - #[doc(hidden)] - pub fn ISyndicationContentFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISyndicationContentFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1230,8 +1226,7 @@ impl SyndicationError { (windows_core::Interface::vtable(this).GetStatus)(windows_core::Interface::as_raw(this), hresult, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn ISyndicationErrorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn ISyndicationErrorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1536,8 +1531,7 @@ impl SyndicationFeed { (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn ISyndicationFeedFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISyndicationFeedFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -1691,8 +1685,7 @@ impl SyndicationGenerator { (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn ISyndicationGeneratorFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISyndicationGeneratorFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2003,8 +1996,7 @@ impl SyndicationItem { (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn ISyndicationItemFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISyndicationItemFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2203,8 +2195,7 @@ impl SyndicationLink { (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn ISyndicationLinkFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISyndicationLinkFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2321,8 +2312,7 @@ impl SyndicationNode { (windows_core::Interface::vtable(this).CreateSyndicationNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(nodename), core::mem::transmute_copy(nodenamespace), core::mem::transmute_copy(nodevalue), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISyndicationNodeFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISyndicationNodeFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2485,8 +2475,7 @@ impl SyndicationPerson { (windows_core::Interface::vtable(this).CreateSyndicationPersonEx)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(email), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISyndicationPersonFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISyndicationPersonFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } @@ -2648,8 +2637,7 @@ impl SyndicationText { (windows_core::Interface::vtable(this).CreateSyndicationTextEx)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn ISyndicationTextFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn ISyndicationTextFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs b/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs index b91ec87efd..abdeb7025d 100644 --- a/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs @@ -776,8 +776,7 @@ impl WebViewControlProcess { (windows_core::Interface::vtable(this).CreateWithOptions)(windows_core::Interface::as_raw(this), processoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWebViewControlProcessFactory windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebViewControlProcessFactory windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/Windows/Web/mod.rs b/crates/libs/windows/src/Windows/Web/mod.rs index 7f403b0842..6af89fc65b 100644 --- a/crates/libs/windows/src/Windows/Web/mod.rs +++ b/crates/libs/windows/src/Windows/Web/mod.rs @@ -55,8 +55,7 @@ impl WebError { (windows_core::Interface::vtable(this).GetStatus)(windows_core::Interface::as_raw(this), hresult, &mut result__).map(|| result__) }) } - #[doc(hidden)] - pub fn IWebErrorStatics windows_core::Result>(callback: F) -> windows_core::Result { + fn IWebErrorStatics windows_core::Result>(callback: F) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } diff --git a/crates/libs/windows/src/lib.rs b/crates/libs/windows/src/lib.rs index dbb0bd173a..fa25ca9206 100644 --- a/crates/libs/windows/src/lib.rs +++ b/crates/libs/windows/src/lib.rs @@ -8,7 +8,7 @@ Learn more about Rust for Windows here: windows_core::Result, - >( + fn IJsonValidatorFactory windows_core::Result>( callback: F, ) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = diff --git a/crates/samples/components/json_validator_winrt_client/src/bindings.rs b/crates/samples/components/json_validator_winrt_client/src/bindings.rs index acb50e5ff3..37e8bd51ae 100644 --- a/crates/samples/components/json_validator_winrt_client/src/bindings.rs +++ b/crates/samples/components/json_validator_winrt_client/src/bindings.rs @@ -78,11 +78,7 @@ impl JsonValidator { .and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IJsonValidatorFactory< - R, - F: FnOnce(&IJsonValidatorFactory) -> windows_core::Result, - >( + fn IJsonValidatorFactory windows_core::Result>( callback: F, ) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = diff --git a/crates/tests/misc/standalone/src/b_calendar.rs b/crates/tests/misc/standalone/src/b_calendar.rs index 5fca06ea59..787e164a55 100644 --- a/crates/tests/misc/standalone/src/b_calendar.rs +++ b/crates/tests/misc/standalone/src/b_calendar.rs @@ -1228,16 +1228,14 @@ impl Calendar { .and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn ICalendarFactory windows_core::Result>( + fn ICalendarFactory windows_core::Result>( callback: F, ) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn ICalendarFactory2 windows_core::Result>( + fn ICalendarFactory2 windows_core::Result>( callback: F, ) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = diff --git a/crates/tests/misc/standalone/src/b_uri.rs b/crates/tests/misc/standalone/src/b_uri.rs index 8cc882c8f2..65332a15f8 100644 --- a/crates/tests/misc/standalone/src/b_uri.rs +++ b/crates/tests/misc/standalone/src/b_uri.rs @@ -930,16 +930,14 @@ impl Uri { .and_then(|| windows_core::Type::from_abi(result__)) } } - #[doc(hidden)] - pub fn IUriEscapeStatics windows_core::Result>( + fn IUriEscapeStatics windows_core::Result>( callback: F, ) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = windows_core::imp::FactoryCache::new(); SHARED.call(callback) } - #[doc(hidden)] - pub fn IUriRuntimeClassFactory< + fn IUriRuntimeClassFactory< R, F: FnOnce(&IUriRuntimeClassFactory) -> windows_core::Result, >( @@ -1073,8 +1071,7 @@ impl WwwFormUrlDecoder { .and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IWwwFormUrlDecoderRuntimeClassFactory< + fn IWwwFormUrlDecoderRuntimeClassFactory< R, F: FnOnce(&IWwwFormUrlDecoderRuntimeClassFactory) -> windows_core::Result, >( diff --git a/crates/tests/winrt/constructors/src/bindings.rs b/crates/tests/winrt/constructors/src/bindings.rs index 6c6090c9f3..70ef1e463d 100644 --- a/crates/tests/winrt/constructors/src/bindings.rs +++ b/crates/tests/winrt/constructors/src/bindings.rs @@ -125,8 +125,7 @@ impl Activatable { .and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IActivatableFactory windows_core::Result>( + fn IActivatableFactory windows_core::Result>( callback: F, ) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = @@ -192,8 +191,7 @@ impl Composable { .and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IComposableFactory windows_core::Result>( + fn IComposableFactory windows_core::Result>( callback: F, ) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = diff --git a/crates/tests/winrt/constructors_client/src/bindings.rs b/crates/tests/winrt/constructors_client/src/bindings.rs index b8c2cdcab8..5769ae98df 100644 --- a/crates/tests/winrt/constructors_client/src/bindings.rs +++ b/crates/tests/winrt/constructors_client/src/bindings.rs @@ -125,8 +125,7 @@ impl Activatable { .and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IActivatableFactory windows_core::Result>( + fn IActivatableFactory windows_core::Result>( callback: F, ) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache = @@ -192,8 +191,7 @@ impl Composable { .and_then(|| windows_core::Type::from_abi(result__)) }) } - #[doc(hidden)] - pub fn IComposableFactory windows_core::Result>( + fn IComposableFactory windows_core::Result>( callback: F, ) -> windows_core::Result { static SHARED: windows_core::imp::FactoryCache =