Skip to content

Commit

Permalink
run tool_windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlie Davis committed May 17, 2024
1 parent b01f5f4 commit 0a9110d
Show file tree
Hide file tree
Showing 278 changed files with 7,615 additions and 7,615 deletions.
8 changes: 4 additions & 4 deletions crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ pub struct ILearningModelEvaluationResult_Vtbl {
Outputs: usize,
}
windows_core::imp::define_interface!(ILearningModelFeatureDescriptor, ILearningModelFeatureDescriptor_Vtbl, 0xbc08cf7c_6ed0_4004_97ba_b9a2eecd2b4f);
impl std::ops::Deref for ILearningModelFeatureDescriptor {
impl core::ops::Deref for ILearningModelFeatureDescriptor {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -199,7 +199,7 @@ pub struct ILearningModelFeatureDescriptor_Vtbl {
pub IsRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(ILearningModelFeatureValue, ILearningModelFeatureValue_Vtbl, 0xf51005db_4085_4dfe_9fed_95eb0c0cf75c);
impl std::ops::Deref for ILearningModelFeatureValue {
impl core::ops::Deref for ILearningModelFeatureValue {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand All @@ -224,7 +224,7 @@ pub struct ILearningModelFeatureValue_Vtbl {
pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LearningModelFeatureKind) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(ILearningModelOperatorProvider, ILearningModelOperatorProvider_Vtbl, 0x2a222e5d_afb1_47ed_bfad_b5b3a459ec04);
impl std::ops::Deref for ILearningModelOperatorProvider {
impl core::ops::Deref for ILearningModelOperatorProvider {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -365,7 +365,7 @@ pub struct ISequenceFeatureDescriptor_Vtbl {
pub ElementDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(ITensor, ITensor_Vtbl, 0x05489593_a305_4a25_ad09_440119b4b7f6);
impl std::ops::Deref for ITensor {
impl core::ops::Deref for ITensor {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down
122 changes: 61 additions & 61 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 @@ -343,7 +343,7 @@ pub struct IAppointmentManagerStatics3_Vtbl {
GetForUser: usize,
}
windows_core::imp::define_interface!(IAppointmentParticipant, IAppointmentParticipant_Vtbl, 0x615e2902_9718_467b_83fb_b293a19121de);
impl std::ops::Deref for IAppointmentParticipant {
impl core::ops::Deref for IAppointmentParticipant {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ pub struct IAppointmentStoreNotificationTrigger_Vtbl {
pub base__: windows_core::IInspectable_Vtbl,
}
windows_core::imp::define_interface!(IBackgroundCondition, IBackgroundCondition_Vtbl, 0xae48a1ee_8951_400a_8302_9c9c9a2a3a3b);
impl std::ops::Deref for IBackgroundCondition {
impl core::ops::Deref for IBackgroundCondition {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -158,7 +158,7 @@ pub struct IBackgroundExecutionManagerStatics3_Vtbl {
pub GetAccessStatusForModernStandbyForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit<windows_core::HSTRING>, *mut BackgroundAccessStatus) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IBackgroundTask, IBackgroundTask_Vtbl, 0x7d13d534_fd12_43ce_8c22_ea1ff13c06df);
impl std::ops::Deref for IBackgroundTask {
impl core::ops::Deref for IBackgroundTask {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -256,7 +256,7 @@ pub struct IBackgroundTaskDeferral_Vtbl {
pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IBackgroundTaskInstance, IBackgroundTaskInstance_Vtbl, 0x865bda7a_21d8_4573_8f32_928a1b0641f6);
impl std::ops::Deref for IBackgroundTaskInstance {
impl core::ops::Deref for IBackgroundTaskInstance {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -342,7 +342,7 @@ pub struct IBackgroundTaskInstance_Vtbl {
pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IBackgroundTaskInstance2, IBackgroundTaskInstance2_Vtbl, 0x4f7d0176_0c76_4fb4_896d_5de1864122f6);
impl std::ops::Deref for IBackgroundTaskInstance2 {
impl core::ops::Deref for IBackgroundTaskInstance2 {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -428,7 +428,7 @@ pub struct IBackgroundTaskInstance2_Vtbl {
pub GetThrottleCount: unsafe extern "system" fn(*mut core::ffi::c_void, BackgroundTaskThrottleCounter, *mut u32) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IBackgroundTaskInstance4, IBackgroundTaskInstance4_Vtbl, 0x7f29f23c_aa04_4b08_97b0_06d874cdabf5);
impl std::ops::Deref for IBackgroundTaskInstance4 {
impl core::ops::Deref for IBackgroundTaskInstance4 {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -528,7 +528,7 @@ pub struct IBackgroundTaskProgressEventArgs_Vtbl {
pub Progress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IBackgroundTaskRegistration, IBackgroundTaskRegistration_Vtbl, 0x10654cc2_a26e_43bf_8c12_1fb40dbfbfa0);
impl std::ops::Deref for IBackgroundTaskRegistration {
impl core::ops::Deref for IBackgroundTaskRegistration {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -598,7 +598,7 @@ pub struct IBackgroundTaskRegistration_Vtbl {
pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IBackgroundTaskRegistration2, IBackgroundTaskRegistration2_Vtbl, 0x6138c703_bb86_4112_afc3_7f939b166e3b);
impl std::ops::Deref for IBackgroundTaskRegistration2 {
impl core::ops::Deref for IBackgroundTaskRegistration2 {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -670,7 +670,7 @@ pub struct IBackgroundTaskRegistration2_Vtbl {
pub Trigger: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IBackgroundTaskRegistration3, IBackgroundTaskRegistration3_Vtbl, 0xfe338195_9423_4d8b_830d_b1dd2c7badd5);
impl std::ops::Deref for IBackgroundTaskRegistration3 {
impl core::ops::Deref for IBackgroundTaskRegistration3 {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -796,7 +796,7 @@ pub struct IBackgroundTaskRegistrationStatics2_Vtbl {
pub GetTaskGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit<windows_core::HSTRING>, *mut *mut core::ffi::c_void) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IBackgroundTrigger, IBackgroundTrigger_Vtbl, 0x84b3a058_6027_4b87_9790_bdf3f757dbd7);
impl std::ops::Deref for IBackgroundTrigger {
impl core::ops::Deref for IBackgroundTrigger {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pub struct IChatConversationThreadingInfo_Vtbl {
pub SetKind: unsafe extern "system" fn(*mut core::ffi::c_void, ChatConversationThreadingKind) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IChatItem, IChatItem_Vtbl, 0x8751d000_ceb1_4243_b803_15d45a1dd428);
impl std::ops::Deref for IChatItem {
impl core::ops::Deref for IChatItem {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ pub struct IContactEmail_Vtbl {
pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit<windows_core::HSTRING>) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IContactField, IContactField_Vtbl, 0xb176486a_d293_492c_a058_db575b3e3c0f);
impl std::ops::Deref for IContactField {
impl core::ops::Deref for IContactField {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -461,7 +461,7 @@ pub struct IContactField_Vtbl {
pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit<windows_core::HSTRING>) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IContactFieldFactory, IContactFieldFactory_Vtbl, 0x85e2913f_0e4a_4a3e_8994_406ae7ed646e);
impl std::ops::Deref for IContactFieldFactory {
impl core::ops::Deref for IContactFieldFactory {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -559,7 +559,7 @@ pub struct IContactInstantMessageField_Vtbl {
pub LaunchUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IContactInstantMessageFieldFactory, IContactInstantMessageFieldFactory_Vtbl, 0xba0b6794_91a3_4bb2_b1b9_69a5dff0ba09);
impl std::ops::Deref for IContactInstantMessageFieldFactory {
impl core::ops::Deref for IContactInstantMessageFieldFactory {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -807,7 +807,7 @@ pub struct IContactLocationField_Vtbl {
pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit<windows_core::HSTRING>) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IContactLocationFieldFactory, IContactLocationFieldFactory_Vtbl, 0xf79932d7_2fdf_43fe_8f18_41897390bcfe);
impl std::ops::Deref for IContactLocationFieldFactory {
impl core::ops::Deref for IContactLocationFieldFactory {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down
6 changes: 3 additions & 3 deletions crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ pub struct ICoreApplicationExit_Vtbl {
pub RemoveExiting: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(ICoreApplicationUnhandledError, ICoreApplicationUnhandledError_Vtbl, 0xf0e24ab0_dd09_42e1_b0bc_e0e131f78d7e);
impl std::ops::Deref for ICoreApplicationUnhandledError {
impl core::ops::Deref for ICoreApplicationUnhandledError {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -261,7 +261,7 @@ pub struct ICoreImmersiveApplication3_Vtbl {
pub CreateNewViewWithViewSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IFrameworkView, IFrameworkView_Vtbl, 0xfaab5cd0_8924_45ac_ad0f_a08fae5d0324);
impl std::ops::Deref for IFrameworkView {
impl core::ops::Deref for IFrameworkView {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -313,7 +313,7 @@ pub struct IFrameworkView_Vtbl {
pub Uninitialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IFrameworkViewSource, IFrameworkViewSource_Vtbl, 0xcd770614_65c4_426c_9494_34fc43554862);
impl std::ops::Deref for IFrameworkViewSource {
impl core::ops::Deref for IFrameworkViewSource {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pub struct ICoreDragUIOverride_Vtbl {
pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(ICoreDropOperationTarget, ICoreDropOperationTarget_Vtbl, 0xd9126196_4c5b_417d_bb37_76381def8db4);
impl std::ops::Deref for ICoreDropOperationTarget {
impl core::ops::Deref for ICoreDropOperationTarget {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ pub struct ISearchPane_Vtbl {
#[cfg(feature = "deprecated")]
windows_core::imp::define_interface!(ISearchPaneQueryChangedEventArgs, ISearchPaneQueryChangedEventArgs_Vtbl, 0x3c064fe9_2351_4248_a529_7110f464a785);
#[cfg(feature = "deprecated")]
impl std::ops::Deref for ISearchPaneQueryChangedEventArgs {
impl core::ops::Deref for ISearchPaneQueryChangedEventArgs {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ pub struct IUserActivityChannelStatics3_Vtbl {
GetForUser: usize,
}
windows_core::imp::define_interface!(IUserActivityContentInfo, IUserActivityContentInfo_Vtbl, 0xb399e5ad_137f_409d_822d_e1af27ce08dc);
impl std::ops::Deref for IUserActivityContentInfo {
impl core::ops::Deref for IUserActivityContentInfo {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub struct IUserDataAccountProviderAddAccountOperation_Vtbl {
pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit<windows_core::HSTRING>) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IUserDataAccountProviderOperation, IUserDataAccountProviderOperation_Vtbl, 0xa20aad63_888c_4a62_a3dd_34d07a802b2b);
impl std::ops::Deref for IUserDataAccountProviderOperation {
impl core::ops::Deref for IUserDataAccountProviderOperation {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down
12 changes: 6 additions & 6 deletions crates/libs/windows/src/Windows/ApplicationModel/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ pub struct IDesignModeStatics2_Vtbl {
pub DesignMode2Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IEnteredBackgroundEventArgs, IEnteredBackgroundEventArgs_Vtbl, 0xf722dcc2_9827_403d_aaed_ecca9ac17398);
impl std::ops::Deref for IEnteredBackgroundEventArgs {
impl core::ops::Deref for IEnteredBackgroundEventArgs {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -301,7 +301,7 @@ pub struct IFullTrustProcessLauncherStatics2_Vtbl {
pub LaunchFullTrustProcessForAppWithArgumentsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit<windows_core::HSTRING>, core::mem::MaybeUninit<windows_core::HSTRING>, *mut *mut core::ffi::c_void) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(ILeavingBackgroundEventArgs, ILeavingBackgroundEventArgs_Vtbl, 0x39c6ec9a_ae6e_46f9_a07a_cfc23f88733e);
impl std::ops::Deref for ILeavingBackgroundEventArgs {
impl core::ops::Deref for ILeavingBackgroundEventArgs {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -611,7 +611,7 @@ pub struct IPackageCatalogStatics_Vtbl {
pub OpenForCurrentUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IPackageCatalogStatics2, IPackageCatalogStatics2_Vtbl, 0x4c11c159_9a28_598c_b185_55e1899b2be4);
impl std::ops::Deref for IPackageCatalogStatics2 {
impl core::ops::Deref for IPackageCatalogStatics2 {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down Expand Up @@ -853,7 +853,7 @@ pub struct IStartupTaskStatics_Vtbl {
pub GetAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit<windows_core::HSTRING>, *mut *mut core::ffi::c_void) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(ISuspendingDeferral, ISuspendingDeferral_Vtbl, 0x59140509_8bc9_4eb4_b636_dabdc4f46f66);
impl std::ops::Deref for ISuspendingDeferral {
impl core::ops::Deref for ISuspendingDeferral {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand All @@ -875,7 +875,7 @@ pub struct ISuspendingDeferral_Vtbl {
pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(ISuspendingEventArgs, ISuspendingEventArgs_Vtbl, 0x96061c05_2dba_4d08_b0bd_2b30a131c6aa);
impl std::ops::Deref for ISuspendingEventArgs {
impl core::ops::Deref for ISuspendingEventArgs {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand All @@ -900,7 +900,7 @@ pub struct ISuspendingEventArgs_Vtbl {
pub SuspendingOperation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(ISuspendingOperation, ISuspendingOperation_Vtbl, 0x9da4ca41_20e1_4e9b_9f65_a9f435340c3a);
impl std::ops::Deref for ISuspendingOperation {
impl core::ops::Deref for ISuspendingOperation {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/windows/src/Windows/Data/Json/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub struct IJsonObjectWithDefaultValues_Vtbl {
pub GetNamedBooleanOrDefault: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit<windows_core::HSTRING>, bool, *mut bool) -> windows_core::HRESULT,
}
windows_core::imp::define_interface!(IJsonValue, IJsonValue_Vtbl, 0xa3219ecb_f0b3_4dcd_beee_19d48cd3ed1e);
impl std::ops::Deref for IJsonValue {
impl core::ops::Deref for IJsonValue {
type Target = windows_core::IInspectable;
fn deref(&self) -> &Self::Target {
unsafe { core::mem::transmute(self) }
Expand Down
Loading

0 comments on commit 0a9110d

Please sign in to comment.