Skip to content

Commit

Permalink
windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Oct 2, 2023
1 parent ed9951d commit 5be18e3
Show file tree
Hide file tree
Showing 887 changed files with 60,254 additions and 60,254 deletions.
2 changes: 1 addition & 1 deletion crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl ILearningModelOperatorProvider_Vtbl {
*iid == <ILearningModelOperatorProvider as ::windows_core::ComInterface>::IID
}
}
#[doc = "Required features: `Foundation_Collections`"]
#[doc = "Required features: `\"Foundation_Collections\"`"]
#[cfg(feature = "Foundation_Collections")]
pub trait ITensor_Impl: Sized + ILearningModelFeatureValue_Impl {
fn TensorKind(&self) -> ::windows_core::Result<TensorKind>;
Expand Down
268 changes: 134 additions & 134 deletions crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion crates/libs/windows/src/Windows/AI/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#[cfg(feature = "AI_MachineLearning")]
#[doc = "Required features: `AI_MachineLearning`"]
#[doc = "Required features: `\"AI_MachineLearning\"`"]
pub mod MachineLearning;
78 changes: 39 additions & 39 deletions crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs

Large diffs are not rendered by default.

294 changes: 147 additions & 147 deletions crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ impl AppExtension {
(::windows_core::Interface::vtable(this).AppInfo)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation_Collections`"]
#[doc = "Required features: `\"Foundation_Collections\"`"]
#[cfg(feature = "Foundation_Collections")]
pub fn GetExtensionPropertiesAsync(&self) -> ::windows_core::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IPropertySet>> {
let this = self;
Expand All @@ -262,7 +262,7 @@ impl AppExtension {
(::windows_core::Interface::vtable(this).GetExtensionPropertiesAsync)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation`, `Storage`"]
#[doc = "Required features: `\"Foundation\"`, `\"Storage\"`"]
#[cfg(all(feature = "Foundation", feature = "Storage"))]
pub fn GetPublicFolderAsync(&self) -> ::windows_core::Result<super::super::Foundation::IAsyncOperation<super::super::Storage::StorageFolder>> {
let this = self;
Expand Down Expand Up @@ -298,7 +298,7 @@ unsafe impl ::core::marker::Sync for AppExtension {}
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)]
pub struct AppExtensionCatalog(::windows_core::IUnknown);
impl AppExtensionCatalog {
#[doc = "Required features: `Foundation_Collections`"]
#[doc = "Required features: `\"Foundation_Collections\"`"]
#[cfg(feature = "Foundation_Collections")]
pub fn FindAllAsync(&self) -> ::windows_core::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<AppExtension>>> {
let this = self;
Expand All @@ -307,7 +307,7 @@ impl AppExtensionCatalog {
(::windows_core::Interface::vtable(this).FindAllAsync)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn RequestRemovePackageAsync(&self, packagefullname: &::windows_core::HSTRING) -> ::windows_core::Result<super::super::Foundation::IAsyncOperation<bool>> {
let this = self;
Expand All @@ -316,7 +316,7 @@ impl AppExtensionCatalog {
(::windows_core::Interface::vtable(this).RequestRemovePackageAsync)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(packagefullname), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn PackageInstalled<P0>(&self, handler: P0) -> ::windows_core::Result<super::super::Foundation::EventRegistrationToken>
where
Expand All @@ -328,13 +328,13 @@ impl AppExtensionCatalog {
(::windows_core::Interface::vtable(this).PackageInstalled)(::windows_core::Interface::as_raw(this), handler.into_param().abi(), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn RemovePackageInstalled(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows_core::Result<()> {
let this = self;
unsafe { (::windows_core::Interface::vtable(this).RemovePackageInstalled)(::windows_core::Interface::as_raw(this), token).ok() }
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn PackageUpdating<P0>(&self, handler: P0) -> ::windows_core::Result<super::super::Foundation::EventRegistrationToken>
where
Expand All @@ -346,13 +346,13 @@ impl AppExtensionCatalog {
(::windows_core::Interface::vtable(this).PackageUpdating)(::windows_core::Interface::as_raw(this), handler.into_param().abi(), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn RemovePackageUpdating(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows_core::Result<()> {
let this = self;
unsafe { (::windows_core::Interface::vtable(this).RemovePackageUpdating)(::windows_core::Interface::as_raw(this), token).ok() }
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn PackageUpdated<P0>(&self, handler: P0) -> ::windows_core::Result<super::super::Foundation::EventRegistrationToken>
where
Expand All @@ -364,13 +364,13 @@ impl AppExtensionCatalog {
(::windows_core::Interface::vtable(this).PackageUpdated)(::windows_core::Interface::as_raw(this), handler.into_param().abi(), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn RemovePackageUpdated(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows_core::Result<()> {
let this = self;
unsafe { (::windows_core::Interface::vtable(this).RemovePackageUpdated)(::windows_core::Interface::as_raw(this), token).ok() }
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn PackageUninstalling<P0>(&self, handler: P0) -> ::windows_core::Result<super::super::Foundation::EventRegistrationToken>
where
Expand All @@ -382,13 +382,13 @@ impl AppExtensionCatalog {
(::windows_core::Interface::vtable(this).PackageUninstalling)(::windows_core::Interface::as_raw(this), handler.into_param().abi(), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn RemovePackageUninstalling(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows_core::Result<()> {
let this = self;
unsafe { (::windows_core::Interface::vtable(this).RemovePackageUninstalling)(::windows_core::Interface::as_raw(this), token).ok() }
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn PackageStatusChanged<P0>(&self, handler: P0) -> ::windows_core::Result<super::super::Foundation::EventRegistrationToken>
where
Expand All @@ -400,7 +400,7 @@ impl AppExtensionCatalog {
(::windows_core::Interface::vtable(this).PackageStatusChanged)(::windows_core::Interface::as_raw(this), handler.into_param().abi(), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn RemovePackageStatusChanged(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows_core::Result<()> {
let this = self;
Expand Down Expand Up @@ -449,7 +449,7 @@ impl AppExtensionPackageInstalledEventArgs {
(::windows_core::Interface::vtable(this).Package)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation_Collections`"]
#[doc = "Required features: `\"Foundation_Collections\"`"]
#[cfg(feature = "Foundation_Collections")]
pub fn Extensions(&self) -> ::windows_core::Result<super::super::Foundation::Collections::IVectorView<AppExtension>> {
let this = self;
Expand Down Expand Up @@ -560,7 +560,7 @@ impl AppExtensionPackageUpdatedEventArgs {
(::windows_core::Interface::vtable(this).Package)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation_Collections`"]
#[doc = "Required features: `\"Foundation_Collections\"`"]
#[cfg(feature = "Foundation_Collections")]
pub fn Extensions(&self) -> ::windows_core::Result<super::super::Foundation::Collections::IVectorView<AppExtension>> {
let this = self;
Expand Down
34 changes: 17 additions & 17 deletions crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ pub struct IStatelessAppServiceResponse_Vtbl {
}
pub struct AppServiceCatalog;
impl AppServiceCatalog {
#[doc = "Required features: `Foundation_Collections`"]
#[doc = "Required features: `\"Foundation_Collections\"`"]
#[cfg(feature = "Foundation_Collections")]
pub fn FindAppServiceProvidersAsync(appservicename: &::windows_core::HSTRING) -> ::windows_core::Result<super::super::Foundation::IAsyncOperation<super::super::Foundation::Collections::IVectorView<super::AppInfo>>> {
Self::IAppServiceCatalogStatics(|this| unsafe {
Expand Down Expand Up @@ -366,7 +366,7 @@ impl AppServiceConnection {
let this = self;
unsafe { (::windows_core::Interface::vtable(this).SetPackageFamilyName)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() }
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn OpenAsync(&self) -> ::windows_core::Result<super::super::Foundation::IAsyncOperation<AppServiceConnectionStatus>> {
let this = self;
Expand All @@ -375,7 +375,7 @@ impl AppServiceConnection {
(::windows_core::Interface::vtable(this).OpenAsync)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation_Collections`"]
#[doc = "Required features: `\"Foundation_Collections\"`"]
#[cfg(feature = "Foundation_Collections")]
pub fn SendMessageAsync<P0>(&self, message: P0) -> ::windows_core::Result<super::super::Foundation::IAsyncOperation<AppServiceResponse>>
where
Expand All @@ -387,7 +387,7 @@ impl AppServiceConnection {
(::windows_core::Interface::vtable(this).SendMessageAsync)(::windows_core::Interface::as_raw(this), message.into_param().abi(), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn RequestReceived<P0>(&self, handler: P0) -> ::windows_core::Result<super::super::Foundation::EventRegistrationToken>
where
Expand All @@ -399,13 +399,13 @@ impl AppServiceConnection {
(::windows_core::Interface::vtable(this).RequestReceived)(::windows_core::Interface::as_raw(this), handler.into_param().abi(), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn RemoveRequestReceived(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows_core::Result<()> {
let this = self;
unsafe { (::windows_core::Interface::vtable(this).RemoveRequestReceived)(::windows_core::Interface::as_raw(this), token).ok() }
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn ServiceClosed<P0>(&self, handler: P0) -> ::windows_core::Result<super::super::Foundation::EventRegistrationToken>
where
Expand All @@ -417,13 +417,13 @@ impl AppServiceConnection {
(::windows_core::Interface::vtable(this).ServiceClosed)(::windows_core::Interface::as_raw(this), handler.into_param().abi(), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn RemoveServiceClosed(&self, token: super::super::Foundation::EventRegistrationToken) -> ::windows_core::Result<()> {
let this = self;
unsafe { (::windows_core::Interface::vtable(this).RemoveServiceClosed)(::windows_core::Interface::as_raw(this), token).ok() }
}
#[doc = "Required features: `Foundation`, `System_RemoteSystems`"]
#[doc = "Required features: `\"Foundation\"`, `\"System_RemoteSystems\"`"]
#[cfg(all(feature = "Foundation", feature = "System_RemoteSystems"))]
pub fn OpenRemoteAsync<P0>(&self, remotesystemconnectionrequest: P0) -> ::windows_core::Result<super::super::Foundation::IAsyncOperation<AppServiceConnectionStatus>>
where
Expand All @@ -435,7 +435,7 @@ impl AppServiceConnection {
(::windows_core::Interface::vtable(this).OpenRemoteAsync)(::windows_core::Interface::as_raw(this), remotesystemconnectionrequest.into_param().abi(), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `System`"]
#[doc = "Required features: `\"System\"`"]
#[cfg(feature = "System")]
pub fn User(&self) -> ::windows_core::Result<super::super::System::User> {
let this = &::windows_core::ComInterface::cast::<IAppServiceConnection2>(self)?;
Expand All @@ -444,7 +444,7 @@ impl AppServiceConnection {
(::windows_core::Interface::vtable(this).User)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `System`"]
#[doc = "Required features: `\"System\"`"]
#[cfg(feature = "System")]
pub fn SetUser<P0>(&self, value: P0) -> ::windows_core::Result<()>
where
Expand All @@ -453,7 +453,7 @@ impl AppServiceConnection {
let this = &::windows_core::ComInterface::cast::<IAppServiceConnection2>(self)?;
unsafe { (::windows_core::Interface::vtable(this).SetUser)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() }
}
#[doc = "Required features: `Foundation_Collections`, `System_RemoteSystems`"]
#[doc = "Required features: `\"Foundation_Collections\"`, `\"System_RemoteSystems\"`"]
#[cfg(all(feature = "Foundation_Collections", feature = "System_RemoteSystems"))]
pub fn SendStatelessMessageAsync<P0, P1, P2>(connection: P0, connectionrequest: P1, message: P2) -> ::windows_core::Result<super::super::Foundation::IAsyncOperation<StatelessAppServiceResponse>>
where
Expand All @@ -466,7 +466,7 @@ impl AppServiceConnection {
(::windows_core::Interface::vtable(this).SendStatelessMessageAsync)(::windows_core::Interface::as_raw(this), connection.into_param().abi(), connectionrequest.into_param().abi(), message.into_param().abi(), &mut result__).from_abi(result__)
})
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn Close(&self) -> ::windows_core::Result<()> {
let this = &::windows_core::ComInterface::cast::<super::super::Foundation::IClosable>(self)?;
Expand Down Expand Up @@ -523,7 +523,7 @@ unsafe impl ::core::marker::Sync for AppServiceDeferral {}
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)]
pub struct AppServiceRequest(::windows_core::IUnknown);
impl AppServiceRequest {
#[doc = "Required features: `Foundation_Collections`"]
#[doc = "Required features: `\"Foundation_Collections\"`"]
#[cfg(feature = "Foundation_Collections")]
pub fn Message(&self) -> ::windows_core::Result<super::super::Foundation::Collections::ValueSet> {
let this = self;
Expand All @@ -532,7 +532,7 @@ impl AppServiceRequest {
(::windows_core::Interface::vtable(this).Message)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation_Collections`"]
#[doc = "Required features: `\"Foundation_Collections\"`"]
#[cfg(feature = "Foundation_Collections")]
pub fn SendResponseAsync<P0>(&self, message: P0) -> ::windows_core::Result<super::super::Foundation::IAsyncOperation<AppServiceResponseStatus>>
where
Expand Down Expand Up @@ -598,7 +598,7 @@ unsafe impl ::core::marker::Sync for AppServiceRequestReceivedEventArgs {}
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)]
pub struct AppServiceResponse(::windows_core::IUnknown);
impl AppServiceResponse {
#[doc = "Required features: `Foundation_Collections`"]
#[doc = "Required features: `\"Foundation_Collections\"`"]
#[cfg(feature = "Foundation_Collections")]
pub fn Message(&self) -> ::windows_core::Result<super::super::Foundation::Collections::ValueSet> {
let this = self;
Expand Down Expand Up @@ -662,7 +662,7 @@ impl AppServiceTriggerDetails {
(::windows_core::Interface::vtable(this).IsRemoteSystemConnection)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn CheckCallerForCapabilityAsync(&self, capabilityname: &::windows_core::HSTRING) -> ::windows_core::Result<super::super::Foundation::IAsyncOperation<bool>> {
let this = &::windows_core::ComInterface::cast::<IAppServiceTriggerDetails3>(self)?;
Expand Down Expand Up @@ -698,7 +698,7 @@ unsafe impl ::core::marker::Sync for AppServiceTriggerDetails {}
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)]
pub struct StatelessAppServiceResponse(::windows_core::IUnknown);
impl StatelessAppServiceResponse {
#[doc = "Required features: `Foundation_Collections`"]
#[doc = "Required features: `\"Foundation_Collections\"`"]
#[cfg(feature = "Foundation_Collections")]
pub fn Message(&self) -> ::windows_core::Result<super::super::Foundation::Collections::ValueSet> {
let this = self;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ impl RemoveAppointmentOperation {
(::windows_core::Interface::vtable(this).AppointmentId)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn InstanceStartDate(&self) -> ::windows_core::Result<super::super::super::Foundation::IReference<super::super::super::Foundation::DateTime>> {
let this = self;
Expand Down Expand Up @@ -278,7 +278,7 @@ impl ReplaceAppointmentOperation {
(::windows_core::Interface::vtable(this).AppointmentInformation)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__)
}
}
#[doc = "Required features: `Foundation`"]
#[doc = "Required features: `\"Foundation\"`"]
#[cfg(feature = "Foundation")]
pub fn InstanceStartDate(&self) -> ::windows_core::Result<super::super::super::Foundation::IReference<super::super::super::Foundation::DateTime>> {
let this = self;
Expand Down
Loading

0 comments on commit 5be18e3

Please sign in to comment.